qt5base-lts/tests/auto/widgets/kernel/qwidget/qwidget.pro
Bradley T. Hughes ba21ca7b5b Replace Q_WS_MAC with Q_OS_MAC in tests/auto/widgets
tst_qwidget.cpp will not build/link without tst_qwidget_mac_helpers.mm,
so re-add it to the build as well.

Change-Id: I55130f62c215c4b82683d90456e31fdb09f833a8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
2012-01-23 09:32:43 +01:00

25 lines
454 B
Prolog

CONFIG += testcase
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: LIBS += -luser32 -lgdi32
CONFIG+=insignificant_test