summaryrefslogtreecommitdiffstats
path: root/examples/touch
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-14 21:13:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-17 14:08:17 +0100
commit2ac3f92296d16432f2ed3af916271d6848547f36 (patch)
tree33b59b0c32aa6982daba2e6668c8696faddbbc78 /examples/touch
parent6c88c7db638618402db06fb0e57c60a3ed8e1064 (diff)
clean up example project files, mostly wrt QT+=widgets
move QT+=widgets (and printsupport) statements before the install statements, and de-duplicate some cases. also move some TARGET assignments to a more conventional place. Change-Id: I6140d8611680f66c24490e5894e4eb90cae95635 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples/touch')
-rw-r--r--examples/touch/dials/dials.pro4
-rw-r--r--examples/touch/fingerpaint/fingerpaint.pro6
-rw-r--r--examples/touch/knobs/knobs.pro4
-rw-r--r--examples/touch/pinchzoom/pinchzoom.pro4
4 files changed, 9 insertions, 9 deletions
diff --git a/examples/touch/dials/dials.pro b/examples/touch/dials/dials.pro
index 0da1103432..aeba956892 100644
--- a/examples/touch/dials/dials.pro
+++ b/examples/touch/dials/dials.pro
@@ -1,10 +1,10 @@
+QT += widgets
+
SOURCES += main.cpp
FORMS += dials.ui
# install
target.path = $$[QT_INSTALL_EXAMPLES]/touch/dials
INSTALLS += target
-QT += widgets
-
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/touch/fingerpaint/fingerpaint.pro b/examples/touch/fingerpaint/fingerpaint.pro
index a9083b39ca..5093c8ad8d 100644
--- a/examples/touch/fingerpaint/fingerpaint.pro
+++ b/examples/touch/fingerpaint/fingerpaint.pro
@@ -1,3 +1,6 @@
+QT += widgets
+!isEmpty(QT.printsupport.name): QT += printsupport
+
HEADERS = mainwindow.h \
scribblearea.h
SOURCES = main.cpp \
@@ -8,7 +11,4 @@ SOURCES = main.cpp \
target.path = $$[QT_INSTALL_EXAMPLES]/touch/fingerpaint
INSTALLS += target
-QT += widgets
-!isEmpty(QT.printsupport.name): QT += printsupport
-
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/touch/knobs/knobs.pro b/examples/touch/knobs/knobs.pro
index 7540a4b2cf..6a10a0776f 100644
--- a/examples/touch/knobs/knobs.pro
+++ b/examples/touch/knobs/knobs.pro
@@ -1,10 +1,10 @@
+QT += widgets
+
HEADERS = knob.h
SOURCES = main.cpp knob.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/touch/knobs
INSTALLS += target
-QT += widgets
-
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/touch/pinchzoom/pinchzoom.pro b/examples/touch/pinchzoom/pinchzoom.pro
index df7ce246c3..5c101b2f5c 100644
--- a/examples/touch/pinchzoom/pinchzoom.pro
+++ b/examples/touch/pinchzoom/pinchzoom.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS += \
mouse.h \
graphicsview.h
@@ -12,7 +14,5 @@ RESOURCES += \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/touch/pinchzoom
INSTALLS += target
-QT += widgets
-
simulator: warning(This example might not fully work on Simulator platform)