[490] | 1 | os2:TARGET_SHORT = arthurpl
|
---|
[2] | 2 |
|
---|
| 3 | QTDIR = $$QT_SOURCE_TREE
|
---|
| 4 |
|
---|
| 5 | CONFIG += designer plugin
|
---|
| 6 | TEMPLATE = lib
|
---|
| 7 | QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
|
---|
| 8 |
|
---|
| 9 | contains(QT_CONFIG, opengl) {
|
---|
| 10 | DEFINES += QT_OPENGL_SUPPORT
|
---|
| 11 | QT += opengl
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | SHARED_FOLDER = ../shared
|
---|
| 15 | include(../shared/shared.pri)
|
---|
| 16 |
|
---|
| 17 | DEMO_DEFORM_DIR = ../deform
|
---|
| 18 | DEMO_AFFINE_DIR = ../affine
|
---|
| 19 | DEMO_GRADIENT_DIR = ../gradients
|
---|
| 20 | DEMO_STROKE_DIR = ../pathstroke
|
---|
| 21 | DEMO_COMPOSITION_DIR = ../composition
|
---|
| 22 |
|
---|
| 23 | INCLUDEPATH += $$DEMO_DEFORM_DIR $$DEMO_AFFINE_DIR $$DEMO_GRADIENT_DIR $$DEMO_STROKE_DIR $$DEMO_COMPOSITION_DIR
|
---|
| 24 |
|
---|
| 25 | SOURCES = plugin.cpp \
|
---|
| 26 | $$DEMO_COMPOSITION_DIR/composition.cpp \
|
---|
| 27 | $$DEMO_AFFINE_DIR/xform.cpp \
|
---|
| 28 | $$DEMO_DEFORM_DIR/pathdeform.cpp \
|
---|
| 29 | $$DEMO_GRADIENT_DIR/gradients.cpp \
|
---|
| 30 | $$DEMO_STROKE_DIR/pathstroke.cpp \
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | HEADERS = \
|
---|
| 34 | $$DEMO_COMPOSITION_DIR/composition.h \
|
---|
| 35 | $$DEMO_AFFINE_DIR/xform.h \
|
---|
| 36 | $$DEMO_DEFORM_DIR/pathdeform.h \
|
---|
| 37 | $$DEMO_GRADIENT_DIR/gradients.h \
|
---|
| 38 | $$DEMO_STROKE_DIR/pathstroke.h \
|
---|
| 39 |
|
---|
| 40 | RESOURCES += arthur_plugin.qrc
|
---|
| 41 |
|
---|
| 42 | # install
|
---|
| 43 | target.path = $$[QT_INSTALL_PLUGINS]/designer
|
---|
| 44 | sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg *.png
|
---|
| 45 | sources.path = $$[QT_INSTALL_DEMOS]/arthurplugin
|
---|
| 46 | INSTALLS += target sources
|
---|
| 47 |
|
---|
[561] | 48 | symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
|
---|
| 49 |
|
---|
[2] | 50 | win32-msvc* {
|
---|
| 51 | QMAKE_CFLAGS += /Zm500
|
---|
| 52 | QMAKE_CXXFLAGS += /Zm500
|
---|
| 53 | }
|
---|
| 54 |
|
---|