Thanks. So I added this to my pro file for macos:

QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"


It looked like it was going to build fine and then I got 1 build error
for my app :(


It says:

cannot use 'c++-cpp-output' output with multiple -arch options


I searched that and fine results for "output with multiple" other
things, but not -arch. Ideas?


On Wed, Sep 22, 2021 at 1:44 PM Croitor Alexandru <placi...@gmail.com>
wrote:

> Hi,
>
> Seems like the doc snapshots haven't been indexed by search engines yet
> (from my results at least).
>
> See https://doc-snapshots.qt.io/qt6-6.2/macos.html#architectures
>
> You can specify the relevant options in Creator's Project pane for either
> build system.
>
> On Wed, Sep 22, 2021 at 10:38 PM Wesley Krasko <wesbl...@gmail.com> wrote:
>
>> Hello all. We have been waiting for Qt 6.2 for universal binary support.
>> I have 6.2 RC and have our app building and running fine in Creator (for
>> Intel on an Intel machine, Big Sur, Xcode 12).
>> Does anyone know how to then create the universal binaries? I have found
>> documentation on building Qt for both architectures, but that's irrelevant
>> as we use the pre-compiled Qt downloaded through the maintenance tool.
>> Our current process has been to dev/build the app in Creator (we do not
>> use Xcode, find Creator much easier and more user friendly). Once done, I
>> copy the bundle somewhere, run macdeployqt on it, sign it, then
>> notarize it. Of course there's some details in between but that's
>> essentially it, I have a pkg to distribute.
>> I'm not seeing in Creator now how to create a universal binary, or
>> finding any docs.
>> Thanks!
>>
>> --
>> Wes Krasko
>> www.worldwidewes.com
>> www.kraskofamily.com
>> "Stay away from negative people. They have a problem for every solution."
>>
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
>>
>

-- 
Wes Krasko
www.worldwidewes.com
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to