qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt
Alexandru Croitor af72e13636 Regenerate tests/auto/widgets/graphicsview
Change-Id: I2e6a8f2f92e9cb8d6bb0be53068dfd43ba87db4c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-11-13 10:06:43 +00:00

79 lines
2.5 KiB
CMake

# Generated from qgraphicsscene.pro.
#####################################################################
## tst_qgraphicsscene Test:
#####################################################################
add_qt_test(tst_qgraphicsscene
SOURCES
tst_qgraphicsscene.cpp
DEFINES
QT_NO_CAST_TO_ASCII
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate
Qt::WidgetsPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Widgets
)
# Resources:
set(images_resource_files
"Ash_European.jpg"
)
add_qt_resource(tst_qgraphicsscene "images"
PREFIX
"/"
FILES
${images_resource_files}
)
set(testdata_resource_files
"testData/render/all-all-45-deg-left.png"
"testData/render/all-all-45-deg-right.png"
"testData/render/all-all-scale-2x.png"
"testData/render/all-all-translate-0-50.png"
"testData/render/all-all-translate-50-0.png"
"testData/render/all-all-untransformed-clip-ellipse.png"
"testData/render/all-all-untransformed-clip-rect.png"
"testData/render/all-all-untransformed.png"
"testData/render/all-bottomleft-untransformed.png"
"testData/render/all-bottomright-untransformed.png"
"testData/render/all-topleft-untransformed.png"
"testData/render/all-topright-untransformed.png"
"testData/render/bottom-bottomright-untransformed.png"
"testData/render/bottom-topleft-untransformed.png"
"testData/render/bottomleft-all-untransformed.png"
"testData/render/bottomleft-topleft-untransformed.png"
"testData/render/bottomright-all-untransformed.png"
"testData/render/bottomright-topleft-untransformed.png"
"testData/render/left-bottomright-untransformed.png"
"testData/render/left-topleft-untransformed.png"
"testData/render/right-bottomright-untransformed.png"
"testData/render/right-topleft-untransformed.png"
"testData/render/top-bottomright-untransformed.png"
"testData/render/top-topleft-untransformed.png"
"testData/render/topleft-all-untransformed.png"
"testData/render/topleft-topleft-untransformed.png"
"testData/render/topright-all-untransformed.png"
"testData/render/topright-topleft-untransformed.png"
)
add_qt_resource(tst_qgraphicsscene "testdata"
PREFIX
"/"
FILES
${testdata_resource_files}
)
## Scopes:
#####################################################################
extend_target(tst_qgraphicsscene CONDITION WIN32 AND NOT WINRT
PUBLIC_LIBRARIES
user32
)