Bug#906220: kcalutils FTBFS with Qt 5.11
Source: kcalutils
Version: 4:17.12.3-1
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kcalutils.html
...
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp: In member function 'void ScopeWidget::setIcon(const QIcon&)':
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:99:5: error: 'QStyleOption' was not declared in this scope
QStyleOption option;
^~~~~~~~~~~~
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:99:5: note: suggested alternative: 'QStyleOptionFrame'
QStyleOption option;
^~~~~~~~~~~~
QStyleOptionFrame
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:100:5: error: 'option' was not declared in this scope
option.initFrom(this);
^~~~~~
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:100:5: note: suggested alternative: 'actions'
option.initFrom(this);
^~~~~~
actions
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:102:28: error: invalid use of incomplete type 'class QStyle'
icon.pixmap(style()->pixelMetric(QStyle::PM_MessageBoxIconSize, &option, this)));
^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
from /build/1st/kcalutils-17.12.3/obj-x86_64-linux-gnu/src/ui_recurrenceactionsscopewidget.h:15,
from /build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:27:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:58:7: note: forward declaration of 'class QStyle'
class QStyle;
^~~~~~
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:102:50: error: incomplete type 'QStyle' used in nested name specifier
icon.pixmap(style()->pixelMetric(QStyle::PM_MessageBoxIconSize, &option, this)));
^~~~~~~~~~~~~~~~~~~~~
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp: In function 'int KCalUtils::RecurrenceActions::questionMultipleChoice(const QDateTime&, const QString&, const QString&, const KGuiItem&, int, int, QWidget*)':
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:186:36: error: invalid use of incomplete type 'class QStyle'
widget->setIcon(widget->style()->standardIcon(QStyle::SP_MessageBoxQuestion));
^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
from /build/1st/kcalutils-17.12.3/obj-x86_64-linux-gnu/src/ui_recurrenceactionsscopewidget.h:15,
from /build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:27:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:58:7: note: forward declaration of 'class QStyle'
class QStyle;
^~~~~~
/build/1st/kcalutils-17.12.3/src/recurrenceactions.cpp:186:59: error: incomplete type 'QStyle' used in nested name specifier
widget->setIcon(widget->style()->standardIcon(QStyle::SP_MessageBoxQuestion));
^~~~~~~~~~~~~~~~~~~~~
make[4]: *** [src/CMakeFiles/KF5CalendarUtils.dir/build.make:133: src/CMakeFiles/KF5CalendarUtils.dir/recurrenceactions.cpp.o] Error 1
Reply to: