9945763cab
one of the effects of CONFIG+=x11 is LIBS+=$$QMAKE_LIBS_X11, so it's positively pointless for project files to do the same. Change-Id: I4085acd6254401897b34e131c2cb57f1f76a3638 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
20 lines
430 B
Prolog
20 lines
430 B
Prolog
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
|