how to make a splash screen with Qt
hello there ; I was wondering how to make a splash screen for my application using Qt, I found this link : http://wiki.maemo.org/Qt4_Hildon#QSplashScreen_not_fully_compatible_with_Hildon-Desktop telling that it is not compitable with maemo, So, it tried many workarounds (like creating a fullscreen window above my main window, and then hiding it after a while, But it blinks when it hide and the main view of my application is shown minimized when spalsh screen disappears. Also tried to make my main view window's central widget to be a splash screen widget and after a while i replace it with the original central widget of the main view But it failed too) So, I wonder if you have any other way/Maemo API to allow a splash screen to be properly shown . thank you in advance; ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to make a splash screen with Qt
On Mon, 2010-02-08 at 09:50 +0100, ext ibrahim wrote: hello there ; I was wondering how to make a splash screen for my application using Qt, I found this link : http://wiki.maemo.org/Qt4_Hildon#QSplashScreen_not_fully_compatible_with_Hildon-Desktop telling that it is not compitable with maemo, So, it tried many workarounds (like creating a fullscreen window above my main window, and then hiding it after a while, But it blinks when it hide and the main view of my application is shown minimized when spalsh screen disappears. Also tried to make my main view window's central widget to be a splash screen widget and after a while i replace it with the original central widget of the main view But it failed too) So, I wonder if you have any other way/Maemo API to allow a splash screen to be properly shown . You need to set a window property that tells HD to skip the transitions: static void set_no_transitions (Display *dpy, Window w) { Atom no_trans; int one = 1; no_trans = XInternAtom (dpy, _HILDON_WM_ACTION_NO_TRANSITIONS, False); XChangeProperty (dpy, w, no_trans, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)one, 1); } --Kimmo thank you in advance; ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to make a splash screen with Qt
Hi You need to set a window property that tells HD to skip the transitions: static void set_no_transitions (Display *dpy, Window w) { Atom no_trans; int one = 1; no_trans = XInternAtom (dpy, _HILDON_WM_ACTION_NO_TRANSITIONS, False); XChangeProperty (dpy, w, no_trans, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)one, 1); } Thanks for the hint. I updated the wiki page with this information. -Timo --Kimmo thank you in advance; ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to make a splash screen with Qt
On 08/02/10 14:15, Timo Härkönen wrote: Hi You need to set a window property that tells HD to skip the transitions: static void set_no_transitions (Display *dpy, Window w) { Atom no_trans; int one = 1; no_trans = XInternAtom (dpy, _HILDON_WM_ACTION_NO_TRANSITIONS, False); XChangeProperty (dpy, w, no_trans, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)one, 1); } Thanks for the hint. I updated the wiki page with this information. -Timo Isn't this fixed in Qt 4.6? It seems to work on the FREMANTLE_X86. Also says that a few centimers down on the wiki. --Kimmo thank you in advance; ___ maemo-developers mailing list maemo-developers@maemo.org mailto:maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org mailto:maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to make a splash screen with Qt
Hi 2010/2/8 Bernd Stramm bernd.str...@gmail.com On 08/02/10 14:15, Timo Härkönen wrote: Hi You need to set a window property that tells HD to skip the transitions: static void set_no_transitions (Display *dpy, Window w) { Atom no_trans; int one = 1; no_trans = XInternAtom (dpy, _HILDON_WM_ACTION_NO_TRANSITIONS, False); XChangeProperty (dpy, w, no_trans, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)one, 1); } Thanks for the hint. I updated the wiki page with this information. -Timo Isn't this fixed in Qt 4.6? It seems to work on the FREMANTLE_X86. Also says that a few centimers down on the wiki. Yes but the current stable Qt for Maemo is still 4.5. Qt 4.6 is only available from extras-devel currently. Anyway it's good information to people working with 4.5 -Timo --Kimmo thank you in advance; ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing listmaemo-develop...@maemo.orghttps://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers