Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Qt 5.15.11 static on macos for dual archs
Qt 6.12 LTS is out! See what's new in the release blog

Building Qt 5.15.11 static on macos for dual archs

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 767 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NihilishN Offline
    NihilishN Offline
    Nihilish
    wrote on last edited by
    #1

    Hi,

    I can't find this information in any of the documentation. I'm trying to build a static 5.15.11 Qt with universal build support. What options do I have to give configure to make this happen? I tried passing it QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" but it still configured only for single-arch x86_64. I know for Qt 6.x, you can give it the -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" flag, so what's the equivalent for 5.15.9+?

    J 1 Reply Last reply
    0
    • NihilishN Offline
      NihilishN Offline
      Nihilish
      wrote on last edited by
      #2

      For anybody else that might be running into the same issue as me;

      It seems the QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" option DOES work. But when configuring qmake and going through checks, configure still prints "Checking for target architecture...x86_64". So this might be a small bug where configure doesn't print dual architecture.

      1 Reply Last reply
      0
      • NihilishN Nihilish

        Hi,

        I can't find this information in any of the documentation. I'm trying to build a static 5.15.11 Qt with universal build support. What options do I have to give configure to make this happen? I tried passing it QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" but it still configured only for single-arch x86_64. I know for Qt 6.x, you can give it the -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" flag, so what's the equivalent for 5.15.9+?

        J Offline
        J Offline
        jesusha
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved