D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category

Laurent Montel noreply at phabricator.kde.org
Sun Feb 9 17:55:42 GMT 2020


mlaurent added a comment.


  In D27150#608491 <https://phabricator.kde.org/D27150#608491>, @kossebau wrote:
  
  > 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?
  
  
  Perhaps :) I will test it next week
  
  > 
  > 
  >> 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.
  
  oki

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-buildsystem/attachments/20200209/f3d0d780/attachment-0001.html>


More information about the Kde-buildsystem mailing list