Bug 67390 - -DNO_DEBUG despite debug configuration
Summary: -DNO_DEBUG despite debug configuration
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 3.0.0b1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 11:21 UTC by Sven Schmidt
Modified: 2003-11-07 21:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Schmidt 2003-11-06 11:21:24 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    SuSE RPMs
Compiler:          gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) 
OS:          Linux

Hi!

Despite I chosed the debug configuration in the QMake-Manager, -DNO_DEBUG occurs in the compiler flags.


Sven Schmidt
Comment 1 Jens Dagerbo 2003-11-06 12:48:46 UTC
Somewhat hesistant after my last confused venture into qmake land, I'd say he's right.

This is what I get in debug and release config:

Debug:
g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG 

Release:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 

In other words, the same -D flags for both settings (just a different order). I can debug the project fine in KDevelop though, so I don't know if the flag matters much..

This was reproduced with a simple "qmake application" project from the KDevelop template.
Comment 2 Amilcar do Carmo Lucas 2003-11-06 13:28:00 UTC
Wich KDevelop version????????????????????????????????????????
WHY DO PEOPLE ALWAYS FORGET IT!!!!
Comment 3 Caleb Tennis 2003-11-06 14:12:43 UTC
Note that for a non-kdevelop project, the -DQT_NO_DEBUG does not show up on my machine.

It's either getting defined somewhere in the .pro file or perhaps getting picked up from the QMAKESPEC.
Comment 4 Alexander Dymo 2003-11-07 21:43:23 UTC
-DQT_NO_DEBUG is not related to debugging your applications. It disables some internal warnings inside Qt library.