[MacPorts] #44193: qt: allow side by side installation of qt4-mac and qt5-mac
MacPorts
noreply at macports.org
Sat Sep 6 12:16:53 PDT 2014
#44193: qt: allow side by side installation of qt4-mac and qt5-mac
-------------------------------+------------------------
Reporter: mojca@… | Owner: mcalhoun@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac, qt5-mac |
-------------------------------+------------------------
Comment (by rjvbertin@…):
OK, I'll have to read up on the standard paths issue.... (when http://qt-
project.org/doc/qt-5/qstandardpaths.html is back up. ..)
But as to xdg ... what's to keep us from having configuration files under
${prefix}/etc/xdg(/qtchooser/*.conf) ? There seem to be a few
xdg/freedesktop related ports already, after all ...
As to the parallel installation issue, I agree with Michael. Linux
packagers have found a certain number of solutions, among which qtchooser
(http://manpages.ubuntu.com/manpages/trusty/en/man1/qtchooser.1.html).
I cannot evaluate how many ports there are now that depend on Qt5, but I
would guess that there are (many) more ports that require Qt4 than Qt5.
(Edit: I count 6 Portfiles that contain the string qt5, apart from qt5-mac
and qt5-creator ... and that includes pyqt5...). So the most safe approach
would probably be to leave Qt4 where it is as far as that's possible OR by
default link tools like qmake to the Qt4 version.
There might also be the option to use versioned frameworks, but I have
never understood how (and if...) that actually works without specifying
all paths by hand...
--
Ticket URL: <https://trac.macports.org/ticket/44193#comment:19>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list