- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P1: Critical
 - 
    6.1.0 RC2, 6.6.1, 6.6.2
 - 
    Ubuntu 18.04
 
- 
        
 - 
        2ec2c54e0 (dev), 9fef654cc (6.7), ae502ec39 (tqtc/lts-6.5)
 
uic uses new signal/slots syntax but does not use qOverload template. For example, uic produces uncompilable code for forms with connection to QLabel::setNum(int) slot. See attached example.
Compilation error:
In file included from mainwindow.cpp:4:0:
ui_mainwindow.h: In member function ‘void Ui_MainWindow::setupUi(QMainWindow*)’:
ui_mainwindow.h:71:90: error: no matching function for call to ‘QObject::connect(QSlider*&, void (QAbstractSlider::)(int), QLabel&, <unresolved overloaded function type>)’
QObject::connect(horizontalSlider, &QSlider::valueChanged, label, &QLabel::setNum);
^
- resulted from
 - 
                    
QTBUG-76375 Qt 6: Connection syntax migration
-         
 - Reported
 
 -