summaryrefslogtreecommitdiffstats
path: root/plugins/qtuitest_widgets/qgraphicsviewwidgets/qgraphicsviewwidgets.pro
blob: 98a9d1380ea8b80947e2f6f2c7ea58ffad4b30d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SOURCES += \
        testgraphicsitem.cpp \
        testgraphicsproxywidget.cpp \
        testgraphicstextitem.cpp \
        testgraphicswidget.cpp \
        testgraphicsview.cpp \
        testgraphicsviewfactory.cpp

HEADERS += \
        testgraphicsitem.h \
        testgraphicsproxywidget.h \
        testgraphicstextitem.h \
        testgraphicswidget.h \
        testgraphicsview.h \
        testgraphicsviewfactory.h

TEMPLATE=lib
CONFIG+=plugin
VPATH+=$$PWD
INCLUDEPATH+=$$PWD
INCLUDEPATH+=$$SRCROOT/libqtuitest
TARGET=qgraphicsviewwidgets
TARGET=$$qtLibraryTarget($$TARGET)

unix:!symbian {
    MOC_DIR=$$OUT_PWD/.moc
    OBJECTS_DIR=$$OUT_PWD/.obj
    target.path=$$[QT_INSTALL_PLUGINS]/qtuitest_widgets
    INSTALLS+=target
    !mac {
        LIBS+=-L$$BUILDROOT/lib -lqtuitest
    }
}

symbian {
    TARGET.EPOCALLOWDLLDATA=1
    MOC_DIR=$$OUT_PWD/moc
    OBJECTS_DIR=$$OUT_PWD/obj
    LIBS+=-L$$OUT_PWD/ -lqtuitest
}

win32 {
    CONFIG(debug,debug|release):  LIBS+=-L$$BUILDROOT/libqtuitest -lqtuitestd
    CONFIG(release,debug|release):LIBS+=-L$$BUILDROOT/libqtuitest -lqtuitest
    target.path=$$[QT_INSTALL_PLUGINS]/qtuitest_widgets
    INSTALLS+=target
}

mac {
    CONFIG(debug,debug|release): LIBS += -L$$BUILDROOT/lib -lqtuitest_debug
    CONFIG(release,debug|release): LIBS += -L$$BUILDROOT/lib -lqtuitest
}