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

List:       kde-devel
Subject:    KTrader::self()->query always results in a Segmentation Fault
From:       Roberto Cappuccio <roberto.cappuccio () gmail ! com>
Date:       2005-11-24 16:04:57
Message-ID: 200511241704.57254.roberto.cappuccio () gmail ! com
[Download RAW message or body]

Hi there,

I'm trying to create some unit tests for Kat.
In our Kat::Engine class we have a method that calls:

     KTrader::OfferList stores = KTrader::self()->query( "kat/QueryStore" );

It works when invoked by the application.
It always results in a Segmentation Fault when called by the test framework.

Is there something I should know?
Does KTrader need to be called from within a QApplication?

Bye

Roberto
 
>> 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