32df595275
Task-number: QTBUG-105718 Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
34 lines
788 B
CMake
34 lines
788 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
qt_internal_add_manual_test(rhiwidget
|
|
GUI
|
|
SOURCES
|
|
examplewidget.cpp examplewidget.h
|
|
rhiwidget.cpp rhiwidget.h rhiwidget_p.h
|
|
main.cpp
|
|
LIBRARIES
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
)
|
|
|
|
set_source_files_properties("../shared/texture.vert.qsb"
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb"
|
|
)
|
|
set_source_files_properties("../shared/texture.frag.qsb"
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb"
|
|
)
|
|
set(rhiwidget_resource_files
|
|
"../shared/texture.vert.qsb"
|
|
"../shared/texture.frag.qsb"
|
|
)
|
|
|
|
qt_internal_add_resource(rhiwidget "rhiwidget"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${rhiwidget_resource_files}
|
|
)
|