Important: Please read the Qt Code of Conduct -

Native android theme with "Bundle Qt libraries in apk"

  • From what I've read on the net, I should modify the AndroidManifest.xml and add the theme in the <application> tag.
    I tried adding these separately:


    However, it seems that something goes wrong.
    This is how the app looks with no modifications in AndroidManifest:

    alt text

    With Holo theme line added:

    alt text

    And with Material theme line added:

    alt text

    Any ideas what I do wrong ?

  • Bumpy .

  • Lifetime Qt Champion


    I'd recommend bringing this question to the Qt Android Development mailing list. You'll find there Qt's Android port developers/maintainers. This forum si more user oriented.

  • If you're interested in native-looking Android or iOS apps with Qt, you can have a look at V-Play Engine.
    V-Play uses a custom Theme system which allows to style your app from QML.


  • I'm not using QML, Is V-Play also available with Qt Widgets ?

    Regardless, I'm sure there is a way to do it, without V-Play. This three years old article says :

    "...This makes it possible for Qt applications to look native without Ministro, even though applications wishing to use services provided by Ministro will continue to do so. In other words, Qt Widgets applications will look native regardless of the deployment method; system wide or bundled Qt libraries."

    I can't find anything more recent than that.
    @SGaist , no answer from the mailing list yet .

  • @cpper V-Play and the available components are designed for QML with the goal of fast UI creation with little code and effort. There's no Qt Widgets version available at the moment.

Log in to reply