[MacPorts] #55932: qt4-mac: does no build with clang 5

MacPorts noreply at macports.org
Fri Mar 2 08:51:04 UTC 2018


#55932: qt4-mac: does no build with clang 5
----------------------+---------------------
 Reporter:  devernay  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  haspatch  |       Port:  qt4-mac
----------------------+---------------------
 Thanks Michael for updating the qt4-mac port.

 There is stil an error when building with clang-5:

 {{{
 text/qfontengine_coretext.mm:889:20: error: qualified reference to
 'QFixed' is a constructor name rather than a type in this
       context
     return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont)));
                    ^
 }}}

 patch:
 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-4.x/4.8/clang-5-darwin.patch

 BTW, there may be other interesting patches in that repo, such as:
 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-4.x/4.8
 /qsettings-recursive-global-mutex.patch

--
Ticket URL: <https://trac.macports.org/ticket/55932>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list