[Interest] Qt 5.5.1+ Android Activity Theme & OpenGL

Ben Lau xbenlau at gmail.com
Tue Jan 5 18:26:28 CET 2016


Hi Mark,

Please check the step 3 in this article:.

https://medium.com/@benlaud/complete-guide-to-make-a-splash-screen-for-your-qml-android-application-567ca3bc70af#.yatvhxgqp



On 5 January 2016 at 21:57, mark diener <rpzrpzrpz at gmail.com> wrote:

> Bogdan:
>
> Thanks for your answers on the previous gradle issues.
>
> During your work on QtActivity, did you ever try to create use a custom
> theme?
>
> The native Splash screen for Qt is rooted in a java function, but that
> function executes way AFTER java inflation.
>
> So attaching the custom theme to the QtActivity should in theory cause
> it to appear immediately, then Android will proceed to
> deflate the classes.dex and all the other stuff while the use has
> something nice to look at.
>
> I was able to create a custom theme and attach it to the android
> QtActivity in Manifest.xml.
>
> <Activity  android:theme="@style/SplashTheme">
>
> But it seems the initial color of the surface for OpenGL is black, so
> there is no getting around the initial shader color
> when you initialize the OpenGL surface.
>
> What are your thoughts?
>
> Where does one look to find the script files used by QtCreator when a
> kit is added?
>
> I would like to change the default Manifest.xml to add a theme
> whenever a new project is created.  yes, I can currently edit the
> manifest.xml file directly.
>
> Also, I would like to select which is the initial color of the OpenGL
> surface during initialization.  Looks like I would have to rebuild QT
> to get access to that.
>
> Cheers,
>
> md
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160106/47d58797/attachment.html>


More information about the Interest mailing list