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
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to