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
|
|
|
|
}
|
|
|
|
|
2015-06-03 15:04:53 +00:00
|
|
|
win32:!wince:!winrt: LIBS += -luser32 -lgdi32
|