Details

    • Android, Windows
    • 2020wk36, 2020wk38, 2020wk40, 2020wk42, 2020wk44

    Description

      When configuring an app with Qt for Android for x86 from staging snapshots, cmake scripts are looking for an armeabi-v7a version of android plugin libplugins_qtforandroid_armeabi-v8a.so

      PS C:\Users\VBOX\Desktop\qt_dev\examples\gui\analogclock> c:\Qt\6.0.0\android_x86\bin\qt-cmake.bat -S . -B build/ -DANDROID_SDK_ROOT:PATH=C:\Users\VBOX\AppData\Local\Android\Sdk -DCMAKE_TOOLCHAIN_FILE:PATH=C:\Users\VBOX\AppData\Local\Android\Sdk\ndk\21.1.6352462\build\cmake\android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH:PATH=C:\Qt\6.0.0\android_x86 -DQT_HOST_PATH:STRING=C:\Qt\6.0.0\mingw81_64 -GNinja
      -- ANDROID_PLATFORM not set. Defaulting to minimum supported version
      16.
      -- Check for working CXX compiler: C:/Users/VBOX/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
      -- Check for working CXX compiler: C:/Users/VBOX/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe - works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Looking for C++ include pthread.h
      -- Looking for C++ include pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Check if compiler accepts -pthread
      -- Check if compiler accepts -pthread - yes
      -- Found Threads: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Performing Test HAVE_EGL
      -- Performing Test HAVE_EGL - Success
      -- Found EGL: C:/Users/VBOX/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include (found version "1.5")
      -- Performing Test HAVE_GLESv2
      -- Performing Test HAVE_GLESv2 - Success
      -- Found GLESv2: C:/Users/VBOX/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include
      CMake Error at C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:36 (message):
        Detected Qt installation does not contain qtforandroid_armeabi-v7a.so in
        the following dir:  C:/Qt/6.0.0/android_x86/./plugins/platforms  This is most likely due to the installation not being a Qt for Android
        build.  Please recheck your build configuration.
      Call Stack (most recent call first):
        C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:198 (qt6_android_generate_deployment_settings)
        C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:452 (qt_android_generate_deployment_settings)
        CMakeLists.txt:23 (add_qt_gui_executable)
      CMake Error at C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:221 (message):
        Target gui_analogclock is not a valid android executable targetCall Stack (most recent call first):
        C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:263 (qt6_android_add_apk_target)
        C:/Qt/6.0.0/android_x86/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:453 (qt_android_add_apk_target)
        CMakeLists.txt:23 (add_qt_gui_executable)
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/VBOX/Desktop/qt_dev/examples/gui/analogclock/build/CMakeFiles/CMakeOutput.log".
      See also "C:/Users/VBOX/Desktop/qt_dev/examples/gui/analogclock/build/CMakeFiles/CMakeError.log".
      

       

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes