Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16798

Failed build QBS-project with using qt 4.8.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.2.0
    • Qt Creator 4.1.0
    • None
    • Kubuntu 14.04
      GCC 4.8.4
    • f4b920daae0da57b0ef6df72738fdabbb8a88002

    Description

      After transition with QtC 4.0.3 to QtC 4.1 my project has ceased to build.
      In project I use Qt 4.8.6. If to use Qt 5.6.1 then my project build is correct, but me need Qt 4.8.6
      In a attachment have a example showing this problem.
      At assembly with Qt 4.8.6 I receive the following message:
      moc qthreadex.h
      /usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_CORE_LIB -DQT_NETWORK_LIB -I/home/hkarel/CProjects/LibTest -I/home/hkarel/CProjects/LibTest/shared -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/linux-g+-64 -I/home/hkarel/CProjects/LibTest/build/qtc_Qt_486_db795078-debug/LibTest.qtc-Qt-486-db795078.42260961/GeneratedFiles -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/home/hkarel/CProjects/LibTest -I/home/hkarel/CProjects/LibTest/shared -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/linux-g-64 -I/home/hkarel/CProjects/LibTest/build/qtc_Qt_486_db795078-debug/LibTest.qtc-Qt-486-db795078.42260961/GeneratedFiles -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/c/4.8 -I/usr/include/x86_64-linux-gnu/c/4.8 -I/usr/include/c+/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include -F/System/Library/Frameworks -o /home/hkarel/CProjects/LibTest/build/qtc_Qt_486_db795078-debug/LibTest.qtc-Qt-486-db795078.42260961/GeneratedFiles/moc_qthreadex.cpp /home/hkarel/CProjects/LibTest/shared/qt/thread/qthreadex.h
      usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
      Process failed with exit code 1.

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              hkarel Karelin Pavel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: