c6af0a504f
- Remove irrelevant test subdirs via .pro files - Follow WinCE codepaths where applicable - Replace unsupported Win32 APIs with WinRT equivalents This does not aim to fix any failures in the tests themselves; it only makes them compile. Change-Id: Ia82bc0cc402891f8f6238d4c261ee9152b51be80 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
26 lines
644 B
Prolog
26 lines
644 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
|
|
}
|
|
|
|
x11 {
|
|
LIBS += $$QMAKE_LIBS_X11
|
|
}
|
|
|
|
!wince*:win32:!winrt: LIBS += -luser32 -lgdi32
|
|
|
|
mac:CONFIG+=insignificant_test # QTBUG-25300, QTBUG-23695
|
|
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC # QTBUG-30566 |