Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator 2.4.1 build on RHEL 4 fails
Forum Update on Monday, May 27th 2025

Qt Creator 2.4.1 build on RHEL 4 fails

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rohalm
    wrote on 16 Mar 2012, 12:57 last edited by
    #1

    Hi

    I have succesfully built both Qt-4.8.0 and Qt-4.7.4 on my RHEL 4 system.
    Now I am trying to build Qt-Creator-2.4.1 as well, but it fails during compiling of the texteditor plugin:

    gmake[3]: Entering directory /share/apps/Qt-Creator-2.4.1/src/plugins/texteditor' g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DTEXTEDITOR_LIBRARY -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../Qt-4.7.4/mkspecs/linux-g++-64 -I/home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor -I../../../../Qt-4.7.4/include/QtCore -I../../../../Qt-4.7.4/include/QtNetwork -I../../../../Qt-4.7.4/include/QtGui -I../../../../Qt-4.7.4/include/QtXml -I../../../../Qt-4.7.4/include -I../../../src -I/home/roha/software/qt-creator-2.4.1-src/src/libs -I/home/roha/software/qt-creator-2.4.1-src/tools -I/home/roha/software/qt-creator-2.4.1-src/src/plugins -I/home/roha/software/qt-creator-2.4.1-src/src/libs/3rdparty/botan/build -I/home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/generichighlighter -I/home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/tooltip -I/home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/snippets -I/home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/codeassist -I.moc/release-shared -I.uic -I. -o .obj/release-shared/behaviorsettings.o /home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/behaviorsettings.cpp In file included from /home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/behaviorsettings.cpp:35: ../../../../Qt-4.7.4/include/QtCore/qglobal.h: In instantiation of QForeachContainer<const QStringList&>':
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: instantiated from here
    ../../../../Qt-4.7.4/include/QtCore/qglobal.h:2251: error: forming reference to reference type const QStringList&' ../../../../Qt-4.7.4/include/QtCore/qglobal.h:2254: error: const QStringList&' is not a class, struct, or union type
    ../../../../Qt-4.7.4/include/QtCore/qglobal.h:2254: error: const QStringList&' is not a class, struct, or union type /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h: In function void Utils::fromSettings(const QString&, const QString&, const QSettings*, SettingsClassT*)':
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: error: 'class QForeachContainer<const QStringList&>' has no member named 'i'
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: error: 'class QForeachContainer<const QStringList&>' has no member named 'e'
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: error: 'class QForeachContainer<const QStringList&>' has no member named 'i'
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: error: 'class QForeachContainer<const QStringList&>' has no member named 'i'
    /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h: In function void Utils::fromSettings(const QString&, const QString&, const QSettings*, SettingsClassT*) [with SettingsClassT = TextEditor::BehaviorSettings]': /home/roha/software/qt-creator-2.4.1-src/src/plugins/texteditor/behaviorsettings.cpp:62: instantiated from here /home/roha/software/qt-creator-2.4.1-src/src/libs/utils/settingsutils.h:51: error: no matching function for call to QForeachContainer<const QStringList&>::QForeachContainer(const QStringList&)'
    ../../../../Qt-4.7.4/include/QtCore/qglobal.h:2249: note: candidates are: QForeachContainer<const QStringList&>::QForeachContainer(const QForeachContainer<const QStringList&>&)
    gmake[3]: *** [.obj/release-shared/behaviorsettings.o] Error 1
    gmake[3]: Leaving directory /share/apps/Qt-Creator-2.4.1/src/plugins/texteditor' gmake[2]: *** [sub-texteditor-make_default] Error 2 gmake[2]: Leaving directory /share/apps/Qt-Creator-2.4.1/src/plugins'
    gmake[1]: *** [sub-plugins-make_default-ordered] Error 2
    gmake[1]: Leaving directory `/share/apps/Qt-Creator-2.4.1/src'
    gmake: *** [sub-src-make_default-ordered] Error 2

    Please help!!!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rohalm
      wrote on 22 Mar 2012, 12:35 last edited by
      #2

      Can anybody help me on this?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on 22 Mar 2012, 13:45 last edited by
        #3

        Sorry, I never tried to build creator on such an old system. My guess would be that libstdc++ or g++ are too old and do not yet support something we do.

        You will need to try and work around the issue by changing the code.

        1 Reply Last reply
        0

        1/3

        16 Mar 2012, 12:57

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved