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

configure for android finished with cmake error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.4.0
    • Build System: CMake
    • None
    • Linux/X11

    Description

      xxxx@xxxxxxx:~/qt-build-android$ ../qt6-src/configure -platform android-clang -prefix $ANDROID_SDK_ROOT/Qt6 -android-ndk $ANDROID_NDK_ROOT -android-sdk $ANDROID_SDK_ROOT -qt-host-path $HOME/Qt6
      
      ...
      
      CMake Error at qtbase/lib/cmake/Qt6Core/Qt6CoreConfigExtras.cmake:57 (include):
        include could not find requested file:
      
          /home/user/qt6-src/qtbase/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake
      Call Stack (most recent call first):
        qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:117 (include)
        qtbase/lib/cmake/Qt6/Qt6Config.cmake:213 (find_package)
        qtbase/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt:16 (find_package)
      
      
      CMake Error at qtbase/lib/cmake/Qt6Core/Qt6CoreConfigExtras.cmake:58 (_qt_internal_create_global_android_targets):
        Unknown CMake command "_qt_internal_create_global_android_targets".
      Call Stack (most recent call first):
        qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:117 (include)
        qtbase/lib/cmake/Qt6/Qt6Config.cmake:213 (find_package)
        qtbase/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt:16 (find_package)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/home/user/qt6-src/CMakeFiles/CMakeOutput.log".
      See also "/home/user/qt6-src/CMakeFiles/CMakeError.log".
      CMake Error at /home/user/qt6-src/qtbase/cmake/QtProcessConfigureArgs.cmake:978 (message):
        CMake exited with code 1.
      

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            kev Kirill V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes