Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Is it possible to build QtMqtt on Windows 10 for Android ARM v7?

Is it possible to build QtMqtt on Windows 10 for Android ARM v7?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 969 Views 2 Watching
  • 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.
  • M Offline
    M Offline
    Matthias Klein
    wrote on last edited by
    #1

    Hello,

    I try to build the QtMqtt module for Android, but failed.

    I have the following environment:

    • Windows 10 Host
    • Qt 5.12.3 from the Online Open Source installer
    • Android NDK 19.2.5345600 with SDK 26.1.1 (installed with the Android Studio installer)

    I cloned the 5.12 branch and tried the following in a "cmd" shell:

    set ANDROID_NDK_ROOT=C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle
    C:\Qt\5.12.3\android_armv7\bin\qmake.exe
    

    But it stops directly with the following error:

    Project ERROR: Cannot run target compiler 'C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle/toolchains/llvm/prebuilt/windows/bin/clang++'. Output:
    ===================
    ===================
    Maybe you forgot to setup the environment?
    

    How can I setup the environment?

    Thanks a lot for every tip!

    jsulmJ 1 Reply Last reply
    0
    • M Matthias Klein

      Hello,

      I try to build the QtMqtt module for Android, but failed.

      I have the following environment:

      • Windows 10 Host
      • Qt 5.12.3 from the Online Open Source installer
      • Android NDK 19.2.5345600 with SDK 26.1.1 (installed with the Android Studio installer)

      I cloned the 5.12 branch and tried the following in a "cmd" shell:

      set ANDROID_NDK_ROOT=C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle
      C:\Qt\5.12.3\android_armv7\bin\qmake.exe
      

      But it stops directly with the following error:

      Project ERROR: Cannot run target compiler 'C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle/toolchains/llvm/prebuilt/windows/bin/clang++'. Output:
      ===================
      ===================
      Maybe you forgot to setup the environment?
      

      How can I setup the environment?

      Thanks a lot for every tip!

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Matthias-Klein said in Is it possible to build QtMqtt on Windows 10 for Android ARM v7?:

      C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle/toolchains/llvm/prebuilt/windows/bin/clang++

      Does this path exist and can you call the compiler manually?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Matthias Klein
        wrote on last edited by
        #3

        Sorry, that I answer so late, but I didn't get a notification.

        The path does not exist.

        The following path does exist, but where should I adjust this?: C:\Users\MAK\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          One maybe simpler way to do that would be to open the module in Qt Creator and build it using the Android Kit.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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