Problems with kdecore...

E

Elke Hohls

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 )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,315
Members
47,996
Latest member
LaurenFola

Latest Threads

Top