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:
1 parent
46e673f660
commit
8af436f09a
281 files changed
+7102
-5490
No files matched your search
@@ -55,6 +55,18 @@ if(NOT COMMAND QT5_WRAP_CPP)
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
# NGL_WRAP_UI: ensure .ui files are added to source lists so CMake's AUTOUIC can process them
|
||||
if(NOT COMMAND NGL_WRAP_UI)
|
||||
macro(NGL_WRAP_UI _out)
|
||||
# Append provided UI files to the given source list variable
|
||||
set(_cur "${${_out}}")
|
||||
foreach(_ui ${ARGN})
|
||||
list(APPEND _cur ${_ui})
|
||||
endforeach()
|
||||
set(${_out} "${_cur}" PARENT_SCOPE)
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
|
||||
SET(_default_build OFF)
|
||||
IF(BUILD_ALL)
|
||||
|
||||
Reference in new issue
Block a user