[Qt-jambi-interest] QApplication - GuiEnabled?
Luis Zaldivar
luis at masio.com.mx
Fri Aug 8 16:05:59 CEST 2008
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".
Gunnar Sletta escribió:
> Luis Zaldivar wrote:
>> Hi
>>
>> Is there a way to use the GuiEnabled flag from Qt in QtJambi? Is
>> there plans to add it?
>>
>> Thanks :)
>
> Why not just use QCoreApplication?
>
> -
> Gunnar
More information about the Qt-jambi-interest
mailing list