D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Sun Feb 9 17:43:48 GMT 2020


kossebau added a comment.


  In D27150#608318 <https://phabricator.kde.org/D27150#608318>, @mlaurent wrote:
  
  > Yep you need to create a file name "foo.renamecategories" where you change the categorie name
  >
  > 1. old module name<space>new module name
  >
  >   for example "log_mailfilteragent org.kde.pim.mailfilteragent" in kmail
  
  
  Does kdebugsettings also support multiple renames? Like log1 > log2 > log3?
  
  > What do you need as " Could that be supported by some additional macro or adaption of the existing/new ones?" ?
  
  We could have another argument for `ecm_qt_declare_logging_category`& `ecm_qt_export_logging_category` to pass old log names, and then have `ecm_qt_install_logging_categories` also generate & install a .renamecategories file. Should be easy to add, working on it next.

REPOSITORY
  R240 Extra CMake Modules

BRANCH
  addautomaticcategoriesgeneration

REVISION DETAIL
  https://phabricator.kde.org/D27150

To: kossebau, #build_system, #frameworks, broulik, mlaurent
Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, cblack, GB_2, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200209/bbdf172e/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list