[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QTest does not work with GUI
From:       Holger =?iso-8859-1?q?Schr=F6der?= <holger-kde () holgis ! net>
Date:       2007-08-16 17:36:23
Message-ID: 200708161936.23981.holger-kde () holgis ! net
[Download RAW message or body]

On Thursday 16 August 2007 09:34:22 Nicolas Ternisien wrote:
> Ok, thank you very much you two, it works well now.
>
> Is there any plan to include those information in Techbase wiki ?
>
it is a wiki, everybody can edit it. we would be happy if you could add that 
information :-)

> Regards.
>
> Nicolas
>
regards, Holger

> 2007/8/16, Thiago Macieira <thiago@kde.org>:
> > Nicolas Ternisien wrote:
> > >I would like to know why I've got this "QWidget: Cannot create a
> > >QWidget when no GUI is being used" message, while the documentation
> > >clearly specify that GUI testing is possible
> > >(http://techbase.kde.org/Development/Tutorials/Unittests)
> > >
> > >Thanks by advance.
> >
> > It means your test application is using QCoreApplication but trying to
> > use QWidget. You can't do that.
> >
> > Make sure you included a QtGui header before qtestcase.h. Or use the KDE
> > main function macro.
> >
> > --
> >  Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> >   PGP/GPG: 0x6EF45358; fingerprint:
> >   E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> >
> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe <<
> >>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic