aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
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 /qbs
parent629e05ea1b9548367b64e7649f8ae501d2ce24d3 (diff)
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 'qbs')
-rw-r--r--qbs/defaults.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/qbs/defaults.js b/qbs/defaults.js
index b486888e90..12d89c9fa2 100644
--- a/qbs/defaults.js
+++ b/qbs/defaults.js
@@ -6,6 +6,7 @@ function testsEnabled(qbs)
function defines(qbs)
{
var list = [
+ "QT_CREATOR",
'IDE_LIBRARY_BASENAME="lib"',
"QT_DISABLE_DEPRECATED_BEFORE=0x040900",
"QT_NO_CAST_TO_ASCII",