[MacPorts] #53886: submission: port:qt5-kde

MacPorts noreply at macports.org
Tue Jan 2 12:44:31 UTC 2024


#53886: submission: port:qt5-kde
-------------------------+--------------------
  Reporter:  RJVB        |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qt5-kde     |
-------------------------+--------------------

Comment (by RJVB):

 Not building the Cocoa QPA would solve a number of backwards compatibility
 issues but not all. The platform QPA is only for the GUI but Qt contains a
 lot of other platform-specific code. Most but not all of that is in
 QtBase; QtQML must have a bunch of it too. And then there's the
 QtWebengine component which comes with its own OS-version limitations.

 I did manage to backport Qt 5.9 to OS X 10.9 (and even backport a few Qt
 5.10 classes, and didn't bother with QtWebengine). Most of that was simply
 by re-introducing "outdated" code that was removed, with #ifdefs. Earlier
 versions of my qt5-kde ports (in my MacStrop repo) will support earlier OS
 versions as per Qt standards; it looks like I got the first functioning
 X11 subport with Qt 5.5.0 (but evidently it kept evolving!).

 As you probably saw, the qt5-kde-x11 subport builds the qtbase and
 qtx11extras components but throws out all things already installed by the
 main subport in its post-destroot phase. Transfer the subport-specific
 dependencies, patches and configuration arguments to the main subport and
 it will do an X11 build (remember to disable the qtmacextras component). I
 have never verified this but I assume that the other subports will just
 build as normal.

 FWIW, the Qt policy (for v5) has always been that they supported all QPAs
 that could be built and would function on a given platform so a patch set
 to get an X11 version to build that adhered to their standards would in
 principle have been accepted. I've had a ticket open about that but never
 found the courage (nor time) to jump through all the hoops.

-- 
Ticket URL: <https://trac.macports.org/ticket/53886#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list