Debug:DEFINES+=DEBUG

Is the above the correct syntax to conditionally define "DEBUG" when compiling 
a QT Creator Debug project?

DEBUG is defined and conditional code works if I remove the "Debug:" prefix. I 
definitely do not have build configuration set to Release.  Another clue 
perhaps - I also cannot step into the source code in this new project??

Any suggestions are much appreciated.

-Ed

# -------------------------------------------------
# Project created by QtCreator 2009-04-27T16:13:19
# -------------------------------------------------

Debug:DEFINES+=DEBUG
INCLUDEPATH += ./include
LIBS += -L/opt/fontconfig-2.4.2/lib
LIBS += -lrt
TARGET = rtleda
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += src/main.cpp
HEADERS += src/rtleda.h \
    src/version.h \
    src/mainpage.h
OTHER_FILES += scripts/updateVersionInfo

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to