Qt Creator 2.6.2 for windows and Qt 5.0.1 compiles only in release , even if it configured debug



  • no matter what i do the compilation is allays in release mode , even that in Projects window i have set it in debug and i see that the build is configured to debug , it allays compile me to release .
    this is the configuration looks like :
    @qmake.exe D:\dev\SVN_client\trunk\YouTubeLocal\YouTubeLocal\YouTubeLocal.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"@

    but the output allways release :
    @g++ -Wl,-s -Wl,-subsystem,windows -mthreads -o release/YouTubeLocal.exe object_script.YouTubeLocal.Release -lmingw32 -lqtmain -Ld:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib -lQt5Widgets -lQt5Xml -lQt5Network -lQt5Gui -lQt5Core -llibEGL -llibGLESv2 -lgdi32 -luser32 release/youtubelocal_res.o
    mingw32-make[1]: Leaving directory 'D:/dev/SVN_client/trunk/YouTubeLocal/YouTubeLocal-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    @

    did , restart . clean start .. all all combinations



  • Myself and Cayan had very similar issues after installing 5.0.1. Cayan could not run any programs, and I had the opposite symptoms - could not compile anything in Release mode.

    I resolved using the following steps.

    1. Clean project
    2. Close QtCreator
    3. Remove Release/Debug Folder from app directory
    4. Delete xxx.pro.user file (lives in app directory)
    5. Manually delete Makefile, Makefile.Debug, Makefile.Release (If still there)
    6. Open Qt Creator again and open your project. It should now be asking you to reconfigure your project build settings.

    Also, check your environment variables - ensure they are updated for 5.0.1 paths.

    "Reference to similar problem":http://qt-project.org/forums/viewthread/25326/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.