Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator 2.6.2 for windows and Qt 5.0.1 compiles only in release , even if it configured debug
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.7k 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.
  • U Offline
    U Offline
    umen242
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wakeuky
      wrote on last edited by
      #2

      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/

      Don't Panic

      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