[Development] Proposing CMake as build tool for Qt 6
alexandru.croitor at qt.io
Thu Jun 6 18:09:54 CEST 2019
I tried that quickly locally by setting set(CMAKE_OSX_ARCHITECTURES "x86_64;x86_64h" CACHE STRING "")
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.macieira at 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 at qt-project.org
More information about the Development