Reduce compiler warnings: replace qAsConst with std::as_const and update event localPos() to position()

Replaced deprecated qAsConst usages in built modules and updated QMouseEvent::localPos() to position() per Qt6 deprecation guidance.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torsten committed 2026-07-14 22:44:14 +02:00
1 parent 46e673f660
commit 8af436f09a
281 files changed
+7102 -5490

No files matched your search

+1
View File
@@ -94,6 +94,7 @@ macro_ensure_out_of_source_build("In-Source build nicht erlaubt!")
# Qt ist wichtig - zuerst suchen
#
SET(CMAKE_AUTOMOC TRUE)
SET(CMAKE_AUTOUIC TRUE)
SET(QT_USE_IMPORTED_TARGETS TRUE)
# Prefer Qt6, fallback to Qt5. Create Qt5::*-aliases when Qt6 is found so existing CMakeLists continue to work.
# Try to detect Qt6 with a minimal check and then create aliases/placeholders for components used across the project.