[MacPorts] #48369: qt4-mac and OS X 10.11

MacPorts noreply at macports.org
Wed Jul 15 12:54:10 PDT 2015


#48369: qt4-mac and OS X 10.11
--------------------------+--------------------------------
 Reporter:  mdeaudelin@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:  haspatch      |       Port:  qt4-mac
--------------------------+--------------------------------
 The qt4-mac port refuses to build under OS X 10.11 beta for two reasons:
 * There is an OS version check in the Portfile.
 * Qt4 refers to APIs which have been deprecated in OS X 10.6 and whose
 headers are no longer present in the OS X 10.11 SDK (parts of ColorSync
 and ATS, for example, like the CMGetProfileByAVID function).

 Considering that rewriting the problematic parts of code is quite an
 undertaking, that Qt 4.8.7 is the last version of the series and that Qt 4
 will be EOL by the end of this year, I think best approach would be to:
 * Change the version check to allow building on OS X 10.11, with a
 warning.
 * Build the package while setting macosx_deployment_target to 10.10.

 I have attached a patch to this ticket with my proposed changes.

-- 
Ticket URL: <https://trac.macports.org/ticket/48369>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list