summaryrefslogtreecommitdiff
path: root/examples/svg/svgviewer/svgviewer.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/svg/svgviewer/svgviewer.pro')
-rw-r--r--examples/svg/svgviewer/svgviewer.pro25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/svg/svgviewer/svgviewer.pro b/examples/svg/svgviewer/svgviewer.pro
new file mode 100644
index 0000000..94daed9
--- /dev/null
+++ b/examples/svg/svgviewer/svgviewer.pro
@@ -0,0 +1,25 @@
+HEADERS = mainwindow.h \
+ svgview.h
+RESOURCES = svgviewer.qrc
+SOURCES = main.cpp \
+ mainwindow.cpp \
+ svgview.cpp
+QT += svg xml
+
+contains(QT_CONFIG, opengl): QT += opengl
+
+CONFIG += console
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtsvg/painting/svgviewer
+sources.files = $$SOURCES $$HEADERS $$RESOURCES svgviewer.pro files
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtsvg/painting/svgviewer
+INSTALLS += target sources
+
+wince*: {
+ addFiles.files = files\\*.svg
+ addFiles.path = "\\My Documents"
+ DEPLOYMENT += addFiles
+}
+
+QT+=widgets