summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-02-06 15:06:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-06 15:40:56 +0100
commitfac400a9218b34b4ca37a228c1150f30e90a39cc (patch)
tree6ad104e130157a45ae4d1931f7d6a7a12defeb18
parent546ac861c06dfd30b67812b4b5047607e8a7d1b5 (diff)
downloadqtxmlpatterns-fac400a9218b34b4ca37a228c1150f30e90a39cc.tar.gz
use qt_tool.prf for xmlpatterns tools
Change-Id: I254cc020c81bcf7d2803ef686b9f450be4d09a39 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--tools/xmlpatterns/xmlpatterns.pro17
-rw-r--r--tools/xmlpatternsvalidator/xmlpatternsvalidator.pro16
2 files changed, 4 insertions, 29 deletions
diff --git a/tools/xmlpatterns/xmlpatterns.pro b/tools/xmlpatterns/xmlpatterns.pro
index d295efc..d349a91 100644
--- a/tools/xmlpatterns/xmlpatterns.pro
+++ b/tools/xmlpatterns/xmlpatterns.pro
@@ -1,17 +1,4 @@
-TEMPLATE = app
-TARGET = xmlpatterns
-QT -= gui
-QT += xmlpatterns-private
-
-DESTDIR = $$QT.xmlpatterns.bins
-target.path = $$[QT_INSTALL_BINS]
-INSTALLS += target
-
-# This ensures we get stderr and stdout on Windows.
-CONFIG += console
-
-# This ensures that this is a command-line program on OS X and not a GUI application.
-CONFIG -= app_bundle
+QT = core xmlpatterns-private
# Note that qcoloroutput.cpp and qcoloringmessagehandler.cpp are also used internally
# in libQtXmlPatterns. See src/xmlpatterns/api/api.pri.
@@ -24,4 +11,4 @@ HEADERS = main.h \
qapplicationargument.cpp \
qapplicationargumentparser.cpp
-
+load(qt_tool)
diff --git a/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro b/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro
index d5ab070..af9469f 100644
--- a/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro
+++ b/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro
@@ -1,18 +1,6 @@
-TEMPLATE = app
-TARGET = xmlpatternsvalidator
-QT -= gui
-QT += xmlpatterns
-
-DESTDIR = $$QT.xmlpatterns.bins
-target.path = $$[QT_INSTALL_BINS]
-INSTALLS += target
-
-# This ensures we get stderr and stdout on Windows.
-CONFIG += console
-
-# This ensures that this is a command-line program on OS X and not a GUI application.
-CONFIG -= app_bundle
+QT = core xmlpatterns
SOURCES = main.cpp
HEADERS = main.h
+load(qt_tool)