[frameworks-knotifications] [Bug 479211] New: Failure to build on MacOS 12+ due to use of a deprecated framwork

embersp at pm.me embersp at pm.me
Sun Dec 31 06:20:05 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=479211

            Bug ID: 479211
           Summary: Failure to build on MacOS 12+ due to use of a
                    deprecated framwork
    Classification: Frameworks and Libraries
           Product: frameworks-knotifications
           Version: 5.247.0
          Platform: Compiled Sources
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-bugs at kde.org
          Reporter: embersp at pm.me
                CC: kdelibs-bugs at kde.org
  Target Milestone: ---

SUMMARY
When building with the make command on MacOS 12+, the make command fails during
"Building CXX object
src/CMakeFiles/KF6Notifications.dir/notifybymacosnotificationcenter.mm.o" due
to "NSUserNotificationCenter" being deprecated. Therefore the framework cannot
be compiled with proper support for notifications on modern versions of MacOS.


STEPS TO REPRODUCE
1. Download knotifications sources on a computer running MacOS 12+
2. cmake
3. make

OBSERVED RESULT
Failure to compile due to deprecated notification framework

EXPECTED RESULT
Successful compilation

SOFTWARE/OS VERSIONS
macOS: 14.1.1 ARM64
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Make logs: https://gist.github.com/Bens0/38b39cf76fdd1b89cccc130c055bb6cf

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list