[Qt-jambi-interest] QApplication - GuiEnabled?
Gunnar Sletta
gunnar at trolltech.com
Mon Aug 11 08:24:58 CEST 2008
Luis Zaldivar wrote:
> Because I need to use some components not included in CoreApplication.
> Specifically I want to use the QPixmap.grabWidget function, but without
> showing it in a gui.
>
> I've made a proof of concept on a server with X installed and it works,
> without showing any window (ie: using QApplication.exec and not using
> widget.show()). But if X is not installed, it fails with the "Can't
> connect to X server error".
Any operation that uses the X server requres you to have GUI enabled, so
this won't be possible I'm afraid. QPixmap is a server side object and
so are the widgets you would want to grab.
best regards,
Gunnar
More information about the Qt-jambi-interest
mailing list