bring fake qmake project up to snuff
Change-Id: Ib5b51ea2198db9fb202d957ab08b47cd32e99723 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
8a5657b9f7
commit
f82f1a6a96
@ -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
|
#qmake code
|
||||||
SOURCES += project.cpp property.cpp main.cpp \
|
SOURCES += project.cpp property.cpp main.cpp \
|
||||||
@ -37,7 +34,6 @@ contains(QT_EDITION, OpenSource) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bootstrap { #Qt code
|
bootstrap { #Qt code
|
||||||
DEFINES+=QT_NO_THREAD
|
|
||||||
SOURCES+= \
|
SOURCES+= \
|
||||||
qbitarray.cpp \
|
qbitarray.cpp \
|
||||||
qbuffer.cpp \
|
qbuffer.cpp \
|
||||||
@ -160,7 +156,16 @@ bootstrap { #Qt code
|
|||||||
CFLAGS += -fhonor-std
|
CFLAGS += -fhonor-std
|
||||||
LFLAGS += -lcpp
|
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 {
|
} else {
|
||||||
CONFIG += qt
|
CONFIG += qt
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -4,24 +4,21 @@
|
|||||||
|
|
||||||
option(host_build)
|
option(host_build)
|
||||||
CONFIG += console bootstrap
|
CONFIG += console bootstrap
|
||||||
CONFIG -= qt shared app_bundle uic
|
CONFIG -= qt
|
||||||
DEFINES += QT_BUILD_QMAKE QT_BOOTSTRAPPED \
|
DEFINES += \
|
||||||
|
QT_BUILD_QMAKE \
|
||||||
PROEVALUATOR_FULL
|
PROEVALUATOR_FULL
|
||||||
DESTDIR = ../bin/
|
|
||||||
|
|
||||||
OBJECTS_DIR = .
|
VPATH += \
|
||||||
MOC_DIR = .
|
../src/corelib/global \
|
||||||
|
../src/corelib/tools \
|
||||||
#guts
|
../src/corelib/kernel \
|
||||||
VPATH += $$QT_SOURCE_TREE/src/corelib/global \
|
../src/corelib/codecs \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools \
|
../src/corelib/plugin \
|
||||||
$$QT_SOURCE_TREE/src/corelib/kernel \
|
../src/corelib/xml \
|
||||||
$$QT_SOURCE_TREE/src/corelib/codecs \
|
../src/corelib/io \
|
||||||
$$QT_SOURCE_TREE/src/corelib/plugin \
|
../src/corelib/json \
|
||||||
$$QT_SOURCE_TREE/src/corelib/xml \
|
../tools/shared/windows
|
||||||
$$QT_SOURCE_TREE/src/corelib/io \
|
|
||||||
$$QT_SOURCE_TREE/src/corelib/json \
|
|
||||||
$$QT_SOURCE_TREE/tools/shared/windows
|
|
||||||
|
|
||||||
INCLUDEPATH += . \
|
INCLUDEPATH += . \
|
||||||
library \
|
library \
|
||||||
@ -30,11 +27,8 @@ INCLUDEPATH += . \
|
|||||||
generators/win32 \
|
generators/win32 \
|
||||||
generators/mac \
|
generators/mac \
|
||||||
generators/integrity \
|
generators/integrity \
|
||||||
$$QT_SOURCE_TREE/include \
|
../tools/shared
|
||||||
$$QT_SOURCE_TREE/include/QtCore \
|
|
||||||
$$QT_SOURCE_TREE/include/QtCore/$$QT_VERSION \
|
|
||||||
$$QT_SOURCE_TREE/include/QtCore/$$QT_VERSION/QtCore \
|
|
||||||
$$QT_SOURCE_TREE/tools/shared \
|
|
||||||
$$QT_SOURCE_TREE/qmake
|
|
||||||
|
|
||||||
include(qmake.pri)
|
include(qmake.pri)
|
||||||
|
|
||||||
|
load(qt_app)
|
||||||
|
Loading…
Reference in New Issue
Block a user