Kapp and Qt designer issue

Ian Reinhart Geiser ian at geiseri.com
Thu Mar 18 13:56:43 GMT 2004

Hash: SHA1

On Thursday 18 March 2004 08:52 am, Waldo Bastian wrote:
> On Thu March 18 2004 14:09, Ian Reinhart Geiser wrote:
> > Greetings,
> > 	It seems that the nullchecks while well intentioned seem useless on my
> > system, as the kapp pointer is initialized and there for NOT 0.
> You may want to find out why that happens then.
This happens because Qt designer dosent use Kapp, it uses QApp and the kapp 
ptr is never initialized.

> > 	Second do we also require that every kapp ptr access be null checked in
> > kdeui?
> Either check for null or use qApp where applicable.
We cannot use qApp, since we abuse kapp to get things like globals and dcop 

The issue is that these kdeui libs are being accessed from a pure Qt app 
(designer) and that lacks a Kapp pointer.

	-ian reinhart geiser
- -- 
- --:Ian Reinhart Geiser <geiseri at yahoo.com>
- --:Public Key: http://geiseri.myip.org/~geiseri/publickey.asc
- --:Public Calender: http://geiseri.myip.org/~geiseri/publicevents.ics
- --:Jabber: geiseri at geiseri.myip.org
- --:Be an optimist -- at least until they start moving animals in 
- --:   pairs to Cape Canaveral. ~ Source Unknown
Version: GnuPG v1.2.4 (GNU/Linux)



More information about the kde-core-devel mailing list