[MacPorts] #57577: qt4-mac : set the graphicssystem via qtconfig

MacPorts noreply at macports.org
Mon Nov 12 18:48:07 UTC 2018


#57577: qt4-mac : set the graphicssystem via qtconfig
--------------------------+-----------------------
  Reporter:  RJVB         |      Owner:  michaelld
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  qt4-mac      |
--------------------------+-----------------------

Comment (by RJVB):

 Oh bugger, I didn't realise that port:qt4-mac doesn't patch the build
 system so it actually builds qtconfig ... I'm attaching an additional
 patch that does this.

 Fortunately you don't need to rebuild Qt4 completely to get the utility,
 and you don't even have to apply the patch to the Portfile.

 In case you let `port` clean the build directory:
 {{{
 > port -n patch qt4-mac [+your+variants+of+choice]
 }}}

 then create a build directory somewhere, chdir into it and then

 {{{
 > qmake `port work qt4-mac`/qt-everywhere-opensource-
 src-4.8.7/tools/qtconfig/qtconfig.pro
 > make
 }}}

 I'm guessing you'll find qmake in /opt/local/libexec/qt4/bin . After the
 build you'll have a new qtconfig.app bundle which you can run as usual and
 move wherever you want. It's normal that it doesn't have a dedicated icon.

-- 
Ticket URL: <https://trac.macports.org/ticket/57577#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list