summaryrefslogtreecommitdiffstats
path: root/src/tools/moc
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-11-15 14:49:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-16 15:59:20 +0100
commitf2b77e0c3cfdcd05ae0585daa3cf9b8e88dcac69 (patch)
tree6fb058b36e752a6a9b113836a04f65a1edc24239 /src/tools/moc
parent4b85211a43d430978470f1b56be941a7124164fd (diff)
make qt_tool support building bootstrapped tools
as a "side effect", this fixes the build of bootstrapped tools when doing a debug build under msvc: qt.prf would add CONFIG+=release after default_post.prf already loaded debug.prf. Change-Id: Idd17cf28d358950fd90bb18ca7a8d67e06953bc1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/tools/moc')
-rw-r--r--src/tools/moc/moc.pro7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tools/moc/moc.pro b/src/tools/moc/moc.pro
index 12ca725134..3a6fd2a02d 100644
--- a/src/tools/moc/moc.pro
+++ b/src/tools/moc/moc.pro
@@ -1,9 +1,6 @@
option(host_build)
-TEMPLATE = app
-QT = bootstrap-private
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
@@ -11,6 +8,4 @@ include(moc.pri)
HEADERS += qdatetime_p.h
SOURCES += main.cpp
-target.path = $$[QT_HOST_BINS]
-INSTALLS += target
-load(qt_targets)
+load(qt_tool)