summaryrefslogtreecommitdiff
path: root/qmake/qmake.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-10-31 16:39:55 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 19:50:07 +0100
commitf82f1a6a965610a7f1ed3fd2c8583c3f096a6377 (patch)
tree977b822ddcbd9210f929436f686d406ca3e52af7 /qmake/qmake.pri
parent8a5657b9f721bb2301358080353e1d6f3fcf2174 (diff)
downloadqtbase-f82f1a6a965610a7f1ed3fd2c8583c3f096a6377.tar.gz
bring fake qmake project up to snuff
Change-Id: Ib5b51ea2198db9fb202d957ab08b47cd32e99723 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qmake/qmake.pri')
-rw-r--r--qmake/qmake.pri15
1 files changed, 10 insertions, 5 deletions
diff --git a/qmake/qmake.pri b/qmake/qmake.pri
index 5012bd0206..661b787a55 100644
--- a/qmake/qmake.pri
+++ b/qmake/qmake.pri
@@ -1,6 +1,3 @@
-SKIP_DEPENDS += qconfig.h qmodules.h
-DEFINES += QT_NO_TEXTCODEC QT_NO_LIBRARY QT_NO_COMPRESS QT_NO_UNICODETABLES \
- QT_NO_GEOM_VARIANT QT_NO_DATASTREAM
#qmake code
SOURCES += project.cpp property.cpp main.cpp \
@@ -37,7 +34,6 @@ contains(QT_EDITION, OpenSource) {
}
bootstrap { #Qt code
- DEFINES+=QT_NO_THREAD
SOURCES+= \
qbitarray.cpp \
qbuffer.cpp \
@@ -160,7 +156,16 @@ bootstrap { #Qt code
CFLAGS += -fhonor-std
LFLAGS += -lcpp
}
- DEFINES *= QT_NO_QOBJECT QT_CRYPTOGRAPHICHASH_ONLY_SHA1
+
+ DEFINES += \
+ QT_BOOTSTRAPPED \
+ QT_NO_TEXTCODEC QT_NO_UNICODETABLES QT_NO_COMPONENT QT_NO_COMPRESS \
+ QT_NO_THREAD QT_NO_QOBJECT QT_NO_GEOM_VARIANT QT_NO_DATASTREAM \
+ QT_CRYPTOGRAPHICHASH_ONLY_SHA1 QT_JSON_READONLY
+
+ INCLUDEPATH += \
+ $$QT.core.includes $$QT.core_private.includes \
+ $$shadowed(../src/corelib/global)
} else {
CONFIG += qt
QT = core