[MacPorts] #49303: qt4-mac: Update to 4.8.7_2 Breaks CMake

MacPorts noreply at macports.org
Tue Oct 20 00:19:28 PDT 2015


#49303: qt4-mac: Update to 4.8.7_2 Breaks CMake
-------------------------------+-------------------------
  Reporter:  digitalriptide@…  |      Owner:  michaelld@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.4
Resolution:                    |   Keywords:
      Port:  qt4-mac           |
-------------------------------+-------------------------

Comment (by felix.sygulla@…):

 Replying to [comment:4 michaelld@…]:
 > There are lots of ports that use qt4-mac (and qt5-mac). About 1/2 of
 them have been verified to work with the new qt4-mac directory, including
 many that use cmake. Part of the intent behind this move is to allow qt4
 and qt5 to be installed at the same time, which means that neither should
 be accessible by default (without special settings). The way one finds a
 Qt install is to set the QMAKE and/or QTDIR environment variables. Both
 are set when one uses the Qt4 or Qt5 PortGroup. The ports having issues
 thus far have not used this PortGroup and are just setting a dependency on
 qt4-mac; this technique just won't work.
 >
 > So, let me say this again: can you provide an example port that's
 broken? Please start listing them here & we'll get them fixed. Without a
 list, I can't just go in an start installing arbitrary ports to see if
 they work or not.

 The problem is really more for builds ouside macports using cmake + qt4.
 The current setup makes it hardly understandable why qmake is not in the
 path even though qt4 is installed (and is the only qt version on the
 system). For our cmake build files I now have to differentiate between qt4
 version prior to 4.8.7_2 and 4.8.7_2 with completely different path. That
 is not very nice and not the idea of installing a package and having all
 things in known paths.. (at least for builds outside of the macports
 world). Why can't we keep the first qt version ever on the system
 installed  (e.g. qt4) in the old paths and check if there is already a qt
 and install the "second" version (e.g. qt5) in the new path? Just a
 suggestion..

-- 
Ticket URL: <https://trac.macports.org/ticket/49303#comment:14>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list