summaryrefslogtreecommitdiffstats
path: root/plugins/qtuitest_widgets/qtwidgets/qtwidgets.pro
blob: bef8035f9bb0a9327ae619ba04f5106c7ea9ffb1 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
SOURCES += \
        testabstractbutton.cpp \
        testabstractitemview.cpp \
        testabstractspinbox.cpp \
        testcalendarwidget.cpp \
        testcheckbox.cpp \
        testcombobox.cpp \
        testdateedit.cpp \
        testdatetimeedit.cpp \
        testdockwidget.cpp \
        testfactory.cpp \
        testgenericcheckwidget.cpp \
        testgenerictextwidget.cpp \
        testgroupbox.cpp \
        testheaderview.cpp \
        testignore.cpp \
        testlabel.cpp \
        testlineedit.cpp \
        testlistview.cpp \
        testmenu.cpp \
        testmenubar.cpp \
        testpushbutton.cpp \
        testtabbar.cpp \
        testtext.cpp \
        testtextedit.cpp \
        testtimeedit.cpp \
        testtoolbar.cpp \
        testtreeview.cpp \
        testtreewidget.cpp \
        testgenericinputmethod.cpp

HEADERS += \
        testabstractbutton.h \
        testabstractitemview.h \
        testabstractspinbox.h \
        testcalendarwidget.h \
        testcheckbox.h \
        testcombobox.h \
        testdateedit.h \
        testdatetimeedit.h \
        testdockwidget.h \
        testfactory.h \
        testgenericcheckwidget.h \
        testgenerictextwidget.h \
        testgroupbox.h \
        testheaderview.h \
        testignore.h \
        testlabel.h \
        testlineedit.h \
        testlistview.h \
        testwidgetslog.h \
        testmenu.h \
        testmenubar.h \
        testpushbutton.h \
        testtabbar.h \
        testtext.h \
        testtextedit.h \
        testtimeedit.h \
        testtoolbar.h \
        testtreeview.h \
        testtreewidget.h \
        testgenericinputmethod.h

TEMPLATE=lib
CONFIG+=plugin
VPATH+=$$PWD
INCLUDEPATH+=$$PWD
INCLUDEPATH+=$$SRCROOT/libqtuitest
TARGET=qtwidgets
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
    TARGET.CAPABILITY += AllFiles ReadDeviceData ReadUserData SwEvent WriteUserData NetworkServices
    MOC_DIR=$$OUT_PWD/moc
    OBJECTS_DIR=$$OUT_PWD/obj
    LIBS+=-lqtuitest.lib -lws32 -leuser -lcone
}

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
}

contains(QT_CONFIG, webkit) {
    QT+=webkit
    SOURCES+=testwebview.cpp
    HEADERS+=testwebview.h
}