2011-10-25 04:24:31 +00:00
|
|
|
CONFIG += testcase
|
2012-05-29 06:20:22 +00:00
|
|
|
testcase.timeout = 600 # this test is slow
|
2011-10-25 04:24:31 +00:00
|
|
|
TARGET = tst_qwidget
|
2011-05-11 04:02:54 +00:00
|
|
|
|
2011-10-25 04:24:31 +00:00
|
|
|
QT += widgets core-private gui-private widgets-private testlib
|
2011-05-11 04:02:54 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
SOURCES += tst_qwidget.cpp
|
|
|
|
RESOURCES = qwidget.qrc
|
|
|
|
|
|
|
|
aix-g++*:QMAKE_CXXFLAGS+=-fpermissive
|
|
|
|
|
|
|
|
CONFIG += x11inc
|
|
|
|
|
2011-10-25 09:28:47 +00:00
|
|
|
mac {
|
2012-01-16 10:49:53 +00:00
|
|
|
LIBS += -framework Security -framework AppKit -framework Carbon
|
|
|
|
OBJECTIVE_SOURCES += tst_qwidget_mac_helpers.mm
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
x11 {
|
|
|
|
LIBS += $$QMAKE_LIBS_X11
|
|
|
|
}
|
|
|
|
|
2013-09-01 16:05:46 +00:00
|
|
|
!wince*:win32:!winrt: LIBS += -luser32 -lgdi32
|
2011-07-18 11:54:52 +00:00
|
|
|
|
2012-07-04 09:01:02 +00:00
|
|
|
mac:CONFIG+=insignificant_test # QTBUG-25300, QTBUG-23695
|