[MacPorts] #49629: qmake is in /opt/local/libexec/qt4/bin/qmake
#49629: qmake is in /opt/local/libexec/qt4/bin/qmake ------------------------+-------------------------------- Reporter: rickrich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- qmake is in /opt/local/libexec/qt4/bin/qmake: $ ll /opt/local/libexec/qt4/bin/qmake -rwxr-xr-x 1 root admin 5573924 Nov 8 11:47 /opt/local/libexec/qt4/bin/qmake But there is no symlink to: $ ll /opt/local/bin/qmake ls: /opt/local/bin/qmake: No such file or directory -- Ticket URL: <https://trac.macports.org/ticket/49629> MacPorts <https://www.macports.org/> Ports system for OS X
#49629: qt4-mac: qmake is in /opt/local/libexec/qt4/bin/qmake -------------------------+------------------------- Reporter: rickrich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: => qt4-mac Old description:
qmake is in /opt/local/libexec/qt4/bin/qmake:
$ ll /opt/local/libexec/qt4/bin/qmake -rwxr-xr-x 1 root admin 5573924 Nov 8 11:47 /opt/local/libexec/qt4/bin/qmake
But there is no symlink to:
$ ll /opt/local/bin/qmake ls: /opt/local/bin/qmake: No such file or directory
New description: qmake is in /opt/local/libexec/qt4/bin/qmake: {{{ $ ll /opt/local/libexec/qt4/bin/qmake -rwxr-xr-x 1 root admin 5573924 Nov 8 11:47 /opt/local/libexec/qt4/bin/qmake }}} But there is no symlink to: {{{ $ ll /opt/local/bin/qmake ls: /opt/local/bin/qmake: No such file or directory }}} -- Comment: I believe that is intentional, so that the qt4-mac and qt5-mac ports do not conflict. -- Ticket URL: <https://trac.macports.org/ticket/49629#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49629: qt4-mac: qmake is in /opt/local/libexec/qt4/bin/qmake -------------------------+------------------------- Reporter: rickrich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by rickrich@…): I don't have qt5-mac installed, tho! Thus, it should be symlinked! -- Ticket URL: <https://trac.macports.org/ticket/49629#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49629: qt4-mac: qmake is in /opt/local/libexec/qt4/bin/qmake -------------------------+------------------------- Reporter: rickrich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by ryandesign@…): Since there are ports for multiple versions of qt, none of them should install commonly-named binaries or other files. Instead, [ticket:47294 there should be a qt_select port] to let you choose. -- Ticket URL: <https://trac.macports.org/ticket/49629#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49629: qt4-mac: qmake is in /opt/local/libexec/qt4/bin/qmake -------------------------+------------------------- Reporter: rickrich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Changes (by mk@…): * cc: mk@…, rjvbertin@… (added) * version: 2.3.4 => -- Ticket URL: <https://trac.macports.org/ticket/49629#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49629: qt4-mac: qmake is in /opt/local/libexec/qt4/bin/qmake -------------------------+------------------------- Reporter: rickrich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by rjvbertin@…): Replying to [comment:3 ryandesign@…]:
Since there are ports for multiple versions of qt, none of them should install commonly-named binaries or other files. Instead, [ticket:47294 there should be a qt_select port] to let you choose.
My Qt ports do provide the data required for qt_select, but I've also submitted qtchooser which I think is preferable to `port select`. That's a port that will install qmake (and moc and uic and a bunch of other utilities) as a symlink to qtchooser-mp, which is itself a wrapper utility that proxies for any number of declared Qt installations. The port will declare the Qt 4 and/or 5 versions provided by MacPorts, and allows you to declare a default version. Thus: - `qmake` will invoke either /opt/local/libexec/qt4/bin/qmake or /opt/local/libexec/qt5/bin/qmake or whatever you have set the default to - `qmake -qt=qt4-mac` will invoke the qmake binary from port:qt4-mac - `qmake -qt=qt5-kde` will invoke the qmake binary from port:qt5-kde (shameless plug for a port I submitted) - `qmake -qt=my-own-Qt` will invoke the qmake binary from an environment "my-own-Qt" that you've declared yourself by calling `qtchooser-mp -install` -- Ticket URL: <https://trac.macports.org/ticket/49629#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts