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

René J.V. Bertin rjvbertin at gmail.com
Mon Mar 9 09:33:36 PDT 2015


On Monday March 09 2015 15:40:03 René J.V. Bertin wrote:

> >> Seems there's a good chance this will no longer be possible with Qt 5.4 ...
> >
> >Why do you say that?
> 
> ... because I am trying to test the universal build right now on a 64bit system, and my first attempt to circumvent the 64bit build *) failed apparently the `-arch i386` flags set by the macx-clang-32 spec got lost on most components of libQt5Bootstrap.a
> *) `port configure qt5-mac-devel +universal` followed by `(cd `port work qt5-mac-devel`/build-i386; wmake --MP)` with wmake just a script that applies the same environment as MacPorts does. 


I think I found the culprit. The merger_arch_compiler and/or merger_arch_flag setting(s) must be 'yes'. I'm a bit surprised that those would modify the commandlines generated by qmake, though. The description suggests that merger_arch_compiler simply sets the compiler to `${CC} -arch ${arch}`, so I wasn't expecting an effect if the variable is 'no' ...

R.


More information about the macports-users mailing list