SUMMARY kf5-knotifications build fails with error on macOS STEPS TO REPRODUCE 1. brew install kf5-knotifications OBSERVED RESULT ../src/kstatusnotifieritem.cpp:609:16: error: no type named 'setBadgeLabelText' in namespace 'QtMac' QtMac::setBadgeLabelText(QString()); ~~~~~~~^ ../src/kstatusnotifieritem.cpp:963:16: error: no member named 'setBadgeLabelText' in namespace 'QtMac' QtMac::setBadgeLabelText(QString(QChar(0x26a0))/*QStringLiteral("!")*/); ~~~~~~~^ ../src/kstatusnotifieritem.cpp:1020:16: error: no type named 'setBadgeLabelText' in namespace 'QtMac' QtMac::setBadgeLabelText(QString()); EXPECTED RESULT No build errors SOFTWARE/OS VERSIONS macOS: 10.14.5.beta2 Linux/KDE Plasma: KDE Frameworks Version: 5.57 Qt Version: 5.12.2 ADDITIONAL INFORMATION Full log: https://git.io/fjmGe
same here but in mojave 10.14.4 greetings
In Qt 5.12.2 that method is behind QT_DEPRECATED_SINCE(5, 12), so if you're compiling with extra picky flags that might be the issue. Also double-check if Q_OS_OSX and Q_OS_MACOS still match.
ok, seems add -DQT_DISABLE_DEPRECATED_BEFORE=0x050b00 do the trick spurt tons of warnings, but builds ok thanks and greetings
@groot one question, why you know is a deprecated method?, i see in the Qt documentation (https://doc-snapshots.qt.io/qt5-5.12/qtmac.html#setBadgeLabelText) and i can't see it the deprecation greetings
I fetched the zip file of qtmacextras 5.12.2 and looked in the source.
Is this still relevant with the latest version?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!