summaryrefslogtreecommitdiff
path: root/examples/painting/svgviewer/svgviewer.pro
blob: b0bc1ed1985be19a106c3966aab429ac292708c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}

symbian: {
     TARGET.UID3 = 0xA000A64E
     CONFIG += qt_example
     addFiles.files = files\\*.svg
     addFiles.path = .
     DEPLOYMENT += addFiles
}
maemo5: CONFIG += qt_example

QT+=widgets