Add the test image to the qrc to make sure the image is available no matter where the test is executed. Pick-to: 6.7 6.6 Fixes: QTBUG-120732 Change-Id: I24de59fd88fdc2a3317c91ac28cf81fd5511455f Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
25 lines
558 B
CMake
25 lines
558 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#####################################################################
|
|
## qimagereader Binary:
|
|
#####################################################################
|
|
|
|
qt_internal_add_manual_test(qimagereader
|
|
GUI
|
|
SOURCES
|
|
main.cpp
|
|
LIBRARIES
|
|
Qt::Gui
|
|
Qt::Widgets
|
|
)
|
|
set(qimagereader_resource_files
|
|
"Qt_logostrap_CMYK.jpg"
|
|
)
|
|
qt_add_resources(qimagereader "qimagereader"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${qimagereader_resource_files}
|
|
)
|