Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.1
-
-
efc959e966 (qt/qttools/dev) efc959e966 (qt/tqtc-qttools/dev) d3fcd1ee39 (qt/qttools/6.3) 77efdbfd62 (qt/qttools/6.4) d3fcd1ee39 (qt/tqtc-qttools/6.3) 77efdbfd62 (qt/tqtc-qttools/6.4)
Description
Strangely some Qt5 ui file which compiles good with Qt5, does not compiles with Qt6. For some reason ui.xxx.h file tries to connect with slot in parent class instead of derived class.
Attached ui file example can be used to reproduce it:
1: download unzip and qmake make using Qt5 qmake
It compiles without problem.
2: download unzip and qmake make using Qt6.2.1 qmake
it gives following error:
uic/ui_guicoorddlg.h:141:94: error: no member named 'formDone' in 'QDialog'
QObject::connect(buttonOk, &QPushButton;::clicked, guicoorddlg, qOverload<>(&QDialog;::formDone));
Attachments
For Gerrit Dashboard: QTBUG-99421 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
415959,10 | Designer: Add a code for legacy custom signals/slots | dev | qt/qttools | Status: MERGED | +2 | 0 |
416489,2 | Designer: Add a code for legacy custom signals/slots | 6.4 | qt/qttools | Status: MERGED | +2 | 0 |
416490,2 | Designer: Add a code for legacy custom signals/slots | 6.3 | qt/qttools | Status: MERGED | +2 | 0 |