Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt (QWidget) for Android by Clang. Possible?
Forum Updated to NodeBB v4.3 + New Features

Qt (QWidget) for Android by Clang. Possible?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 452 Views 1 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
    mikhail_kr
    wrote on last edited by
    #1

    Hi

    Please recommend the exact version of Qt + exact version of NDK + choose between 32 and 64 arm versions. I would like to build my QWidget based project for Android with Clang compiler.

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

      Hi,

      You have these information in the Android Getting Started chapter of Qt's documentation.

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

      M 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You have these information in the Android Getting Started chapter of Qt's documentation.

        M Offline
        M Offline
        mikhail_kr
        wrote on last edited by mikhail_kr
        #3

        @SGaist said in Qt (QWidget) for Android by Clang. Possible?:

        Hi,

        You have these information in the Android Getting Started chapter of Qt's documentation.

        Thank you! I am using
        Qt 5.12.1 (latest release version)
        NDK 19.1.5304403 (latest release version)

        This is exactly what needed according to the documentation.
        And I see the following error after build attempt -

        /Users/misha/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lc++
        clang++: error: linker command failed with exit code 1 (use -v to see invocation)
        make: *** [libHelloWorld.so] Error 1
        08:50:17: The process "/Users/misha/Library/Android/sdk/ndk-bundle/prebuilt/darwin-x86_64/bin/make" exited with code 2.
        Error while building/deploying project HelloWorld (kit: Android for arm64-v8a (Clang Qt 5.12.1 for Android ARM64-v8a))
        When executing step "Make"

        What am I doing wrong?

        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