×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    14

    Qt creator configuration files and debug

    Hi to all,
    I accidentally deleted the configuration files of qt creator in my home (after a linux reinstallation). Now, every time I try to do a debug by qt creator I obtain:
    This does not seem to be a "Debug" build.
    Setting breakpoints by file name and line number may fail.
    Actually I'm not sure that the problem is in the configuration files (because I don't know if before the reinstalation the debugger worked) but how can I repair it?
    Obviously I choose debug version of the project and the problem happen with all qt version installed (4.7.4 and 4.8.1)
    thanks in advance

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    14

    Re: Qt creator configuration files and debug

    Hi, I did the debug putting
    CONFIG += debug
    in the project file.
    But I can't understand why, also if I choose debug mode, without CONFIG += debug, the project is always compiled in release mode. Indeed the compilator command has the flag (without the debug option in the project file) -DQT_NO_DEBUG
    What's wrong? Why QtCreator always compile in release mode?

Similar Threads

  1. Qt Creator crashes on debug
    By birch01 in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2012-02-10, 09:20
  2. How to debug QT app on S60 emulator in Creator?
    By TheSham in forum [Archived] Qt SDKs and Tools
    Replies: 5
    Last Post: 2010-12-24, 10:05
  3. Cannot debug using N8 / Qt Creator
    By Sulistas in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2010-10-11, 09:33
  4. Debug via emulator in Qt Creator on MacOS
    By nuthon in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-03-31, 10:33
  5. no debug build configuration
    By smui in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-10-28, 23:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •