diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-10-29 17:25:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-08 16:59:50 +0100 |
commit | 3ad90ea8f629552e6fa35d94600352d9cf924c8b (patch) | |
tree | 47d7920e55668e36341978bca411604defa780b3 /src/tools/moc | |
parent | f1841d864db13585b53815c126dee12370c11c8a (diff) |
Generate a proper static QtBootstrap module
Making a properly installed libQtBootstrap simplifies
our tools build process a little and in addition allows
other comand line tools to use the bootstrap lib and
link against it.
Initial-version-by: Lars Knoll
Change-Id: Iddf4568a5505bc24898ec1abf7e7022e19f0a454
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/tools/moc')
-rw-r--r-- | src/tools/moc/moc.pro | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/tools/moc/moc.pro b/src/tools/moc/moc.pro index 8b53578e23..c83f5f6f15 100644 --- a/src/tools/moc/moc.pro +++ b/src/tools/moc/moc.pro @@ -1,18 +1,16 @@ option(host_build) -TEMPLATE = app -TARGET = moc +TEMPLATE = app +TARGET = moc +QT = bootstrap-private -DEFINES += QT_MOC QT_NO_CAST_FROM_BYTEARRAY QT_NO_COMPRESS -DESTDIR = ../../../bin -INCLUDEPATH += $$OUT_PWD/../../corelib/global -DEPENDPATH += $$OUT_PWD/../../corelib/global -LIBS = -OBJECTS_DIR = . +DEFINES += QT_MOC QT_NO_CAST_FROM_ASCII QT_NO_CAST_FROM_BYTEARRAY QT_NO_COMPRESS +DESTDIR = ../../../bin + +INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global include(moc.pri) HEADERS += qdatetime_p.h SOURCES += main.cpp -include(../bootstrap/bootstrap.pri) target.path = $$[QT_HOST_BINS] INSTALLS += target |