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

plasma console outputs...

Tags: None
(comma "," separated)
dgrat
Registered Member
Posts
7
Karma
0

plasma console outputs...

Mon Mar 30, 2009 10:45 pm
is it possible to get console-outputs while testing plasmoids in the viewer?
i tried "cout" but it doesnt give any outputs while testing with plasmoidviewer. is there a special output function in kde?

also i like to know wheather there is a path variable for the library directory in cmake.
Code: Select all
install(TARGETS nvcontrol
        DESTINATION /usr/lib )

"/usr/lib" is not very clean, so maybe you know a better way, i never used cmake before, but i try to learn. if alredy used IF/ELSE and CMAKE_SYSTEM_NAME :shade:

greetings

Last edited by dgrat on Mon Mar 30, 2009 10:46 pm, edited 1 time in total.


dgrat, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: plasma console outputs...

Tue Mar 31, 2009 4:03 am
Try using this environmental variable, which will install it in $KDEDIR/lib/kde4/ which is the KDE standard location for KDE 4 plugins ( Plasma applets are Plugins to Plasma ).
Code: Select all
${PLUGIN_INSTALL_DIR}


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dgrat
Registered Member
Posts
7
Karma
0

RE: plasma console outputs...

Tue Mar 31, 2009 9:57 am
outpusts was a cmake install error, my plugin is working so far and dimming is possible with outputs^^ working 2 hours with an old version and was wondering...

i want an other path. cause, i want to install the backend.so and the nvclock.so to a public lib path without trashing /lib/kde4 but thanks for help

Last edited by dgrat on Tue Mar 31, 2009 10:00 am, edited 1 time in total.


dgrat, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: plasma console outputs...

Wed Apr 01, 2009 3:56 am
You can use kWarning() and kDebug() for outputting Warning / Debugging messages respectively.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell