[MacPorts] #49925: KF5 : PortGroup and initial ports (frameworks)
MacPorts
noreply at macports.org
Thu Aug 18 14:21:11 PDT 2016
#49925: KF5 : PortGroup and initial ports (frameworks)
--------------------------+------------------
Reporter: rjvbertin@… | Owner: mk@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+------------------
Comment (by mati865@…):
Replying to [comment:30 rjvbertin@…]:
> Have another look at my QSP/XDG patch. I introduce class methods that
take a mode switch, which is effectively hidden and hard-coded to "native"
in the standard QSP usage. There's an extended QSP class in which those
methods are exposed and the mode switch gets a default value that is
determined at compile time. Sounds complicated (and it probably is a bit
more so than strictly necessary), but in practice you just have to set 2
preprocessor tokens (macros) to build dependent code such that it uses the
appropriate QSP mode. One macro basically replaces the QStandardPaths
class with the QExtStandardPaths class, while the other macro determines
the default value for the mode switch.
I think I've looked at wrong patch.
https://github.com/RJVB/macstrop/blob/master/aqua/qt5-kde/files/fix-
qstandardpaths4.patch is the correct one? It could be possible to extend
this patch, however I don't full understand it yet. I'll add you do github
discuss about patching Qt.
--
Ticket URL: <https://trac.macports.org/ticket/49925#comment:32>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list