user/trojita: FTBFS: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
Found on ppc64 (caused by Qt bump):
...
In file included from /usr/include/QtWidgets/qwidget.h:50,
from /usr/include/QtWidgets/qdesktopwidget.h:44,
from /usr/include/QtWidgets/QDesktopWidget:1,
from /root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:26:
/usr/include/QtGui/qfontmetrics.h:106:9: note: declared here
int width(const QString &, int len = -1) const;
^~~~~
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:981:26: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
QPainterPath path;
^~~~
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:991:120: warning: ‘static QString Gui::MainWindow::trUtf8(const char*, const char*, int)’ is deprecated [-Wdeprecated-declarations]
tooltip += trUtf8(" - %n unread message(s)", 0, mailbox.data(Imap::Mailbox::RoleUnreadMessageCount).toInt());
^
In file included from /usr/include/QtCore/qmetatype.h:50,
from /usr/include/QtCore/qvariant.h:46,
from /usr/include/QtNetwork/qauthenticator.h:45,
from /usr/include/QtNetwork/QAuthenticator:1,
from /root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:24:
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.h:91:5: note: declared here
Q_OBJECT
^~~~~~~~
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:991:120: warning: ‘static QString Gui::MainWindow::trUtf8(const char*, const char*, int)’ is deprecated [-Wdeprecated-declarations]
tooltip += trUtf8(" - %n unread message(s)", 0, mailbox.data(Imap::Mailbox::RoleUnreadMessageCount).toInt());
^
In file included from /usr/include/QtCore/qmetatype.h:50,
from /usr/include/QtCore/qvariant.h:46,
from /usr/include/QtNetwork/qauthenticator.h:45,
from /usr/include/QtNetwork/QAuthenticator:1,
from /root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:24:
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.h:91:5: note: declared here
Q_OBJECT
^~~~~~~~
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp: In member function ‘virtual void Gui::MainWindow::closeEvent(QCloseEvent*)’:
/root/packages/user/trojita/src/trojita-0.7/src/Gui/Window.cpp:1004:58: warning: ‘static QString Gui::MainWindow::trUtf8(const char*, const char*, int)’ is deprecated [-Wdeprecated-declarations]
...