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. error: No toolchain version defined in json file.
Forum Updated to NodeBB v4.3 + New Features

error: No toolchain version defined in json file.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 496 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.
  • L Offline
    L Offline
    liner
    wrote on last edited by
    #1

    Android QT 5.10.0 Clang armebi-v7a

    compile output:
    ...
    [100%] Linking CXX shared library libStrFileArray.so
    [100%] Built target StrFileArray
    16:33:23: The process "/usr/bin/cmake" exited normally.
    16:33:23: Starting: "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" --input projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json --output projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android-build --android-platform android-28 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
    No toolchain version defined in json file.
    16:33:23: The process "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" exited with code 2.
    Error while building/deploying project StrFileArray (kit: Android Qt 5.10.0 Clang armeabi-v7a)
    When executing step "Build Android APK"
    16:33:23: Elapsed time: 00:31.

    projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json:

    {
    "_description": "This file is generated by QtCreator to be read by androiddeployqt and should not be modified by hand.",
    "application-binary": "projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/libStrFileArray.so",
    "ndk": "/home/linuxer/Android/Sdk/ndk/21.3.6528147",
    "ndk-host": "linux-x86_64",
    "qml-root-path": "projpath/StrFileArray",
    "qt": "qtpath/QTAPI/5.10.0/android_armv7",
    "sdk": "/home/linuxer/Android/Sdk",
    "stdcpp-path": "/home/linuxer/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so",
    "target-architecture": "armeabi-v7a",
    "tool-prefix": "llvm",
    "toolchain-prefix": "llvm",
    "useLLVM": true
    }

    L 1 Reply Last reply
    0
    • L liner

      Android QT 5.10.0 Clang armebi-v7a

      compile output:
      ...
      [100%] Linking CXX shared library libStrFileArray.so
      [100%] Built target StrFileArray
      16:33:23: The process "/usr/bin/cmake" exited normally.
      16:33:23: Starting: "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" --input projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json --output projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android-build --android-platform android-28 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
      No toolchain version defined in json file.
      16:33:23: The process "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" exited with code 2.
      Error while building/deploying project StrFileArray (kit: Android Qt 5.10.0 Clang armeabi-v7a)
      When executing step "Build Android APK"
      16:33:23: Elapsed time: 00:31.

      projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json:

      {
      "_description": "This file is generated by QtCreator to be read by androiddeployqt and should not be modified by hand.",
      "application-binary": "projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/libStrFileArray.so",
      "ndk": "/home/linuxer/Android/Sdk/ndk/21.3.6528147",
      "ndk-host": "linux-x86_64",
      "qml-root-path": "projpath/StrFileArray",
      "qt": "qtpath/QTAPI/5.10.0/android_armv7",
      "sdk": "/home/linuxer/Android/Sdk",
      "stdcpp-path": "/home/linuxer/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so",
      "target-architecture": "armeabi-v7a",
      "tool-prefix": "llvm",
      "toolchain-prefix": "llvm",
      "useLLVM": true
      }

      L Offline
      L Offline
      liner
      wrote on last edited by
      #2

      @liner wrong Qt version (5.10). After update on start error:

      ./qtcreator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /media/linuxer/HD500GB/QTAPI/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6)
      
      1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #3

        Check the version of libc to see if it matches the requirement. If not, do upgrade.
        ldd --version /usr/lib/x86_64-linux-gnu/libc.so

        L 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          Check the version of libc to see if it matches the requirement. If not, do upgrade.
          ldd --version /usr/lib/x86_64-linux-gnu/libc.so

          L Offline
          L Offline
          liner
          wrote on last edited by
          #4

          @JoeCFD: "... if it matches the requirement." What requirement? Where it is defined?

          1 Reply Last reply
          0
          • L Offline
            L Offline
            liner
            wrote on last edited by
            #5

            The reason was in version Qt 5.10. After upgrading to 5.15.2, this problem has gone, but others appear.
            Why I have this problem in connection with the "wrong version" is not clear. As well as the emergence of many new problems.
            In general, the so-called "free software" is not so free. A lot is hidden from users.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              stupidQt
              wrote on last edited by
              #6

              I totally agree with you. Many problem in it and also there is no trusted solution.

              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