Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.1
-
None
-
4c34b418b89681d1228ab24749f4462bf0054d56,04478614c1f21de8ff9abb7fe9dc64c672065695
Description
When you try to cross-compile the qttools module of Qt 5.0.1 (and also current 'stable' branch) against the BBNDK, you get linking errors for every application that links against QtHelp.
/opt/bbndk-1673/host_10_0_9_404/linux/x86/usr/bin/ntoarm-ld: warning: libQt5CLucene.so.5, needed by /mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so, not found (try using -rpath or -rpath-link)
/mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so: undefined reference to `QCLuceneIndexWriter::setMergeFactor(int)'
/mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so: undefined reference to `QCLuceneIndexReader::isLocked(QString const&)'
/mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so: undefined reference to `QCLuceneIndexSearcher::close()'
/mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so: undefined reference to `QCLuceneDocument::get(QString const&) const'
/mnt/archive/src/qt5/build.colt/qttools/lib/libQt5Help.so: undefined reference to `QCLuceneIn
The problem is that the linker on BB10 does not keep a dependency chain, therefor you'd have to specify explicitly all libraries (the directly and indirectly used).