[MacPorts] #62964: QT 5.9: Add Mavericks Compatibility

MacPorts noreply at macports.org
Tue May 25 02:14:38 UTC 2021


#62964: QT 5.9: Add Mavericks Compatibility
--------------------------------+--------------------
 Reporter:  Wowfunhappy         |      Owner:  (none)
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.7.0
 Keywords:  haspatch mavericks  |       Port:  qt59
--------------------------------+--------------------
 It turns out that QT 5.9 is surprisingly easy to build on Mavericks. I
 just commented out a few functions, and away it went. Replacing
 qmacstyle_mac.mm with the version from QT 5.8 (plus a couple changes) made
 apps look pretty too!

 This patch will allow qt59-qtbase and most of its submodules to build and
 run on Mavericks. I used this a few weekends ago to bulid Mavericks-
 compatible versions of several emulators which require QT 5.9, most
 notably Citra and Dolphin.

 There is one thing I'm a bit stuck on. When I compile QT //without// using
 MacPorts (ie, by following
 https://wiki.qt.io/Building_Qt_5_from_Git#Installing_.28Linux_.2F_OS_X.29),
 QTTools builds without issue! In MacPorts, however, it fails:

 {{{
 Undefined symbols for architecture x86_64:
   "vtable for ApplicationEventFilter", referenced from:
       _main in main.o
 }}}

 I'd rather not disable the QTTools subport, since I know it //should// be
 able to work.

 Anyway, up to you whether the patch is desirable to have in MacPorts, I
 just wanted to share it. Please let me know if there's anything I can fix
 up, as I've never done this before!

-- 
Ticket URL: <https://trac.macports.org/ticket/62964>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list