rework finding qt

This commit is contained in:
tooomm 2026-08-28 17:55:20 +02:00
parent d183291753
commit 0e0bed8d32
2 changed files with 139 additions and 48 deletions

View file

@ -183,11 +183,9 @@ find_package(Threads REQUIRED)
message(STATUS "Update Translations: ${UPDATE_TRANSLATIONS}")
# Find Qt, min version is defined in that .cmake file
include(FindQtRuntime)
# Qt is located through normal CMake package discovery
find_package(Qt6 6.4 REQUIRED)
set(CMAKE_AUTOMOC TRUE)
## Find other needed libraries