This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Viewing output from qCDebug of plasmoid / plasmoid debugging

Tags: None
(comma "," separated)
highsciguy
Registered Member
Posts
84
Karma
0
I am toying a little bit with a small plasmoid (modifying one that I found somewhere).
Since I am new to plasma/kde development (or rather it somewhat changed since I did something the last time), I do not get a grip on debugging my plasmoid.

Currently, I am building and installing the plasmoid.
I also need to restart plasmashell to get the updated plasmoid.
Then I add it to to the panel (in which it has the representation I want to modify) from its settings menu.

But, I am not sure that this is a suitable development routine.
What does the recommended work flow look like and, in particular, how do I see the output from qCDebug logging contained in my code?

Any help appreciated!
highsciguy
Registered Member
Posts
84
Karma
0
To answer my own question:

One can do
kquitapp5 plasmashell && kstart plasmashell | grep 'application-name'

This will restart plasmashell including the plasmoid. The command line output of plasmashell includes this output. 'application-name' here is the name specified when calling qCDebug.
Perhaps there is a tool which makes that more comfortable, but I don't know of any.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]