Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109478

While Trying give signal from slider to label by click it's not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.1
    • None
    • Windows

      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);

      ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ceomehmet MEHMET BILEN
            ceomehmet MEHMET BILEN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes