Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Designer.app not built when compiling Qt5 for macos x86_64 from arm64 host
Forum Updated to NodeBB v4.3 + New Features

Designer.app not built when compiling Qt5 for macos x86_64 from arm64 host

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 365 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.
  • S Offline
    S Offline
    sparker
    wrote on last edited by
    #1

    I'm trying to compile Qt5 for macos x86_64 from an arm64 host (M2). For the most part it compiles, but several things are left out even though configure says "Yes" they will be built (e.g. Designer.app).

    Configure line:

    ../configure -debug-and-release -opensource -confirm-license -nomake examples -nomake tests -prefix /tools/qt5/5.15.10-x86_64 -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64
    

    Configure output:

    Qt Tools:
      Qt Assistant ........................... yes
      Qt Designer ............................ yes
      Qt Distance Field Generator ............ yes
      kmap2qmap .............................. yes
      Qt Linguist ............................ yes
      Mac Deployment Tool .................... yes
      makeqpf ................................ yes
      pixeltool .............................. yes
      qdbus .................................. yes
      qev .................................... yes
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtpaths ................................ yes
      qtplugininfo ........................... yes
      Windows deployment tool ................ no
      WinRT Runner Tool ...................... no
    Qt Tools:
      QDoc ................................... no
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Aren't you missing all the "host" tools ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Aren't you missing all the "host" tools ?

        S Offline
        S Offline
        sparker
        wrote on last edited by
        #3

        @SGaist I suppose that's a better way of phrasing it. :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          It's an educated guess: I think that you are triggering the cross-compilation detection and thus the host tools are not built as there's little sense to have them for to be built for what is usually a target device. Which version of Qt 5 are you building ? Also, why not build it for both architectures ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            It's an educated guess: I think that you are triggering the cross-compilation detection and thus the host tools are not built as there's little sense to have them for to be built for what is usually a target device. Which version of Qt 5 are you building ? Also, why not build it for both architectures ?

            S Offline
            S Offline
            sparker
            wrote on last edited by
            #5

            @SGaist Hey thanks for responding! I'm using opensource 5.15.10. From what I gather (and tried), I couldn't build universal binaries (assuming that's what you mean by both archs). I think this works out-of-the-box for Qt6 though.

            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 Extensions
            • Unsolved