summaryrefslogtreecommitdiff
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-27 20:16:05 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-04-02 12:20:37 +0200
commitc61210089fa3da9e4b40a2dbcb33e0ed814edd89 (patch)
treeb74e666852d4ae0cd810853c527cacda50b4294e /qtcreator.pri
parent629e05ea1b9548367b64e7649f8ae501d2ce24d3 (diff)
downloadqt-creator-c61210089fa3da9e4b40a2dbcb33e0ed814edd89.tar.gz
define QT_CREATOR centrally
numerous "3rdparty" libraries have respective #ifdefs, and consequently the define is added in several places. it's quite a mess with the .pr? and .qbs files, though. solve the problem by sidestepping it. Change-Id: I5a6b1ba7cfe96b44f0a4f4ef9738900906a44316 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index f8212e611d..a384e36a50 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -164,7 +164,7 @@ LIBS += -L$$IDE_LIBRARY_PATH
DEFINES += IDE_LIBRARY_BASENAME=\\\"$$IDE_LIBRARY_BASENAME\\\"
}
-DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
+DEFINES += QT_CREATOR QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
!macx:DEFINES += QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION
unix {