[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: problems with kdecore...
From: Elke Hohls <elke.hohls () delair ! de>
Date: 2005-08-26 11:46:58
Message-ID: 430F0132.1000407 () delair ! de
[Download RAW message or body]
When I run my Application it crashes at the following part:
- [ code ] --------------------------------------------------------
from kdecore import KLibLoader, KLibFactory
def myApp (self):
# ...
offer = KTrader.self().query("text/html")
# the offer can handle HTML - so try loading the library
strOffer = offer[0].library().latin1()
factory = KLibLoader().factory (strOffer)
if factory :
args = QStringList()
args.append("in shell")
html = factory.create ( self, 'naaaame',
"KParts::ReadOnlyPart", args )
-----------------------------------------------------------------
.. I tried it with an without arguments - everytime it crashes by trying
"factory.create" with the answer:
KCrash: Application 'myApp.py' crashing...
>> 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