Bug#946327: khotkeys FTBFS: error: no matching function for call to ‘KDialog::KDialog(QWidget*&)’
Source: khotkeys
Version: 4:5.14.5-1
Severity: serious
Tags: ftbfs
khotkeys fails to build from source in unstable:
| In file included from /<<PKGBUILDDIR>>/kcm_hotkeys/conditions/conditions_widget.cpp:30:
| /<<PKGBUILDDIR>>/kcm_hotkeys/helper_widgets/window_definition_list_widget.h: In constructor ‘WindowDefinitionListDialog::WindowDefinitionListDialog(KHotKeys::Windowdef_list*, QWidget*)’:
| /<<PKGBUILDDIR>>/kcm_hotkeys/helper_widgets/window_definition_list_widget.h:97:22: error: no matching function for call to ‘KDialog::KDialog(QWidget*&)’
| 97 | ,def(NULL)
| | ^
| In file included from /usr/include/KF5/KDELibs4Support/KDE/KDialog:1,
| from /<<PKGBUILDDIR>>/kcm_hotkeys/helper_widgets/window_definition_list_widget.h:26,
| from /<<PKGBUILDDIR>>/kcm_hotkeys/conditions/conditions_widget.cpp:30:
| /usr/include/KF5/KDELibs4Support/kdialog.h:128:41: note: candidate: ‘KDialog::KDialog()’
| 128 | class KDELIBS4SUPPORT_DEPRECATED_EXPORT KDialog : public QDialog //krazy:exclude=qclasses
| | ^~~~~~~
| /usr/include/KF5/KDELibs4Support/kdialog.h:128:41: note: candidate expects 0 arguments, 1 provided
Reproduced by reproducible builds:
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/khotkeys_5.14.5-1.rbuild.log.gz
Reproduced by crossqa:
http://crossqa.debian.net/build/khotkeys_4:5.14.5-1_ppc64el_20191113045908.log
Helmut
Reply to: