I tried that quickly locally by setting set(CMAKE_OSX_ARCHITECTURES 
"x86_64;x86_64h" CACHE STRING "")

$file lib/libQt5Core_debug.a
lib/libQt5Core_debug.a: Mach-O universal binary with 2 architectures: 
[x86_64:current ar archive] [x86_64h]
lib/libQt5Core_debug.a (for architecture x86_64):       current ar archive
lib/libQt5Core_debug.a (for architecture x86_64h):      current ar archive

It fails a bit further in a tool, but that's because my double conversion 
library only has one architecture slice.

So it should work in principle.

> On 6. Jun 2019, at 17:59, Thiago Macieira <thiago.macie...@intel.com> wrote:
> 
> On Thursday, 6 June 2019 07:01:31 PDT Tor Arne Vestbø wrote:
>> That’s one step, and will let you create e.g. a fat binary with x86_64 and
>> i386, or armv7 and armv8.
> 
> Wishlist: compile QtCore and QtGui as a fat binary for x86_64 and x86_64h on 
> regular macOS.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel System Software Products
> 
> 
> 
> _______________________________________________
> Development mailing list
> Development@qt-project.org
> https://lists.qt-project.org/listinfo/development

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to