Unsolved qt gui looks in android oreo like JB api 16
-
how to make android looks native
i have searched a lot on the web for solutions. but it didn't work so please someone help me with that -
Use QtQuick.Controls 2 module.
-
@sierdzio I'm using qt widget application not quick application
-
@davidlabib said in qt gui looks in android oreo like JB api 16:
@sierdzio I'm using qt widget application not quick application
There is no material style for widgets in Qt. So you need to search the web (maybe somebody created it?) or create it on your own, unfortunately.
-
why qt use android api16 style despite using android api21 and ndk21
-
@davidlabib said in qt gui looks in android oreo like JB api 16:
why qt use android api16 style despite using android api21 and ndk21
It is not using any style information from Android SDK, so the API you use is irrelevant. QtWidgets have custom style implementation and are rendered into a texture which is then displayed by Android. Same as for mac, Windows and Linux, QtWidgets have custom implementation that only mimics the native look.
QtQuick has custom implementation, too, but it was implemented more recently so it looks fresher.