#48516: qt5-mac, qt4-mac build error in qcocoacursor.mm ------------------------------+-------------------------------- Reporter: eirnym@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch elcapitan Port: qt4-mac qt5-mac | ------------------------------+-------------------------------- Comment (by michaelld@…): I like this fix. According to Apple https://developer.apple.com/library/prerelease/mac/documentation/Carbon/Refe... , CGEventCreateMouseEvent can return NULL in which case the event should not be used or released. Checking to make sure the event is valid seems reasonable. -- Ticket URL: <https://trac.macports.org/ticket/48516#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X