[Qt-interest] Qt and screensaver with X11
Bartosh Wroblevksy
bartosh at live.com
Wed Oct 20 23:26:16 CEST 2010
Hi,
First off, thanks for the interest.
And please bear with me, because this is very new to me. The X methods
XActivateScreenSaver(display) Display *displayand XSetScreenSaver(display, timeout, interval, prefer_blanking, allow_exposures)
programmed like this in this sequence:
int main(int argc, char *argv[]) { XSetScreenSaver(display, 1000, 1000, DontPreferBlanking , DefaultExposures ); XActivateScreenSaver(display);
return 0; }
will activate a screensaver that is actually the X logo. But I wanted to know if the method XActivateScreenSaver(display) can activate a "hello world" QWidget instead.
Thanks,
Bartosh
More information about the Qt-interest-old
mailing list