Use ecm_qt_declare_logging_category to declare the logging categories

Authored by Antonio Larrosa <antonio.larrosa@gmail.com> on May 26 2020, 4:55 PM.

Description

Use ecm_qt_declare_logging_category to declare the logging categories

This automatizes the generation of logging categories so a
kdeconnect-kde.categories is generated and installed to
/usr/share/qlogging-categories5/ so kdebugsettings can use it.

Also, sets the default logging level to Warning. So now the logs
of users won't be filled with debug messages but they can
modify the configuration easily with kdebugsettings.

Details

Committed
Antonio Larrosa <antonio.larrosa@gmail.com>May 26 2020, 4:55 PM
Parents
R224:8bf49850f177: use tv icon for bigscreen plugin
Branches
Unknown
Tags
Unknown
Antonio Larrosa <antonio.larrosa@gmail.com> committed R224:1d361642308a: Use ecm_qt_declare_logging_category to declare the logging categories (authored by Antonio Larrosa <antonio.larrosa@gmail.com>).May 26 2020, 4:55 PM