QTDIR = $$QT_SOURCE_TREE
CONFIG += designer plugin
TEMPLATE = lib
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
contains(QT_CONFIG, opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}
SHARED_FOLDER = ../shared
include(../shared/shared.pri)
DEMO_DEFORM_DIR = ../deform
DEMO_AFFINE_DIR = ../affine
DEMO_GRADIENT_DIR = ../gradients
DEMO_STROKE_DIR = ../pathstroke
DEMO_COMPOSITION_DIR = ../composition
INCLUDEPATH += $$DEMO_DEFORM_DIR $$DEMO_AFFINE_DIR $$DEMO_GRADIENT_DIR $$DEMO_STROKE_DIR $$DEMO_COMPOSITION_DIR
SOURCES = plugin.cpp \
$$DEMO_COMPOSITION_DIR/composition.cpp \
$$DEMO_AFFINE_DIR/xform.cpp \
$$DEMO_DEFORM_DIR/pathdeform.cpp \
$$DEMO_GRADIENT_DIR/gradients.cpp \
$$DEMO_STROKE_DIR/pathstroke.cpp \
HEADERS = \
$$DEMO_COMPOSITION_DIR/composition.h \
$$DEMO_AFFINE_DIR/xform.h \
$$DEMO_DEFORM_DIR/pathdeform.h \
$$DEMO_GRADIENT_DIR/gradients.h \
$$DEMO_STROKE_DIR/pathstroke.h \
RESOURCES += arthur_plugin.qrc
# install
target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg *.png
sources.path = $$[QT_INSTALL_DEMOS]/arthurplugin
INSTALLS += target sources
symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
win32-msvc* {
QMAKE_CFLAGS += /Zm500
QMAKE_CXXFLAGS += /Zm500
}
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.





