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

[REG 6.3.1] Androiddeployqt doesn't find rcc and qmlimportscanner

    XMLWordPrintable

Details

    • Windows
    • 64b84977eb (qt/qtbase/dev) c810c93018 (qt/qtbase/6.4) c810c93018 (qt/tqtc-qtbase/6.4) 64b84977eb (qt/tqtc-qtbase/dev)

    Description

      On Windows when deploying a random quick project there's an error that rcc / qmlimportscanner is not found. This can be reproduced by trying to build the template Qt Quick project in QtC.

      The error looks like this:

      04:44:19: Starting: "C:\Qt\6.4.0\mingw_64\bin\androiddeployqt.exe" --input C:/Users/mipernu/Documents/qt_projects/build-ohno-Android_Qt_6_4_0_Clang_x86-Debug/android-ohno-deployment-settings.json --output C:/Users/mipernu/Documents/qt_projects/build-ohno-Android_Qt_6_4_0_Clang_x86-Debug/android-build --android-platform android-31 --jdk C:/jdk-11.0.2 --gradle
      Generating Android Package
        Input file: C:/Users/mipernu/Documents/qt_projects/build-ohno-Android_Qt_6_4_0_Clang_x86-Debug/android-ohno-deployment-settings.json
        Output directory: C:/Users/mipernu/Documents/qt_projects/build-ohno-Android_Qt_6_4_0_Clang_x86-Debug/android-build/
        Application binary: ohno
        Android build platform: android-31
        Install to device: No
        -- Skipping C:/Qt/6.4.0/android_x86/plugins/iconengines/libplugins_iconengines_qsvgicon_x86.so. It has unmet dependencies: lib/libQt6Svg_x86.so.
        -- Skipping C:/Qt/6.4.0/android_x86/plugins/imageformats/libplugins_imageformats_qsvg_x86.so. It has unmet dependencies: lib/libQt6Svg_x86.so.
      Skipping createRCC
      Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
      > Task :preBuild UP-TO-DATE
      > Task :preDebugBuild UP-TO-DATE
      > Task :compileDebugAidl NO-SOURCE
      > Task :compileDebugRenderscript NO-SOURCE
      > Task :generateDebugBuildConfig
      > Task :javaPreCompileDebug
      > Task :checkDebugAarMetadata
      > Task :generateDebugResValues
      > Task :generateDebugResources
      > Task :createDebugCompatibleScreenManifests
      > Task :extractDeepLinksDebug
      > Task :mergeDebugResources
      > Task :processDebugMainManifest
      > Task :processDebugManifest
      > Task :mergeDebugNativeDebugMetadata NO-SOURCE
      > Task :mergeDebugShaders
      > Task :compileDebugShaders NO-SOURCE
      > Task :generateDebugAssets UP-TO-DATE
      > Task :mergeDebugAssets
      > Task :compressDebugAssets
      > Task :processDebugJavaRes NO-SOURCE
      > Task :checkDebugDuplicateClasses
      > Task :mergeDebugJavaResource
      > Task :mergeLibDexDebug
      > Task :mergeDebugJniLibFolders
      > Task :validateSigningDebug
      > Task :writeDebugAppMetadata
      > Task :writeDebugSigningConfigVersions
      > Task :processDebugManifestForPackage
      > Task :desugarDebugFileDependencies
      > Task :mergeExtDexDebug
      > Task :processDebugResources
      > Task :mergeDebugNativeLibs> Task :compileDebugJavaWithJavac
      Note: Some input files use or override a deprecated API.
      > Task :compileDebugSourcesNote: Recompile with -Xlint:deprecation for details.
      > Task :dexBuilderDebug
      > Task :mergeProjectDexDebug
      > Task :stripDebugDebugSymbols
      > Task :packageDebug
      > Task :assembleDebugDeprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warningsBUILD SUCCESSFUL in 34s
      29 actionable tasks: 29 executed
      Android package built successfully in 104.488 ms.
        -- File: C:/Users/mipernu/Documents/qt_projects/build-ohno-Android_Qt_6_4_0_Clang_x86-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk
      Error: qmlimportscanner not found at C:/Qt/6.4.0/mingw_64/bin/qmlimportscanner
      04:46:05: The process "C:\Qt\6.4.0\mingw_64\bin\androiddeployqt.exe" exited normally.
      

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              miikapernu Miika Pernu
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes