source: trunk/demos/arthurplugin/arthurplugin.pro@ 265

Last change on this file since 265 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

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