blob: 3eedfa1d3a5cd4f3b074db9b1cec75dc31c00b2d (
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
|
CONFIG += testcase
testcase.timeout = 600 # this test is slow
TARGET = tst_qwidget
QT += widgets core-private gui-private widgets-private testlib
SOURCES += tst_qwidget.cpp
RESOURCES = qwidget.qrc
aix-g++*:QMAKE_CXXFLAGS+=-fpermissive
CONFIG += x11inc
mac {
LIBS += -framework Security -framework AppKit -framework Carbon
OBJECTIVE_SOURCES += tst_qwidget_mac_helpers.mm
}
x11 {
LIBS += $$QMAKE_LIBS_X11
}
!wince*:win32:!winrt: LIBS += -luser32 -lgdi32
mac:CONFIG+=insignificant_test # QTBUG-25300, QTBUG-23695
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC # QTBUG-30566
|