Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

arthurplugin.pro Example File
demos/arthurplugin/arthurplugin.pro

 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

 win32-msvc* {
         QMAKE_CFLAGS += /Zm500
         QMAKE_CXXFLAGS += /Zm500
 }


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.5.1