Hi. >> How to define in project file specific macro for debug mode only? > It isn't clear what you're asking about. Sorry, probably it's my poor english. I've asked about it: CONFIG(debug, debug|release) { DEFINES += PROJECT_DEBUG } Thanks.