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

Compile errors with Qt4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.2.0
    • Qt Creator 3.2.0-rc1
    • Quick Designer
    • None
    • Ubuntu 12.04 LTS 64 bit

    Description

      You caused lots of compile errors with 0da08c227f2834311241c9f04027ee4adc674247. Decide yourself whether you'll fix your code or disable compilation with Qt4.

      g++ -c -pipe -std=c++0x -O2 -Wall -W -D_REENTRANT -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQWEAKPOINTER_ENABLE_ARROW -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/qtrob/dev/src/qt-4.8.6/mkspecs/linux-g++ -I/home/qtrob/dev/src/creator-3.2/src/tools/qmlpuppet/qmlpuppet -I/home/qtrob/dev/bin/qt-4.8.6/include/QtCore -I/home/qtrob/dev/bin/qt-4.8.6/include/QtNetwork -I/home/qtrob/dev/bin/qt-4.8.6/include/QtGui -I/home/qtrob/dev/bin/qt-4.8.6/include/QtWebKit -I/home/qtrob/dev/bin/qt-4.8.6/include/QtDeclarative -I/home/qtrob/dev/bin/qt-4.8.6/include -I../../../../src -I/home/qtrob/dev/src/creator-3.2/src/libs -I/home/qtrob/dev/src/creator-3.2/tools -I/home/qtrob/dev/src/creator-3.2/src/plugins -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/instances -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/qmlpuppet/instances -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/commands -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/interfaces -I/home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/types -I.moc/release-shared -I. -o .obj/release-shared/sharedmemory_unix.o /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemoryLocker::tryLocker(QString)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:82:80: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In function 'QByteArray QmlDesigner::makePlatformSafeKey(const QString&)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:98:88: error: 'Base64UrlEncoding' is not a member of 'QByteArray'
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:98:120: error: 'OmitTrailingEquals' is not a member of 'QByteArray'
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::create(int, QSharedMemory::AccessMode)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:174:72: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::attach(QSharedMemory::AccessMode)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:192:81: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::detach()':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:213:81: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::lock()':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:244:59: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::unlock()':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:257:61: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'void QmlDesigner::SharedMemory::setErrorString(const QString&)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:278:63: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::initKeyInternal()':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:309:97: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::createInternal(QSharedMemory::AccessMode, int)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:370:91: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:399:89: error: 'QStringLiteral' was not declared in this scope
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In member function 'bool QmlDesigner::SharedMemory::attachInternal(QSharedMemory::AccessMode)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:441:87: error: 'QStringLiteral' was not declared in this scope
      make[4]: Leaving directory `/home/qtrob/dev/bin/creator-3.2-4.8.6/src/tools/qmlpuppet/qmlpuppet'
      make[3]: Leaving directory `/home/qtrob/dev/bin/creator-3.2-4.8.6/src/tools/qmlpuppet'
      make[2]: Leaving directory `/home/qtrob/dev/bin/creator-3.2-4.8.6/src/tools'
      make[1]: Leaving directory `/home/qtrob/dev/bin/creator-3.2-4.8.6/src'
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp: In function 'QByteArray QmlDesigner::makePlatformSafeKey(const QString&)':
      /home/qtrob/dev/src/creator-3.2/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:99:1: warning: control reaches end of non-void function [-Wreturn-type]
      make[4]: *** [.obj/release-shared/sharedmemory_unix.o] Error 1
      make[3]: *** [sub-qmlpuppet-make_default] Error 2
      make[2]: *** [sub-qmlpuppet-make_default] Error 2
      make[1]: *** [sub-tools-make_default-ordered] Error 2
      make: *** [sub-src-make_default-ordered] Error 2
      21:33:04: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project qtcreator (kit: Qt 4.8.6)
      When executing step "Make"
      21:33:04: Elapsed time: 00:02.
      

      Attachments

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

        Activity

          People

            tjenssen Tim Jenssen
            rlohning Robert Löhning
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes