Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26549

Can't build for Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 5.0.3, Qt Creator 7.0.2
    • Android Support
    • None
    • Windows 10
    • Android

    Description

      I've created subdirs project. In it:

      1. created an empty QtQuick application.
      2. created shared library project.

      Trying to build it. Getting weird error messages:

      00:41:51: Running steps for project untitled11...
      00:41:51: Starting: "D:\Qt\5.12.11\android_armv7\bin\qmake.exe" "C:\Users\alexa\Documents\Qt Creator\untitled11\untitled11.pro" -spec android-clang "CONFIG+=debug" "CONFIG+=qml_debug"
      00:41:51: The process "D:\Qt\5.12.11\android_armv7\bin\qmake.exe" exited normally.
      00:41:51: Starting: "C:\Users\alexa\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" -f "C:/Users/alexa/Documents/Qt Creator/build-untitled11-Android_Qt_5_12_11_Clang_armeabi_v7a-Debug/Makefile" qmake_all
      cd mysharedlib\ && D:\Qt\5.12.11\android_armv7\bin\qmake.exe -o Makefile C:\Users\alexa\Documents\Qt\ Creator\untitled11\mysharedlib\mysharedlib.pro -spec android-clang "CONFIG+=debug" "CONFIG+=qml_debug"
      Cannot find file: C:\Users\alexa\Documents\Qt.
      Cannot find file: Creator\untitled11\mysharedlib\mysharedlib.pro.
      make: *** [C:/Users/alexa/Documents/Qt Creator/build-untitled11-Android_Qt_5_12_11_Clang_armeabi_v7a-Debug/Makefile:41: sub-mysharedlib-qmake_all] Error 2
      00:41:52: The process "C:\Users\alexa\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
      Error while building/deploying project untitled11 (kit: Android Qt 5.12.11 Clang armeabi-v7a)
      When executing step "qmake"
      00:41:52: Elapsed time: 00:00.
      

      Tested on Qt 5.12.11 and Qt 6.2.1.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            alervd Alexander Dyagilev
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes