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 } win32:!winrt: LIBS += -luser32 -lgdi32