Deprecated Qt function
Opened this issue · 4 comments
afabri commented
We have a warning in this testsuite.
Lab_Demo/Plugins/PCA/Basic_generator_plugin.cpp:145:53: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
But according to the Qt documentation we can replace only if we go for Qt 6.7 as minimal version, while we require only 6.4 here
afabri commented
sloriot commented
6.7 was released in april 2024. It will take some time before it will be in stable debian/ubuntu repos.
afabri commented
So we might reconsider this in May 2025.
lrineau commented
We could add the definition QT_WARN_DEPRECATED_UP_TO=0x60700
to the basic_generator_plugin
target:
target_compile_definitions(basic_generator_plugin PRIVATE QT_WARN_DEPRECATED_UP_TO=0x60700)
That will disable the warning.