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. [Android][Qt5.15][Windows] Error no target architecture defined in json file
Forum Updated to NodeBB v4.3 + New Features

[Android][Qt5.15][Windows] Error no target architecture defined in json file

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androiddeployqtcmake
1 Posts 1 Posters 286 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.
  • E Offline
    E Offline
    EsmeraldaQuintero
    wrote on 30 Mar 2023, 00:40 last edited by EsmeraldaQuintero
    #1

    Hello!

    I'm building a library using QT android kit, but I always get the following error:

    No target architecture defined in json file.
    

    I'm using:

    • Qt creator 9.0.2
    • Qt Framework 5.15.2
    • Android NDK 21.3.6528147
    • CMake 3.24.2

    Result:

    {
        "_description": "This file is generated by QtCreator to be read by androiddeployqt and should not be modified by hand.",
        "application-binary": "libFreeImage.so",
        "architectures": {
        },
        "ndk": "C:/Users/myuser/AppData/Local/Android/Sdk/ndk/21.3.6528147",
        "ndk-host": "windows-x86_64",
        "qml-root-path": "D:/VirtualMachine/Shared_folder/FreeImage/freeimage",
        "qt": "D:/ideSoftware/Qt/5.15.2/android",
        "sdk": "C:/Users/myuser/AppData/Local/Android/Sdk",
        "stdcpp-path": "C:/Users/myuser/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib",
        "tool-prefix": "llvm",
        "toolchain-prefix": "llvm",
        "useLLVM": true
    }
    

    Additionally ANDROID_ABI is always detected as armeabi-v7a. I already clone the Qt kit and select the specific compiler of each architecture.

    1 Reply Last reply
    0

    1/1

    30 Mar 2023, 00:40

    • Login

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