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

Building Qt module for Android in QtCreator doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 12.0.0
    • Qt Creator 7.0.0-beta2
    • Android Support
    • None
    • Android
    • cae4dd01a (master)
    • 2023wk20FOQtforAndroid

    Description

      When building a fresh clone of a Qt module for Android (tried with QtConnectivity and QtSensors),
      the compilation succeeds but at the end there is a:

      No target architecture defined in json file
      

      This happens without any examples or tests being built, just the libs.
      It would seem that either wrong, incomplete, or erroneous json file is used.
      Hacking the androiddeployqt to get past this error there will be then next errors.

      The environment used:

      macOS 12.3
      QtCreator Qt Creator 7.0.0-beta2 (6.83.0), happens also with the 6.0.x versions
      Qt latest dev 08-Mar-2022
      

      Steps to reproduce: clone a Qt module and try to build it in QtCreator. Tested with
      qtsensors and qtconnectivity.

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              vuokko Juha Vuolle
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes