Android: Qt Widgets native style
-
Hello, I've written an app with the aim of making it cross compatible with all devices (desktops/mobile platforms). So far it seems to work with Windows and Mac, and recently I've gotten it to work on Android as well. However, it looks pretty terrible. According to "this blog post":http://blog.qt.io/blog/2014/12/03/native-android-style-in-qt-5-4/ Qt Widgets supports a native Android style. However, my app does not reflect that when I view it on an AVD or on my own phone.
My question is, how do you enable the native Android style? And as a side note, does Qt Charts have an Android style as well?
-
Hi,
Which version of Qt are you using ?
Qt Charts is an Enterprise feature so you'll have to ask the support guys to have more information about it
-
I am using Qt 5.4
-
Which version of Android are you running ?
-
Android 5.0.1 - API Level 21
Intel Atom (x86) -
Might be related to "this":https://bugreports.qt.io/browse/QTBUG-42644
-
I'm guessing that Qt Widgets is supposed to enable the Android style automatically but isn't doing it for new APIs? Here are some screenshots by the way of what it looks like:
http://postimg.org/image/tgxttc2or/
http://postimg.org/image/bgwe0zlz7/ -
AFAIK, it should and what you are seeing looks like what the bug report is about