Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112160

All qttools are not getting built for target architecture when cross compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.8
    • QPA
    • None
    • macOS

    Description

      I am cross-compiling Qt 5.15.8 on an Apple M1 machine to target arch x86_64 using the following configure command

      ../configure $OPTIONS -device-option QMAKE_APPLE_DEVICE_ARCHS="x86_64" 
      

      The frameworks are all built for x86_64 but only some tools in the bin directory are getting built for x86_64 (eg qtdbus, macdeployqt).

      If I omit the -device-option flag and run the following configure command, then everything except qmake gets built for x86_64.

      ../configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS="x86_64" 
      

      Is it incorrect to use the -device-option flag here and is it possible to build qmake as well for x86_64?

      Attachments

        Activity

          People

            vestbo Tor Arne Vestbø
            dakota Vivek Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: