Add the WIN32_CONSOLE_APP flag

If the user passes 'CONFIG += console' to qmake, we define
WIN32_CONSOLE_APP that will be used in the source code
to determine if this is a console or a GUI application on Win32.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2014-03-25 16:55:55 +02:00 committed by Dirk Hohndel
parent fe2ad15603
commit b3f78185a5

View file

@ -150,6 +150,10 @@ else: LIBS += -lmarblewidget
libgit21-api {
DEFINES += USE_LIBGIT21_API
}
win32: console {
DEFINES += WIN32_CONSOLE_APP
}
#
# Platform-specific changes
#