[poll]: has anyone built port:qt5-mac in universal or 32bit mode?

Ryan Schmidt ryandesign at macports.org
Mon Mar 9 06:55:25 PDT 2015


On Mar 9, 2015, at 8:32 AM, René J.V. Bertin wrote:

> On Friday March 06 2015 03:08:44 Ryan Schmidt wrote:
> 
>>>> $ port -v installed qt5-mac
>>>> The following ports are currently installed:
>>>> qt5-mac @5.3.2_1+universal (active) platform='darwin 14' archs='i386 x86_64'
>>> 
>>> Good, that's 10.10 even, right?
>> 
>> Yup:
> 
> That's a bit surprising actually, because of the following entry in the Qt5 PortGroup file:
> 
> {{{
> # no universal binary support in Qt 5
> #     see http://lists.qt-project.org/pipermail/interest/2012-December/005038.html
> #     see also https://bugreports.qt-project.org/browse/QTBUG-24952
> if { ![exists universal_variant] || [option universal_variant] } {
>    PortGroup muniversal 1.0 
>    #universal_archs_supported i386 x86_64
> }   
> }}}

As the mailing list post says, they removed from Qt5 the ability to do universal builds (i.e. by building once and passing multiple -arch flags), which is why we use the muniversal portgroup (which builds multiple times, passing one -arch flag each time, then lipo's them together). The bug report is about inability to build 32-bit on a 64-bit system, and was fixed.


> Seems there's a good chance this will no longer be possible with Qt 5.4 ...

Why do you say that?




More information about the macports-users mailing list