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:android:theme="@android:style/Theme.Holo" android:theme="@android:style/Theme.Material.Light"
However, it seems that something goes wrong.
This is how the app looks with no modifications in AndroidManifest:With Holo theme line added:
And with Material theme line added:
Any ideas what I do wrong ?
-
Hi,
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.Cheers,
GTI'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 .