Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-874

Build fail against Qt 5.7.0 and gcc 6.1.1 Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 2.0.3
    • General
    • None
    • Fedora 24 64 bits
      gcc 6.1.1

    Description

      On Fedora 24 gcc 6.1.1 moc don't generate proper code.

      g++ -c -pipe -O2 -std=gnu+11 -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DUNICODE -D_UNICODE -D_NO_CRYPTO -DBUILD_SHARED_KDTOOLS -DQT_NO_CAST_FROM_ASCII -DQT_USE_QSTRINGBUILDER -D_GIT_SHA1_="7093049f8cd821668207fd8254437abf10665273" -DIFW_VERSION_STR=2.0.3 -DIFW_VERSION=0x020003 -DIFW_REPOSITORY_FORMAT_VERSION=1.0.0 -DBUILD_LIB_INSTALLER -DQT_NO_DEBUG -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -I.. -I../7zip/unix/C -I../7zip/unix/CPP -I../7zip/unix/CPP/myWindows -I../7zip/unix/CPP/include_windows -I../kdtools -I../7zip -I../kdtools -I. -I../7zip/unix/CPP -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtUiTools -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore/5.7.0 -isystem /usr/include/qt5/QtCore/5.7.0/QtCore -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g+ -o packagemanagergui.o packagemanagergui.cpp
      moc_scriptengine_p.cpp:464:18: error: ‘QInstaller::QCoreApplicationProxy’ has not been declared
      void QInstaller::QCoreApplicationProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      ^~~~~~~~~~~~~~~~~~~~~
      moc_scriptengine_p.cpp: In function ‘void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
      moc_scriptengine_p.cpp:467:9: error: ‘QCoreApplicationProxy’ was not declared in this scope
      QCoreApplicationProxy *_t = static_cast<QCoreApplicationProxy *>(_o);
      ^~~~~~~~~~~~~~~~~~~~~
      moc_scriptengine_p.cpp:467:32: error: ‘_t’ was not declared in this scope
      QCoreApplicationProxy *_t = static_cast<QCoreApplicationProxy *>(_o);

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            heliocastro Helio Chissini de Castro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes