2013-03-27 00:57:57 -05:00
|
|
|
HEADERS = mainwindow.h \
|
|
|
|
svgview.h
|
|
|
|
RESOURCES = svgviewer.qrc
|
|
|
|
SOURCES = main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
svgview.cpp
|
2013-11-27 13:43:42 -06:00
|
|
|
QT += webkit svg xml
|
2013-03-27 00:57:57 -05:00
|
|
|
|
|
|
|
contains(QT_CONFIG, opengl): QT += opengl
|
|
|
|
|
|
|
|
CONFIG += console
|
|
|
|
|
|
|
|
# install
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/painting/svgviewer
|
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES svgviewer.pro files
|
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/painting/svgviewer
|
|
|
|
INSTALLS += target sources
|
|
|
|
|
|
|
|
wince*: {
|
|
|
|
addFiles.files = files\\*.svg
|
|
|
|
addFiles.path = "\\My Documents"
|
|
|
|
DEPLOYMENT += addFiles
|
|
|
|
}
|
|
|
|
|
|
|
|
symbian: {
|
|
|
|
TARGET.UID3 = 0xA000A64E
|
|
|
|
include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
|
|
|
|
addFiles.files = files\\*.svg
|
|
|
|
addFiles.path = .
|
|
|
|
DEPLOYMENT += addFiles
|
|
|
|
}
|
|
|
|
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
|
|
|
|
|