Kparts & Qt Widgets

David Klasinc bigwhale at lubica.net
Tue May 11 20:50:58 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Banzai!

 I'm trying to use qwidget that was designed with qt designer as my kpart 
widget. I created new project with the wizard, tried it and now I want my own 
widget to display in the shell instead of the qmultiedit as it was used in 
example.  I wrapped it in it's own class and tried to call it 

    // this should be your custom internal widget
    m_widget = new mainw( parentWidget, widgetName );

Now, the project compiles just and it's linked correctly. If I use the default 
widget everything works fine. If I use mine then call to KLibLoader:

KLibFactory *factory = KLibLoader::self()->factory("libkpospart");

Always returns null. Running strace didn't provide any usefull information. 
Also debugging is a little bit limited (I could use some insight on this 
too ;)).

I'll appriciate any help.

Thanks,
- -- 
David!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAoS6iz0dAgYeWS2wRAiFVAJ4tq1WWUlMGMKZoWo6Kih8MKr6w+ACeN6FR
j7lxZ6siTMlZnNryGXU4kAw=
=x110
-----END PGP SIGNATURE-----

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list