qt5base-lts/tests/auto/qwidget/qwidget.pro
Rohan McGovern f9ae26acf2 Fixed compile of autotests for Mac & QPA
Several autotests were assuming that Q_OS_MAC == Mac cocoa port, which
caused compile failures when QPA is used.

Change-Id: I4480ed815c15b6d9ce83edf0057b7293f2e3ad7e
Reviewed-on: http://codereview.qt.nokia.com/533
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2011-06-21 13:52:20 +02:00

27 lines
482 B
Prolog

load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qwidget.cpp
RESOURCES = qwidget.qrc
aix-g++*:QMAKE_CXXFLAGS+=-fpermissive
CONFIG += x11inc
mac:!qpa {
LIBS += -framework Security -framework AppKit -framework Carbon
OBJECTIVE_SOURCES += tst_qwidget_mac_helpers.mm
}
x11 {
LIBS += $$QMAKE_LIBS_X11
}
symbian {
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
LIBS += -leikcore -lcone -leikcoctl
}
!wince*:!symbian:win32: LIBS += -luser32 -lgdi32