context2d.pro Example File

script/context2d/context2d.pro
TEMPLATE = app
QT += script
# Input
HEADERS += qcontext2dcanvas.h \
           context2d.h \
           domimage.h \
           environment.h \
           window.h
SOURCES += qcontext2dcanvas.cpp \
           context2d.cpp \
           domimage.cpp \
           environment.cpp \
           window.cpp \
           main.cpp
RESOURCES += context2d.qrc

contains(QT_CONFIG, scripttools): QT += scripttools

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

symbian:{
    TARGET.UID3 = 0xA000C608
    include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
    TARGET.EPOCHEAPSIZE = 0x200000 0xA00000
    contextScripts.path = .
    contextScripts.files = scripts
    DEPLOYMENT += contextScripts
}
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.