0
|
1 |
HEADERS = mainwindow.h \
|
|
2 |
svgview.h
|
|
3 |
RESOURCES = svgviewer.qrc
|
|
4 |
SOURCES = main.cpp \
|
|
5 |
mainwindow.cpp \
|
|
6 |
svgview.cpp
|
|
7 |
QT += svg xml
|
|
8 |
|
|
9 |
contains(QT_CONFIG, opengl): QT += opengl
|
|
10 |
|
|
11 |
CONFIG += console
|
|
12 |
|
|
13 |
# install
|
|
14 |
target.path = $$[QT_INSTALL_EXAMPLES]/painting/svgviewer
|
|
15 |
sources.files = $$SOURCES $$HEADERS $$RESOURCES svgviewer.pro files
|
|
16 |
sources.path = $$[QT_INSTALL_EXAMPLES]/painting/svgviewer
|
|
17 |
INSTALLS += target sources
|
|
18 |
|
|
19 |
wince*: {
|
|
20 |
addFiles.sources = files\*.svg
|
|
21 |
addFiles.path = \My Documents
|
|
22 |
DEPLOYMENT += addFiles
|
|
23 |
}
|
|
24 |
|
|
25 |
symbian: {
|
|
26 |
TARGET.UID3 = 0xA000A64E
|
|
27 |
include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
|
|
28 |
addFiles.sources = files\*.svg
|
|
29 |
addFiles.path = .
|
|
30 |
DEPLOYMENT += addFiles
|
|
31 |
}
|