[Qt-interest] const issue with QWizard
wim.delvaux at adaptiveplanet.com
wim.delvaux at adaptiveplanet.com
Fri Dec 19 03:07:19 CET 2008
Hi all,
Doc states that if you overrule isComplete to figure out if the next button
should be enabled or not, you should emit the completeChanged signal when the
complete state changes.
However the isComplete is a CONST method and the signal is not. This causes
(my) gcc4 to report a const violation in that the 'this' when issuing the
signal is const and that the const correctness is discarded for this signal.
Is that a bug in Qt4.3 ? Is it fixed in later versions ?
W
More information about the Qt-interest-old
mailing list