I'm working with an example based on the following link
I'm trying to connect a certain function with a given parameter when a certain slider is released.
connect(m_customUIForm.horizontalSliderOr, &QAbstractSlider::sliderReleased(), this, [this]{ sendMoveActuator(1); });
The problem seems to lie in the signal &QAbstractSlider::sliderReleased()
error: cannot call member function 'void QAbstractSlider::sliderReleased()' without object
connect(m_customUIForm.horizontalSliderOr, &QAbstractSlider::sliderReleased(), this, [this]{ sendMoveActuator(1); });
Which is the proper way to pass the signal of sliderReleased() ?
^