Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Android Clang 6.0.2 support

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20342

    Jimmy

    Hi! I have been trying to add CLang support for my android v-play project. I did a clone of the “Android for x86 (GCC 4.9, Qt 5.11.1 Android x86 Felgo)” and change the c++ compiler to an android toolchain I created before using the android ndk. The Clang version is 6.0.2. But I got an error when compiling:

    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libVPlay.so when searching for -lVPlay
    /usr/bin/ld: cannot find -lVPlay
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Quick.so when searching for -lQt5Quick
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Widgets.so when searching for -lQt5Widgets
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Multimedia.so when searching for -lQt5Multimedia
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Gui.so when searching for -lQt5Gui
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Qml.so when searching for -lQt5Qml
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5WebSockets.so when searching for -lQt5WebSockets
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Network.so when searching for -lQt5Network
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Sql.so when searching for -lQt5Sql
    /usr/bin/ld: skipping incompatible /home/jimmy/FelgoSDK/Felgo/android_x86/lib/libQt5Core.so when searching for -lQt5Core

    I guess the VPlay library is not compatible because it has been built with GCC. Do you expect to have CLang support for android soon?

    #20348

    Günther
    Felgo Team

    Hi Jimmy,

    Felgo builds upon Qt, which currently supports compiling Apps for Android using GCC.
    You can have a look the supported Qt platforms here: http://doc.qt.io/qt-5/supported-platforms.html

    Qt will support CLANG with the upcoming version Qt 5.12, as GCC is already deprecated. For the moment, this means that all Qt modules require a custom compilation for clang before you can build a Qt app with clang. (the same applies for the Felgo library).

    We always support the currently stable Qt version, so we recommend to stay with GCC until Qt officially steps up.

    Best,
    Günther

    #20349

    Hiro White
    #20353

    Günther
    Felgo Team

    Hi Hiro,

    we can provide a Felgo Library build for clang with the included support of Felgo Enterprise, or with the purchase of a support package. If that’s interesting for you, please drop us a line at support@felgo.com to follow up with the details.

    Best,
    Günther

    #20354

    Hiro White

    Thanks Gunther. This is a pretty big problem since the android ndk-17 has deprecated gcc and gnustl, and ndk-18 removed them completely.
    It’s not going to be possible to do Android applications with gcc for very much longer.

    It really shouldn’t require us to pay extra for v-play to keep the software up to date with the official ndks for their supported platforms.

     

    #20357

    Hiro White

    That being said after we know this all works with modern c++11 we will be getting licenses for all our QML devs. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded