On Wednesday, March 30, 2011 06:54:56 PM Aaron J. Seigo wrote:

> to do the same in your own project, do this in your CMakeLists.txt file:
> 
> add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1209)
> 
> and replace the "1209" (that's what we use in libplasma) with some number
> of your chosing. voila... all kDebug() calls become kDebug(<your custom
> debug area>) automagically.
> 
> woot.

thanks

especially the "trick" with the CMakeLists.txt file is very useful :)
_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to