Registered Member
|
Just to be save ( because I sourced the bashrc many times ) I rebooted my machine and checked all the variables. They are set according to what you've written in this post. I also recalled you wrote that kde4-config is for kde4 so I executed a few commands:
never tried kdebugdialog, but I'll do my best. |
Registered Member
|
some extra info after kdebugdialog
|
Administrator
|
That indicates that the Part is being loaded successfully. Make sure that the KPart is properly parented to the appropriate parent widget.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
OK, I don't quite understand that. This works for the katepart, shouldn't it also work with kwordpart in exactly the same manner? The parent widget is a QVBoxLayout, the piece of code above is preceded by:
I guess that should be OK then...right?? |
Registered Member
|
I'm think you guys are right about the kwordpart being loaded, how else would I get this message then?
this message shows up after the rest of the messages and after I close my app. |
Registered Member
|
My previous remark isn't valid I think, because after debugging I saw that the
is false so it never enters it. So there is no way that the kwordpart is found....I guess |
Registered Member
|
Tried some new code to get some services back, this is the code
this is the gdb debug output:
And then the for loop ends, it seems like the kwordpart is found...is it? |
Registered Member
|
Strange...I tried running the kword that I just build (fresh checkout ) and I see the same errors, but kword comes up an works like a charm, here is the output when running kword:
|
Administrator
|
The previous code was likely fine.
Try this to perform the loading instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Sorry for the late reply, but had a long weekend. I tried the suggestion of bcooksley but this is what I get:
|
Registered Member
|
I suspect that the my issue has something to do with the last message in my out when running my app.
This statement is spit out after the createGUI(m_part) statement is hit.I'm googling on this,but so far no success. Is there anybody who has seen this before? |
Administrator
|
Oops, try this instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've also tried that one to after I got the error message but that didn't help either. What I see on the console as output of my program are the first couple of lines equil to the output when I start kword ( see 2 postings before ) via the console up to the line
So this is the last line and it's followed by
Thus my program never reaches the line
|
Registered Member
|
After much experimenting and help of dfaure it works. The messages I received on the console could be ignore since the plugin is loaded as it should be. But the preferred way is this:
....and kword works. Thanks to dfaure of the kde development team and co-designer of the KParts-technology |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]