examples: add install instructions for qtshell

Needed to deploy the example.

Pick-to: 6.5
Fixes: QTBUG-134264
Change-Id: I2cbfe607f771d3c9915a700219a97704508ad355
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 7fe2869f5daa2f5496368a57a3ad1e3eeb9d425c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 080c0720c78d34be04ac3f87c2108d8df2e96208)
This commit is contained in:
Samuli Piippo
2025-03-07 14:42:12 +00:00
committed by Qt Cherry-pick Bot
parent 123440cc1e
commit 56bb6aad85
+12
View File
@@ -6,6 +6,12 @@ project(qtshell LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/wayland/qtshell")
find_package(Qt6 REQUIRED COMPONENTS Core Gui Qml)
qt_add_executable(qtshell
@@ -37,3 +43,9 @@ qt6_add_resources(qtshell "qtshell"
FILES
${qtshell_resource_files}
)
install(TARGETS qtshell
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)