> 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.

There is a drawable resource in the android manifest, specific for Qt. It's the 
drawable that is drawn By the QtActivity ASAP when your program opens. It can 
be a color, or any drawable.
>From there, your main QML Window/Rect will take over. Note that I've seen a 
>big flicker on Android when using QtQuick Controls. it does not exist on iOS 
>when using their launch images/xib.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to