Qt Reference Documentation

svggenerator.pro Example File

painting/svggenerator/svggenerator.pro
 FORMS     = forms/window.ui
 HEADERS   = displaywidget.h \
             window.h
 RESOURCES = svggenerator.qrc
 SOURCES   = displaywidget.cpp \
             main.cpp \
             window.cpp

 QT += svg

 INCLUDEPATH += $$PWD

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/painting/svggenerator
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS svggenerator.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/painting/svggenerator
 INSTALLS += target sources

 symbian {
     TARGET.UID3 = 0xA000CF68
     include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 }
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)