Refresh Qt and Wayland recipes

Red Bear OS Team
This commit is contained in:
2026-04-16 12:44:04 +01:00
parent 35193bb32d
commit c290fda6e5
13 changed files with 726 additions and 17 deletions
@@ -0,0 +1,47 @@
cmake_minimum_required(VERSION 3.20)
project(qt6-wayland-smoke LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Gui Core)
qt_add_executable(qt6-wayland-smoke
main.cpp
)
qt_add_executable(qt6-bootstrap-check
bootstrap.cpp
)
qt_add_executable(qt6-plugin-check
plugincheck.cpp
)
target_compile_options(qt6-wayland-smoke PRIVATE -fcf-protection=none)
target_compile_options(qt6-bootstrap-check PRIVATE -fcf-protection=none)
target_compile_options(qt6-plugin-check PRIVATE -fcf-protection=none)
target_link_options(qt6-wayland-smoke PRIVATE -fcf-protection=none)
target_link_options(qt6-bootstrap-check PRIVATE -fcf-protection=none)
target_link_options(qt6-plugin-check PRIVATE -fcf-protection=none)
target_link_libraries(qt6-wayland-smoke PRIVATE
Qt6::Core
Qt6::Gui
)
target_link_libraries(qt6-bootstrap-check PRIVATE
Qt6::Core
Qt6::Gui
)
target_link_libraries(qt6-plugin-check PRIVATE
Qt6::Core
)
install(TARGETS qt6-wayland-smoke RUNTIME DESTINATION bin)
install(TARGETS qt6-bootstrap-check RUNTIME DESTINATION bin)
install(TARGETS qt6-plugin-check RUNTIME DESTINATION bin)
install(FILES qt.conf DESTINATION bin)