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

Highlighted example demos/photosurface not compiling with Android (unknown target 'apk')

    XMLWordPrintable

Details

    • Android
    • 563dfa0812b4e0a8116533c0b3a2be402475b05a (qt/qtdoc/dev) 707bb7a1f8ea88a99fcf8cb09beaf15eab854b03 (qt/qtdoc/6.0)

    Description

      Qt6.0.1 Android binaries from installer on Windows10 x64. Compile example demos/photosurface

      cmake -S C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.1\demos\photosurface -B C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.1\demos\photosurface\bld_arm64-v8a -GNinja -DQT_HOST_PATH:PATH=C:\Users\joaijala\RTA\qt5\6.0.1\mingw81_64 -DANDROID_SDK_ROOT=C:\Utils\Android\sdk -DCMAKE_TOOLCHAIN_FILE:PATH=C:\Utils\Android\sdk\ndk\21.3.6528147\build\cmake\android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH:PATH=C:\Users\joaijala\RTA\qt5\6.0.1\android_arm64_v8a -DANDROID_ABI:STRING=arm64-v8a
      
      cmake --build . --target apk
      

      Results error:
      ninja: error: unknown target 'apk', did you mean 'all'?

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes