Project

General

Profile

Actions

Bug #687

closed

QCheckBox::stateChanged() deprecated in Qt-6.9

Added by Marko Lindqvist 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
Qt-client
Target version:
Start date:
05/30/2024
Due date:
% Done:

0%

Estimated time:

Description

QCheckBox::stateChanged() is deprecated in Qt-6.9. The replacement has been introduced in Qt-6.7. Build in Qt6x-mode should not use QCheckBox::stateChanged() once we are ready to require at least Qt-6.7.


Files

Actions #1

Updated by Marko Lindqvist 6 months ago

Moc generated meta source files fail to compile when the original header has the old and the new slot defined by the same name, even when conditional compiling makes sure only one of them is present at a time. Further, having them by different names, but only one of them defined at a time resulted in complains about the other one (name) to be present. The only way I got this working was to always provide both slots, and only connect signals to either one with conditional compilation.

Actions #2

Updated by Marko Lindqvist 6 months ago

Actions #3

Updated by Marko Lindqvist 6 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF