D19455: [knotification] compile without deprecated methods
Ben Cooksley
noreply at phabricator.kde.org
Sun Apr 28 09:52:01 BST 2019
bcooksley added a comment.
This change has broken builds on macOS.
Please see https://binary-factory.kde.org/view/MacOS/job/Kig_Nightly_macos/407/console
Whilst not documented in the Qt Documentation, the `qmacfunctions.h` header (which is what is included by `#include <QtMac>`) has the following:
#ifdef Q_OS_OSX
#if QT_DEPRECATED_SINCE(5, 12)
QT_DEPRECATED_X("Use NSApp.dockTile.badgeLabel") Q_MACEXTRAS_EXPORT void setBadgeLabelText(const QString &text);
QT_DEPRECATED_X("Use NSApp.dockTile.badgeLabel") Q_MACEXTRAS_EXPORT QString badgeLabelText();
QT_DEPRECATED_X("Use QPixmap::toImage, QImage::toCGImage, and -[NSImage initWithCGImage:size:]")
Q_MACEXTRAS_EXPORT NSImage *toNSImage(const QPixmap &pixmap);
#endif
Thoughts on the best way forward for macOS builds?
This change due to being in a Framework has KOed all Binary Factory builds for macOS.
REPOSITORY
R289 KNotifications
REVISION DETAIL
https://phabricator.kde.org/D19455
To: mlaurent, dfaure
Cc: bcooksley, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190428/da506213/attachment.html>
More information about the Kde-frameworks-devel
mailing list