Hello,
what is the correct way to package and deploy a library to N9 with Qt Creator? I have a project that produces a library and one that uses it, but when I compile the latter I get the following error:
dpkg-shlibdeps: failure: no dependency information found for /QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libtestlib.so.1 (used by debian/testlibclient/opt/testlibclient/bin/testlibclient).
dh_shlibdeps: command returned error code 512
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Packaging Error: Command '/QtSDK/Madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2
Error while building project testlibclient (target: Harmattan)
When executing build step 'Create Debian Package'
To reproduce the problem, create a new "C++ library" project in Qt creator (e.g. "testlib") and build it for harmattan target, then create a Qt Quick application project and add LIBS += -ltestlib to the project file. Building the second project will give the error above.
Note that I do have a "deploy to sysroot" step in my library project, and the library is correctly copied to the sysroot.
Many thanks in advance!

Reply With Quote
For future reference - one can enable verbose output by uncommenting the line "export DH_VERBOSE=1" in rules file.


