Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. No target architecture defined in json file.
Forum Updated to NodeBB v4.3 + New Features

No target architecture defined in json file.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 527 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BlackMambaB Offline
    BlackMambaB Offline
    BlackMamba
    wrote on last edited by BlackMamba
    #1

    Hello,
    When building on Windows for Android on Qt 6.4.2, I am having the error : :-1: erreur : No target architecture defined in json file.

    I had this issue before with Qt 5 and I am still having it now, is that possible that such a big bug was not fixed ?

    Is there a workaround?

    Interesting facts :

    • when creating a new empty project I have the same error
    • when running an example project provided by Qt, I don't have the error

    Thanks,

    KenAppleby 0K 1 Reply Last reply
    0
    • BlackMambaB BlackMamba

      Hello,
      When building on Windows for Android on Qt 6.4.2, I am having the error : :-1: erreur : No target architecture defined in json file.

      I had this issue before with Qt 5 and I am still having it now, is that possible that such a big bug was not fixed ?

      Is there a workaround?

      Interesting facts :

      • when creating a new empty project I have the same error
      • when running an example project provided by Qt, I don't have the error

      Thanks,

      KenAppleby 0K Offline
      KenAppleby 0K Offline
      KenAppleby 0
      wrote on last edited by
      #2

      @BlackMamba This had me stumped for a while as well. The solution is to make sure that you have the executable selected as the Run target in the Project Run wizard when building. The error occurs when a lib is selected as the Run target.

      Other pitfalls I encountered when moving to CMake are listed in a previous post.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved