Skip to content
/ pokerth Public
forked from pokerth/pokerth

PokerTH is a poker game written in C++/Qt.

License

Notifications You must be signed in to change notification settings

Hains/pokerth

 
 

Repository files navigation

Fix build against Qt6

uics/ui_settingsdialog.h: In member function ‘void Ui_settingsDialog::setupUi(QDialog*)’: uics/ui_settingsdialog.h:2442:25: error: no matching function for call to ‘QObject::connect(QSlider*&, void (QAbstractSlider::)(int), QLabel&, )’ 2442 | QObject::connect(horizontalSlider_soundVolume, &QSlider::valueChanged, label_soundVolume, &QLabel::setNum); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:22,

ui_settingsdialog.h is an automatically generated file.

Change line 2442

From

QObject::connect(horizontalSlider_soundVolume, &QSlider::valueChanged, label_soundVolume, &QLabel::setNum);

to

QObject::connect(horizontalSlider_soundVolume, &QSlider::valueChanged, label_soundVolume, qOverload(&QLabel::setNum));

About

PokerTH is a poker game written in C++/Qt.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 87.2%
  • Java 5.8%
  • QMake 1.9%
  • QML 1.8%
  • C 1.4%
  • HTML 1.0%
  • Other 0.9%