Closed zultron closed 6 years ago
One option is to disable qmlplugindump: qmake QMLPLUGINDUMP=0
This skips generation of the plugin.qmltypes
files.
The files are used for development, but not necessary for runtime execution.
Thanks, @machinekoder. Maybe it was past my bedtime when I opened this. Setting LD_LIBRARY_PATH
caused the errors because its old value was clobbered. Instead, appending to the value works just fine.
I'm trying to get Travis CI package builds working in this branch. The builds succeed, but only after a dirty hack.
Without the dirty hack, a
make install DESTDIR=$PWD/debian/qml-module-qtquick-vcp
(asdpkg-buildpackage
does) errors out:Rerunning with
qmlplugindump -v
reveals the real error:The problem is
libmachinetalk-pb2.so.1
is installed under$DESTDIR
, andqmlplugindump
can't find it. The dirty hack (as seen in that branch) is to set$LD_LIBRARY_PATH
. That actually builds working packages, but thedh_auto_install
portion of the build log (wheremake install
runs) is filled with (non-fatal) error messages:I did what I could to make
$DESTDIR
work in #214, but at this point I'm lost with the Qt build system. Having package builds isn't critical for me, so no big emergency. Thanks!