Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.13.0 Beta3
-
None
-
-
21
-
PM Pending Features
Description
To what extent can the old connection syntax be deprecated?
Points to consider
- uic currently generates the old syntax
- uic calls QMetaObject::connectSlotsByName()
Potential action points/TBD
- Port uic to generate Qt 5 syntax. That would require to generate QOverload for any function with parameters, but then QOverload would have to be made agnostic of "const QString &" vs "QString") first.
- Drop QMetaObject::connectSlotsByName() from uic (option?) or
- Change QMetaObject::connectSlotsByName() to output warnings and maybe the connections in C++ so that it can be easily added
- Add a per-form setting to Designer so that connectSlotsByName() can be disabled by form for migration?
Attachments
Issue Links
- is required for
-
QTBUG-71036 Qt Core Changes in Qt 6
- Closed
- relates to
-
QTCREATORBUG-25164 Add support for "connectslotsbyname" attribute in UI files
- Reported
- resulted in
-
QTBUG-90308 REG: uic creates ambiguous signal/slot connections
- Closed
-
QTBUG-93413 uic and overloaded slots
- Closed