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

Qt v6.2.4 does not compile for Android target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.2.4
    • Build System: CMake
    • None
    • Android

    Description

      Qt v6.2.4 / android does not compile out of the box, like the v6.2.3 did.

      QtCopyFileIfDifferent.cmake does not exist.

      [1/271] Copying pixeltool binary to apk folder
      FAILED: qttools/src/pixeltool/CMakeFiles/pixeltool_prepare_apk_dir C:/Users/qt/work/build-android_armv7/qttools/src/pixeltool/CMakeFiles/pixeltool_prepare_apk_dir 
      cmd.exe /C "cd /D C:\Users\qt\work\build-android_armv7\qttools\src\pixeltool && "C:\Program Files\CMake\bin\cmake.exe" -DSRC_FILE_PATH=C:/Users/qt/work/build-android_armv7/qtbase/bin/libpixeltool_armeabi-v7a.so -DDST_FILE_PATH=C:/Users/qt/work/build-android_armv7/qttools/src/pixeltool/android-build/libs/armeabi-v7a/libpixeltool_armeabi-v7a.so -P C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake"
      CMake Error: Error processing file: C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake
      [2/271] Copying designer binary to apk folder
      FAILED: qttools/src/designer/src/designer/CMakeFiles/designer_prepare_apk_dir C:/Users/qt/work/build-android_armv7/qttools/src/designer/src/designer/CMakeFiles/designer_prepare_apk_dir 
      cmd.exe /C "cd /D C:\Users\qt\work\build-android_armv7\qttools\src\designer\src\designer && "C:\Program Files\CMake\bin\cmake.exe" -DSRC_FILE_PATH=C:/Users/qt/work/build-android_armv7/qtbase/bin/libdesigner_armeabi-v7a.so -DDST_FILE_PATH=C:/Users/qt/work/build-android_armv7/qttools/src/designer/src/designer/android-build/libs/armeabi-v7a/libdesigner_armeabi-v7a.so -P C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake"
      CMake Error: Error processing file: C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake
      [3/271] Copying linguist binary to apk folder
      FAILED: qttools/src/linguist/linguist/CMakeFiles/linguist_prepare_apk_dir C:/Users/qt/work/build-android_armv7/qttools/src/linguist/linguist/CMakeFiles/linguist_prepare_apk_dir 
      cmd.exe /C "cd /D C:\Users\qt\work\build-android_armv7\qttools\src\linguist\linguist && "C:\Program Files\CMake\bin\cmake.exe" -DSRC_FILE_PATH=C:/Users/qt/work/build-android_armv7/qtbase/bin/liblinguist_armeabi-v7a.so -DDST_FILE_PATH=C:/Users/qt/work/build-android_armv7/qttools/src/linguist/linguist/android-build/libs/armeabi-v7a/liblinguist_armeabi-v7a.so -P C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake"
      CMake Error: Error processing file: C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake
      [4/271] Copying assistant binary to apk folder
      FAILED: qttools/src/assistant/assistant/CMakeFiles/assistant_prepare_apk_dir C:/Users/qt/work/build-android_armv7/qttools/src/assistant/assistant/CMakeFiles/assistant_prepare_apk_dir 
      cmd.exe /C "cd /D C:\Users\qt\work\build-android_armv7\qttools\src\assistant\assistant && "C:\Program Files\CMake\bin\cmake.exe" -DSRC_FILE_PATH=C:/Users/qt/work/build-android_armv7/qtbase/bin/libassistant_armeabi-v7a.so -DDST_FILE_PATH=C:/Users/qt/work/build-android_armv7/qttools/src/assistant/assistant/android-build/libs/armeabi-v7a/libassistant_armeabi-v7a.so -P C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake"
      CMake Error: Error processing file: C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake
      [5/271] Copying qdistancefieldgenerator binary to apk folder
      FAILED: qttools/src/distancefieldgenerator/CMakeFiles/qdistancefieldgenerator_prepare_apk_dir C:/Users/qt/work/build-android_armv7/qttools/src/distancefieldgenerator/CMakeFiles/qdistancefieldgenerator_prepare_apk_dir 
      cmd.exe /C "cd /D C:\Users\qt\work\build-android_armv7\qttools\src\distancefieldgenerator && "C:\Program Files\CMake\bin\cmake.exe" -DSRC_FILE_PATH=C:/Users/qt/work/build-android_armv7/qtbase/bin/libqdistancefieldgenerator_armeabi-v7a.so -DDST_FILE_PATH=C:/Users/qt/work/build-android_armv7/qttools/src/distancefieldgenerator/android-build/libs/armeabi-v7a/libqdistancefieldgenerator_armeabi-v7a.so -P C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake"
      CMake Error: Error processing file: C:/Users/qt/work/build-android_armv7/qtbase/lib/cmake/Qt6/QtCopyFileIfDifferent.cmake
      

      Attachments

        Issue Links

          Activity

            People

              qtbuildsystem Qt Build System Team
              jakoivik Jarkko Koivikko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: