-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.4.1
-
None
Hello my name is mehmet So I get learning QT as well but as we know while using program we all people get some suck problems. so shortly I mean that on QT 6.4.1 on windows 11 there is problem the problem is while try to give signals (setnum by clicking ) Qslider to Qlabel by click its not working there is creating some problem after try to build the project. but the same file on Linux Mint its work very well.
C:\Users\ceome\OneDrive\Documents\build-qt-signal-Desktop_Qt_6_4_1_MinGW_64_bit-Debug\ui_mainwindow.h:331: error: no matching function for call to 'QObject::connect(QSlider*&, void (QAbstractSlider::)(int), QLabel&, <unresolved overloaded function type>)'
In file included from ..\qt-signal\mainwindow.cpp:2:
./ui_mainwindow.h: In member function 'void Ui_MainWindow::setupUi(QMainWindow*)':
./ui_mainwindow.h:331:25: error: no matching function for call to 'QObject::connect(QSlider*&, void (QAbstractSlider::)(int), QLabel&, <unresolved overloaded function type>)'
331 | QObject::connect(lit, &QSlider::valueChanged, little, &QLabel::setNum);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |