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
@@ -7,7 +7,7 @@
|
||||
|
||||
# =============================================================================
|
||||
# Project: LTS
|
||||
# Configurations: Debug
|
||||
# Configurations: Release
|
||||
# =============================================================================
|
||||
# =============================================================================
|
||||
|
||||
@@ -22,7 +22,7 @@ rule CUSTOM_COMMAND
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__ngldb_unscanned_Debug
|
||||
rule CXX_COMPILER__ngldb_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -32,7 +32,7 @@ rule CXX_COMPILER__ngldb_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngldb_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngldb_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -41,7 +41,7 @@ rule CXX_SHARED_LIBRARY_LINKER__ngldb_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__qtsa_common_unscanned_Debug
|
||||
rule CXX_COMPILER__qtsa_common_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -51,7 +51,7 @@ rule CXX_COMPILER__qtsa_common_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX static library.
|
||||
|
||||
rule CXX_STATIC_LIBRARY_LINKER__qtsa_common_Debug
|
||||
rule CXX_STATIC_LIBRARY_LINKER__qtsa_common_Release
|
||||
command = $PRE_LINK && /usr/bin/cmake -E rm -f $TARGET_FILE && /usr/bin/ar qc $TARGET_FILE $LINK_FLAGS $in && /usr/bin/ranlib $TARGET_FILE && $POST_BUILD
|
||||
description = Linking CXX static library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -60,7 +60,7 @@ rule CXX_STATIC_LIBRARY_LINKER__qtsa_common_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__qtsingleapplication_unscanned_Debug
|
||||
rule CXX_COMPILER__qtsingleapplication_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -70,7 +70,7 @@ rule CXX_COMPILER__qtsingleapplication_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__qtsingleapplication_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__qtsingleapplication_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -79,7 +79,7 @@ rule CXX_SHARED_LIBRARY_LINKER__qtsingleapplication_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglapplication_unscanned_Debug
|
||||
rule CXX_COMPILER__nglapplication_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -89,7 +89,7 @@ rule CXX_COMPILER__nglapplication_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglapplication_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglapplication_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -98,7 +98,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglapplication_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglsingleapplication_unscanned_Debug
|
||||
rule CXX_COMPILER__nglsingleapplication_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -108,7 +108,7 @@ rule CXX_COMPILER__nglsingleapplication_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglsingleapplication_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglsingleapplication_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -117,7 +117,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglsingleapplication_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglcoreapplication_unscanned_Debug
|
||||
rule CXX_COMPILER__nglcoreapplication_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -127,7 +127,7 @@ rule CXX_COMPILER__nglcoreapplication_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglcoreapplication_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglcoreapplication_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -136,7 +136,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglcoreapplication_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglguiapplication_unscanned_Debug
|
||||
rule CXX_COMPILER__nglguiapplication_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -146,7 +146,7 @@ rule CXX_COMPILER__nglguiapplication_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglguiapplication_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglguiapplication_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -155,7 +155,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglguiapplication_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglcompression_unscanned_Debug
|
||||
rule CXX_COMPILER__nglcompression_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -165,7 +165,7 @@ rule CXX_COMPILER__nglcompression_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglcompression_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglcompression_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -174,7 +174,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglcompression_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglcomp_test_unscanned_Debug
|
||||
rule CXX_COMPILER__nglcomp_test_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -184,7 +184,7 @@ rule CXX_COMPILER__nglcomp_test_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX executable.
|
||||
|
||||
rule CXX_EXECUTABLE_LINKER__nglcomp_test_Debug
|
||||
rule CXX_EXECUTABLE_LINKER__nglcomp_test_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX executable $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -193,7 +193,7 @@ rule CXX_EXECUTABLE_LINKER__nglcomp_test_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglsettings_unscanned_Debug
|
||||
rule CXX_COMPILER__nglsettings_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -203,7 +203,7 @@ rule CXX_COMPILER__nglsettings_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglsettings_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglsettings_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -212,7 +212,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglsettings_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__ngltranslator_unscanned_Debug
|
||||
rule CXX_COMPILER__ngltranslator_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -222,7 +222,7 @@ rule CXX_COMPILER__ngltranslator_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngltranslator_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngltranslator_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -231,7 +231,7 @@ rule CXX_SHARED_LIBRARY_LINKER__ngltranslator_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__ngltools_unscanned_Debug
|
||||
rule CXX_COMPILER__ngltools_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -241,7 +241,7 @@ rule CXX_COMPILER__ngltools_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngltools_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__ngltools_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -250,7 +250,7 @@ rule CXX_SHARED_LIBRARY_LINKER__ngltools_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__nglwidgets_unscanned_Debug
|
||||
rule CXX_COMPILER__nglwidgets_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -260,7 +260,7 @@ rule CXX_COMPILER__nglwidgets_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglwidgets_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__nglwidgets_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -269,7 +269,7 @@ rule CXX_SHARED_LIBRARY_LINKER__nglwidgets_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__test_nglpdfwidget_unscanned_Debug
|
||||
rule CXX_COMPILER__test_nglpdfwidget_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -279,7 +279,7 @@ rule CXX_COMPILER__test_nglpdfwidget_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX executable.
|
||||
|
||||
rule CXX_EXECUTABLE_LINKER__test_nglpdfwidget_Debug
|
||||
rule CXX_EXECUTABLE_LINKER__test_nglpdfwidget_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX executable $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -288,7 +288,7 @@ rule CXX_EXECUTABLE_LINKER__test_nglpdfwidget_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__NGLLogger_unscanned_Debug
|
||||
rule CXX_COMPILER__NGLLogger_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -298,7 +298,7 @@ rule CXX_COMPILER__NGLLogger_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX shared library.
|
||||
|
||||
rule CXX_SHARED_LIBRARY_LINKER__NGLLogger_Debug
|
||||
rule CXX_SHARED_LIBRARY_LINKER__NGLLogger_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX shared library $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
@@ -307,7 +307,7 @@ rule CXX_SHARED_LIBRARY_LINKER__NGLLogger_Debug
|
||||
#############################################
|
||||
# Rule for compiling CXX files.
|
||||
|
||||
rule CXX_COMPILER__test_ngllogger_unscanned_Debug
|
||||
rule CXX_COMPILER__test_ngllogger_unscanned_Release
|
||||
depfile = $DEP_FILE
|
||||
deps = gcc
|
||||
command = ${LAUNCHER}${CODE_CHECK}/usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||
@@ -317,7 +317,7 @@ rule CXX_COMPILER__test_ngllogger_unscanned_Debug
|
||||
#############################################
|
||||
# Rule for linking CXX executable.
|
||||
|
||||
rule CXX_EXECUTABLE_LINKER__test_ngllogger_Debug
|
||||
rule CXX_EXECUTABLE_LINKER__test_ngllogger_Release
|
||||
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
||||
description = Linking CXX executable $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
|
||||
Reference in new issue
Block a user