summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/affine/affine.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/affine/affine.pro')
-rw-r--r--examples/widgets/painting/affine/affine.pro24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/widgets/painting/affine/affine.pro b/examples/widgets/painting/affine/affine.pro
new file mode 100644
index 0000000000..0977ea1c5b
--- /dev/null
+++ b/examples/widgets/painting/affine/affine.pro
@@ -0,0 +1,24 @@
+SOURCES += main.cpp xform.cpp
+HEADERS += xform.h
+
+contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
+ DEFINES += QT_OPENGL_SUPPORT
+ QT += opengl
+}
+QT += widgets
+
+SHARED_FOLDER = ../shared
+
+include($$SHARED_FOLDER/shared.pri)
+
+RESOURCES += affine.qrc
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
+sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
+INSTALLS += target sources
+
+wince*: {
+ DEPLOYMENT_PLUGIN += qjpeg
+}