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

Link error "undefined reference to `QListData::detach(int)'"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.7.0
    • None
    • None
    • Symbian,

    Description

      When building this code with the binary Qt 4.7.0-Symbian package...

      #include <QtCore>
      int main(int argc, char *argv[])
      {
          QCoreApplication a(argc, argv);
          foreach (const QFileInfo &file, QDir().entryInfoList())
              qDebug() << file.fileName();
          return 0;
      }
      

      ...I get this link error.

      /NokiaQtSDK/Symbian/SDK-qt-4.7/EPOC32/BUILD/temp/untitled/UNTITLED_0XE777D02B/GCCE/UREL/main.o: In function `QList<QFileInfo>::detach_helper(int)':
      main.cpp.text._ZN5QListI9QFileInfoE13detach_helperEi[_ZN5QListI9QFileInfoE13detach_helperEi]+0x10): undefined reference to `QListData::detach(int)'

      I am (97.5%) sure that I was able to build the same code with the binary 4.7-Symbian-beta package. Did we add symbols which we did not export in the .def files?

      Attachments

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

        Activity

          People

            earthdomain Earth Domain (Inactive)
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes