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

Compile error on using QList<QUrl>*

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.0.2
    • Build tools: moc
    • None
    • OSX 10.7.5

    Description

      I have a project that has slots with QList<QUrl>* as arguments. That compiles just fine on Mac OSX with Qt4.x.
      Compiling with Qt5.x results in a compiler error, caused by an Q_STATIC_ASSERT inside one of the qmake generated moc file.
      It happens with all precompiled Qt versions from the project homepage and with a self compiled version fresh from Git.
      fixqt4headers.pl was used but did not want to change anything.

      I've attached the error messages and a test project to reproduce the bug.

      Attachments

        1. Compiler errors.txt
          3 kB
        2. TestApp.tgz
          3 kB
        For Gerrit Dashboard: QTBUG-31002
        # Subject Branch Project Status CR V

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            hardcodes.de Sven Putze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes