Opened 9 years ago
Closed 9 years ago
#48369 closed defect (duplicate)
qt4-mac and OS X 10.11
Reported by: | mdeaudelin (Mathieu Deaudelin-Lemay) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | michaelld (Michael Dickens) |
Port: | qt4-mac |
Description
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.
Attachments (1)
Change History (2)
Changed 9 years ago by mdeaudelin (Mathieu Deaudelin-Lemay)
Attachment: | patch-qt4-osx-1011.diff added |
---|
comment:1 Changed 9 years ago by michaelld (Michael Dickens)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #48129. I'll add you on CC there & note the patch that's here.