4de1d0cb28
1. Use qrc for test data so that it can be found on all platforms. 2. Skip a test which does not work on platforms where show() implies showMaximized(), as it depends on the window size being 150x150. 3. Skip test for hover event which depends on having a valid mouse cursor position. 4. Skip a couple of tests that fail on some Android devices. It's not worth spending a lot of time investigating this at the moment. Change-Id: Icb2b7f1d82981546a2154a76535b95606d7f40da Reviewed-by: BogDan Vatra <bogdan@kdab.com>
22 lines
565 B
Prolog
22 lines
565 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qgraphicsscene
|
|
QT += widgets widgets-private testlib
|
|
QT += core-private gui-private
|
|
SOURCES += tst_qgraphicsscene.cpp
|
|
RESOURCES += images.qrc
|
|
win32:!wince:!winrt: LIBS += -luser32
|
|
|
|
!wince: DEFINES += SRCDIR=\\\"$$PWD\\\"
|
|
DEFINES += QT_NO_CAST_TO_ASCII
|
|
|
|
wince* {
|
|
rootFiles.files = Ash_European.jpg graphicsScene_selection.data
|
|
rootFiles.path = .
|
|
renderFiles.files = testData\\render\\*
|
|
renderFiles.path = testData\\render
|
|
DEPLOYMENT += rootFiles renderFiles
|
|
DEFINES += SRCDIR=\\\".\\\"
|
|
}
|
|
|
|
RESOURCES += testdata.qrc
|