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
@@ -0,0 +1,4 @@
|
||||
nglcomp_test 4 0.00658779
|
||||
test_nglpdfwidget 4 0.0145624
|
||||
test_ngllogger 5 0.00217855
|
||||
---
|
||||
@@ -0,0 +1,94 @@
|
||||
Start testing: Jul 14 20:44 UTC
|
||||
----------------------------------------------------------
|
||||
1/3 Testing: nglcomp_test
|
||||
1/3 Test: nglcomp_test
|
||||
Command: "/repo/build/bin/nglcomp_test"
|
||||
Directory: /repo/build/Z/src/nglcompression
|
||||
"nglcomp_test" start time: Jul 14 20:44 UTC
|
||||
Output:
|
||||
----------------------------------------------------------
|
||||
Could not find log4cxx configuration file log4cxx_nglcomp_test.props
|
||||
Using default logging to stdout
|
||||
********* Start testing of nglcomp_test *********
|
||||
Config: Using QtTest library 6.8.3, Qt 6.8.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1)), ubuntu 24.04
|
||||
PASS : nglcomp_test::initTestCase()
|
||||
2026-07-14 20:44:06.762 ERROR nglcompress |#| success? 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:500)
|
||||
2026-07-14 20:44:06.762 ERROR nglcompress |#| success details: success m_future.isFinished() = 1 !m_future.isCanceled() = 1 m_success = 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:501)
|
||||
QWARN : nglcomp_test::testCompressFile() ## COMPRESS DTOR!!!!
|
||||
PASS : nglcomp_test::testCompressFile()
|
||||
2026-07-14 20:44:06.762 ERROR nglcompress |#| success? 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:500)
|
||||
2026-07-14 20:44:06.762 ERROR nglcompress |#| success details: success m_future.isFinished() = 1 !m_future.isCanceled() = 1 m_success = 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:501)
|
||||
QWARN : nglcomp_test::testCompressMemory() ## COMPRESS DTOR!!!!
|
||||
PASS : nglcomp_test::testCompressMemory()
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success? 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:500)
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success details: success m_future.isFinished() = 1 !m_future.isCanceled() = 1 m_success = 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:501)
|
||||
QWARN : nglcomp_test::testUncompressFile() ## COMPRESS DTOR!!!!
|
||||
PASS : nglcomp_test::testUncompressFile()
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success? 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:500)
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success details: success m_future.isFinished() = 1 !m_future.isCanceled() = 1 m_success = 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:501)
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success? 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:500)
|
||||
2026-07-14 20:44:06.764 ERROR nglcompress |#| success details: success m_future.isFinished() = 1 !m_future.isCanceled() = 1 m_success = 1 (/repo/Z/src/nglcompression/nglcomp_compress.cpp:501)
|
||||
QWARN : nglcomp_test::testUncompressMemory() ## COMPRESS DTOR!!!!
|
||||
PASS : nglcomp_test::testUncompressMemory()
|
||||
PASS : nglcomp_test::cleanupTestCase()
|
||||
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 7ms
|
||||
********* Finished testing of nglcomp_test *********
|
||||
<end of output>
|
||||
Test time = 0.03 sec
|
||||
----------------------------------------------------------
|
||||
Test Passed.
|
||||
"nglcomp_test" end time: Jul 14 20:44 UTC
|
||||
"nglcomp_test" time elapsed: 00:00:00
|
||||
----------------------------------------------------------
|
||||
|
||||
2/3 Testing: test_nglpdfwidget
|
||||
2/3 Test: test_nglpdfwidget
|
||||
Command: "/repo/build/bin/test_nglpdfwidget"
|
||||
Directory: /repo/build/Z/src/nglwidgets
|
||||
"test_nglpdfwidget" start time: Jul 14 20:44 UTC
|
||||
Output:
|
||||
----------------------------------------------------------
|
||||
********* Start testing of TestPDFWidget *********
|
||||
Config: Using QtTest library 6.8.3, Qt 6.8.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1)), ubuntu 24.04
|
||||
PASS : TestPDFWidget::initTestCase()
|
||||
PASS : TestPDFWidget::testConstruct()
|
||||
PASS : TestPDFWidget::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 13ms
|
||||
********* Finished testing of TestPDFWidget *********
|
||||
<end of output>
|
||||
Test time = 0.06 sec
|
||||
----------------------------------------------------------
|
||||
Test Passed.
|
||||
"test_nglpdfwidget" end time: Jul 14 20:44 UTC
|
||||
"test_nglpdfwidget" time elapsed: 00:00:00
|
||||
----------------------------------------------------------
|
||||
|
||||
3/3 Testing: test_ngllogger
|
||||
3/3 Test: test_ngllogger
|
||||
Command: "/repo/build/bin/test_ngllogger"
|
||||
Directory: /repo/build/Z/src/NGLLogger
|
||||
"test_ngllogger" start time: Jul 14 20:44 UTC
|
||||
Output:
|
||||
----------------------------------------------------------
|
||||
Could not find log4cxx configuration file log4cxx.props
|
||||
Using default logging to stdout
|
||||
2026-07-14 20:44:06.836 INFO Gui |#| Application is started (1.2-unknown rev0 from 01.01.2018) (/repo/Z/src/NGLLogger/test_ngllogger.cpp:13)
|
||||
2026-07-14 20:44:06.836 INFO Gui |#| Application is shut down (1.2-unknown rev0 from 01.01.2018) (/repo/Z/src/NGLLogger/test_ngllogger.cpp:14)
|
||||
2026-07-14 20:44:06.836 INFO Gui |#| Gui - NOTICE (/repo/Z/src/NGLLogger/test_ngllogger.cpp:15)
|
||||
2026-07-14 20:44:06.836 WARN Gui |#| Gui - WARNING (/repo/Z/src/NGLLogger/test_ngllogger.cpp:19)
|
||||
2026-07-14 20:44:06.836 ERROR Gui |#| Gui - ERROR (/repo/Z/src/NGLLogger/test_ngllogger.cpp:20)
|
||||
2026-07-14 20:44:06.836 FATAL Gui |#| Gui - FATAL (/repo/Z/src/NGLLogger/test_ngllogger.cpp:21)
|
||||
2026-07-14 20:44:06.836 INFO Gui::AES |#| Gui.AES - NOTICE (/repo/Z/src/NGLLogger/test_ngllogger.cpp:24)
|
||||
2026-07-14 20:44:06.836 WARN Gui::AES |#| Gui.AES - WARNING (/repo/Z/src/NGLLogger/test_ngllogger.cpp:28)
|
||||
2026-07-14 20:44:06.836 ERROR Gui::AES |#| Gui.AES - ERROR (/repo/Z/src/NGLLogger/test_ngllogger.cpp:29)
|
||||
2026-07-14 20:44:06.836 FATAL Gui::AES |#| Gui.AES - FATAL (/repo/Z/src/NGLLogger/test_ngllogger.cpp:30)
|
||||
2026-07-14 20:44:06.836 INFO Gui::AES |#| Application is shut down (1.2-unknown rev0 from 01.01.2018) (/repo/Z/src/NGLLogger/test_ngllogger.cpp:31)
|
||||
<end of output>
|
||||
Test time = 0.01 sec
|
||||
----------------------------------------------------------
|
||||
Test Passed.
|
||||
"test_ngllogger" end time: Jul 14 20:44 UTC
|
||||
"test_ngllogger" time elapsed: 00:00:00
|
||||
----------------------------------------------------------
|
||||
|
||||
End testing: Jul 14 20:44 UTC
|
||||
@@ -0,0 +1 @@
|
||||
1:nglcomp_test
|
||||
Reference in new issue
Block a user