403213240c
Modify special case locations to use the new API as well. Clean up some stale .prev files that are not needed anymore. Clean up some project files that are not used anymore. Task-number: QTBUG-86815 Change-Id: I9947da921f98686023c6bb053dfcc101851276b5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
108 lines
3.3 KiB
CMake
108 lines
3.3 KiB
CMake
# Generated from qpixmap.pro.
|
|
|
|
#####################################################################
|
|
## tst_qpixmap Test:
|
|
#####################################################################
|
|
|
|
# Collect test data
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
convertFromImage/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
convertFromToHICON/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
loadFromData/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
images/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
qt_internal_add_test(tst_qpixmap
|
|
SOURCES
|
|
tst_qpixmap.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
TESTDATA ${test_data}
|
|
)
|
|
|
|
# Resources:
|
|
set(qpixmap_resource_files
|
|
"convertFromImage/task31722_0/img1.png"
|
|
"convertFromImage/task31722_0/img2.png"
|
|
"convertFromImage/task31722_1/img1.png"
|
|
"convertFromImage/task31722_1/img2.png"
|
|
"convertFromToHICON/icon_32bpp.ico"
|
|
"convertFromToHICON/icon_32bpp_16x16.png"
|
|
"convertFromToHICON/icon_32bpp_256x256.png"
|
|
"convertFromToHICON/icon_32bpp_32x32.png"
|
|
"convertFromToHICON/icon_32bpp_48x48.png"
|
|
"convertFromToHICON/icon_8bpp.ico"
|
|
"convertFromToHICON/icon_8bpp_16x16.png"
|
|
"convertFromToHICON/icon_8bpp_32x32.png"
|
|
"convertFromToHICON/icon_8bpp_48x48.png"
|
|
"images/designer.png"
|
|
"images/dx_-10_dy_-10_50_50_100_100.png"
|
|
"images/dx_-10_dy_-10_x_y_w_h.png"
|
|
"images/dx_-10_dy_0_50_50_100_100.png"
|
|
"images/dx_-10_dy_0_x_y_w_h.png"
|
|
"images/dx_-128_dy_-128_x_y_w_h.png"
|
|
"images/dx_-128_dy_0_x_y_w_h.png"
|
|
"images/dx_0_dy_-10_50_50_100_100.png"
|
|
"images/dx_0_dy_-10_x_y_w_h.png"
|
|
"images/dx_0_dy_-128_x_y_w_h.png"
|
|
"images/dx_0_dy_0_50_50_100_100.png"
|
|
"images/dx_0_dy_0_null.png"
|
|
"images/dx_0_dy_0_x_y_w_h.png"
|
|
"images/dx_0_dy_10_50_50_100_100.png"
|
|
"images/dx_0_dy_10_x_y_w_h.png"
|
|
"images/dx_0_dy_128_x_y_w_h.png"
|
|
"images/dx_0_dy_1_null.png"
|
|
"images/dx_10_dy_0_50_50_100_100.png"
|
|
"images/dx_10_dy_0_x_y_w_h.png"
|
|
"images/dx_10_dy_10_50_50_100_100.png"
|
|
"images/dx_10_dy_10_x_y_w_h.png"
|
|
"images/dx_128_dy_0_x_y_w_h.png"
|
|
"images/dx_128_dy_128_64_64_128_128.png"
|
|
"images/dx_128_dy_128_x_y_w_h.png"
|
|
"images/dx_1_dy_0_null.png"
|
|
"loadFromData/designer_argb32.png"
|
|
"loadFromData/designer_indexed8_no_alpha.gif"
|
|
"loadFromData/designer_indexed8_no_alpha.png"
|
|
"loadFromData/designer_indexed8_no_alpha_animated.gif"
|
|
"loadFromData/designer_indexed8_with_alpha.gif"
|
|
"loadFromData/designer_indexed8_with_alpha.png"
|
|
"loadFromData/designer_indexed8_with_alpha_animated.gif"
|
|
"loadFromData/designer_rgb32.jpg"
|
|
"loadFromData/designer_rgb32.png"
|
|
)
|
|
|
|
qt_internal_add_resource(tst_qpixmap "qpixmap"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${qpixmap_resource_files}
|
|
)
|
|
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
qt_internal_extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets
|
|
PUBLIC_LIBRARIES
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
)
|
|
|
|
qt_internal_extend_target(tst_qpixmap CONDITION WIN32
|
|
PUBLIC_LIBRARIES
|
|
gdi32
|
|
user32
|
|
)
|