Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29690

Linking errors in qttools when cross-compiling for BB10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.2
    • 5.0.1
    • Tools: Assistant
    • 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).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            tokoe.kdab Tobias Koenig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes