[Qt-interest] qapplication constructor
Albert Sanchez
ouferrat at gmail.com
Thu Jul 2 12:43:40 CEST 2009
I have solved the problem, but I think that it is a little strange that Qt
decides to abort the execution when it can not open the display. Maybe the
display will be available later: it is my case.
Does Qt call an error handler in this circumstance at least? Does qt allow
to construct QApplication as GUIenabled = false and then turn it to a GUI
application?
Thanks for your help!
Albert
On Thu, Jul 2, 2009 at 11:24 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 02.07.09 11:15:56, Albert Sanchez wrote:
> > Does the QApplication constructor QApplication(argc,argv) check wether
> there
> > is connection with the X display or not? I get the message:
> >
> > myProgramName: Cannot connect to X server: displayIp:0.0
>
> Yes it does.
>
> Andreas
>
> --
> Beware the one behind you.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090702/66c6d92b/attachment.html
More information about the Qt-interest-old
mailing list