Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 2.3.0 cannot be compiled in release mode.

Qt Creator 2.3.0 cannot be compiled in release mode.

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 2.9k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    dext
    wrote on last edited by
    #1

    I downloaded Qt creator 2.3.0 source code.
    I compiled it using "mingw32-make release".
    It cannot be compiled because of QtSupport.dll fail.

    I used my way compiling previous Qt creators ( 2.0 - 2.2.1) successfully.

    My compiler is TDM-GCC mingw 4.5.2 32-bit

    Thanks in advance.

    following is error message:

    g++ -c -include release\qtcreator_gui_pch.h -O2 -frtti -fexceptions -mthreads -W
    all -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_CREATOR -DQTSUPPORT_LIBRARY -DIDE_LIBR
    ARY_BASENAME="lib" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_
    FAST_CONCATENATION -DQT_CREATOR -DPROPARSER_AS_LIBRARY -DPROPARSER_LIBRARY -DPRO
    PARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DQT_NO_
    CAST_TO_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DECLARATIVE_LIB -DQT_XML_L
    IB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQ
    T_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"........\qt
    474\include\QtCore" -I"........\qt474\include\QtNetwork" -I"........\qt474
    \include\QtGui" -I"........\qt474\include\QtXml" -I"........\qt474\include
    \QtDeclarative" -I"........\qt474\include" -I"....\libs" -I"c:\qtc230\tools"
    -I"....\plugins" -I"....\libs\3rdparty\botan\build" -I"..\coreplugin" -I"...
    .\shared" -I"c:\qtc230\src\libs\qmljs....\shared\qmljs" -I"c:\qtc230\src\libs
    qmljs....\shared\qmljs\parser" -I"....\shared\proparser" -I"....\shared" -I"
    ........\qt474\include\ActiveQt" -I"release" -I"." -I"........\qt474\mkspe
    cs\default" -o release\profileparser.o ....\shared\proparser\profileparser.cpp
    ....\shared\proparser\profileparser.cpp: In member function 'void ProFileParser
    ::leaveScope(ushort*&)':
    ....\shared\proparser\profileparser.cpp:203:6: sorry, unimplemented: inlining f
    ailed in call to 'void ProFileParser::_ZN13ProFileParser11putBlockLenERPtj.clone
    .3(ushort*&, uint)': function not inlinable
    ....\shared\proparser\profileparser.cpp:813:31: sorry, unimplemented: called fr
    om here
    ....\shared\proparser\profileparser.cpp:198:6: sorry, unimplemented: inlining f
    ailed in call to 'void ProFileParser::_ZN13ProFileParser6putTokERPtt.clone.2(ush
    ort*&, ushort)': function not inlinable
    ....\shared\proparser\profileparser.cpp:816:38: sorry, unimplemented: called fr
    om here
    mingw32-make[4]: *** [release/profileparser.o] Error 1
    mingw32-make[4]: Leaving directory C:/qtc230/src/plugins/qtsupport' mingw32-make[3]: *** [release] Error 2 mingw32-make[3]: Leaving directory C:/qtc230/src/plugins/qtsupport'
    mingw32-make[2]: *** [sub-qtsupport-sub_Release] Error 2
    mingw32-make[2]: Leaving directory C:/qtc230/src/plugins' mingw32-make[1]: *** [sub-plugins-sub_Release_ordered] Error 2 mingw32-make[1]: Leaving directory C:/qtc230/src'
    mingw32-make: *** [sub-src-sub_Release_ordered] Error 2

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      See "QTCREATORBUG-5938":https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5938.

      I think this is a problem of GCC, not Qt Creator. Have you tried another GCC version?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dext
        wrote on last edited by
        #3

        I haven't tried another compiler, but I changed QTCREATOR\src\shared\proparser\profileparser.h to solve this.

        LINE 108 109 110

        Change ALWAYS_INLINE to inline

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Please "file a bug report":http://bugreports.qt.nokia.com/ about the issue or - better yet - "create a merge request":http://qt.gitorious.org/qt-creator on gitorious with your fix:-)

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dext
            wrote on last edited by
            #5

            I tried official mingw 4.5.2 32 bit. It still cannot be compiled. so I think there is something wrong with Qt Creator 2.3.0.

            later I will create a merge request!

            [quote author="Tobias Hunger" date="1315378625"]Please "file a bug report":http://bugreports.qt.nokia.com/ about the issue or - better yet - "create a merge request":http://qt.gitorious.org/qt-creator on gitorious with your fix:-)[/quote]

            1 Reply Last reply
            0

            • Login

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