[MacPorts] #45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle

MacPorts noreply at macports.org
Sat Oct 4 04:37:17 PDT 2014


#45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle
--------------------------+-------------------------
  Reporter:  rjvbertin@…  |      Owner:  michaelld@…
      Type:  defect       |     Status:  new
  Priority:  High         |  Milestone:
 Component:  ports        |    Version:  2.3.1
Resolution:               |   Keywords:  haspatch
      Port:  qt4-mac      |
--------------------------+-------------------------

Comment (by rjvbertin@…):

 Replying to [comment:3 michaelld@…]:
 > I'm going to be working on Qt4 in 10.10 soon (next week hopefully) and
 will add in this patch when I do that one (and others).

 Hi Michael:

 Would you be interested in trying to combine that with a change in the way
 Qt4 is installed, in preparation for concurrent Qt4 and Qt5 installs, with
 qtchooser as a runtime means to pick one or the other where relevant
 (qmake for instance)?

 I'd see this as follows
 - install Qt4-mac to ${prefix}/lib/qt4
 - put symlinks pointing to the required frameworks, libraries (and helper
 binaries?) in the places where they are installed currently
 - ditto for Qt5-mac

 The current exclusive install will make that symlink approach possible,
 which will in turn allow existing applications to function without
 rebuilding. Hopefully it will also ensure that `port` will not detect
 missing dependencies and trigger a rebuild of all Qt dependents.
 Newly built applications will refer to the new library/framework
 locations, making the approach even easier than it is on Linux.

 qtchooser can then be set up to serve the selected install trees for Qt4
 and Qt5 (tested separately of course), and once that works on bot Qt4 and
 Qt5 installs the symlink glue can be removed which ought to trigger a
 rebuild of all ports depending on Qt.

 What do you think? I'm willing to test this for the current Qt4-mac port
 on my end, if you give me some pointers what to change where in that
 complicated portfile ....

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


More information about the macports-tickets mailing list