[Interest] Qt 6 Universal binaries for Mac OS?

Tor Arne Vestbø Tor.arne.Vestbo at qt.io
Thu Sep 30 22:44:45 CEST 2021


Hi,

Please file a bug with a sample project that reproduces this issue, thanks!

tor arne

On 30 Sep 2021, at 20:28, Wesley Krasko <wesblake at gmail.com<mailto:wesblake at gmail.com>> wrote:

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 <placinta at gmail.com<mailto:placinta at 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 <wesblake at gmail.com<mailto:wesblake at 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<http://www.worldwidewes.com/>
www.kraskofamily.com<http://www.kraskofamily.com/>
"Stay away from negative people. They have a problem for every solution."
[http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/POL_COA_Poraj.svg/175px-POL_COA_Poraj.svg.png]
_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest


--
Wes Krasko
www.worldwidewes.com<http://www.worldwidewes.com/>
www.kraskofamily.com<http://www.kraskofamily.com/>
"Stay away from negative people. They have a problem for every solution."
[http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/POL_COA_Poraj.svg/175px-POL_COA_Poraj.svg.png]
_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210930/59f7f32f/attachment-0001.html>


More information about the Interest mailing list