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

[REG 6.4.0->6.4.1 and 6.5.0] can not compile examples with Android arm64, x86 or x64 on Windows with qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.4.1, 6.5.0 FF
    • Packaging & Installer
    • Windows
    • d351fe0a83 (qtsdk/tqtc-qtsdk/master)

    Description

      Install Qt6.4.1 (or Qt6.5.0) Android binaries on Windows. Set correct bin dir to PATH and run qmake for gui/analogclock, fails on targets arm64, x86 and x64 but works with armv7:

      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>which qmake
      /c/Users/joaijala/RTA/Qt_6.4.1/6.4.1/android_armv7/bin/qmake
      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>qmake
      Info: creating stash file C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock\.qmake.stash
      
      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>which qmake
      /c/Users/joaijala/RTA/Qt_6.4.1/6.4.1/android_arm64_v8a/bin/qmake
      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>qmake
      Project ERROR: Cannot run target compiler 'C:\Users\joaijala\Android\sdk\ndk\23.2.8568313/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++'. Output: =================== 
      =================== 
      Maybe you forgot to setup the environment?
      
      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>which qmake
      /c/Users/joaijala/RTA/Qt_6.4.1/6.4.1/android_x86_64/bin/qmake
      C:\Users\joaijala\RTA\Qt_6.4.1\Examples\Qt-6.4.1\gui\analogclock>qmake
      Project ERROR: Cannot run target compiler 'C:\Users\joaijala\Android\sdk\ndk\23.2.8568313/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Output:
      ===================
      ===================
      Maybe you forgot to setup the environment?
      

      Works with cmake.

      On linux and mac failing target is the armv7 both with qmake and cmake (QTBUG-107249).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              janihe Jani Heikkinen
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes