[MacPorts] #48516: qt5-mac, qt4-mac build error in qcocoacursor.mm

MacPorts noreply at macports.org
Wed Oct 14 08:35:56 PDT 2015


#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/Reference/QuartzEventServicesRef/#//apple_ref/c/func/CGEventCreateMouseEvent
 , 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


More information about the macports-tickets mailing list