<table><tr><td style="">kossebau created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5666" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This removes the need to call QLoggingCategory::setFilterRules()<br />
in the program code to default to disabled debug type log<br />
without any other settings. <br />
The latter has disadvantages, as it shadows any settings done<br />
in qtlogging.ini config files by the user<br />
(e.g. via kdebugsettings), thus enabling runtime control only<br />
via QT_LOGGING_CONF/QT_LOGGING_RULES, which is not that<br />
comfortable with lots of categories.</p>

<p>Also use ECMQtDeclareLoggingCategory for less manual code</p>

<p>While there can be some inconsistency with the default disabled<br />
log categories by ECMQtDeclareLoggingCategory, which<br />
switched to QtInfoMsg for ECM 5.26 (when KF5 5.26 has Qt 5.5<br />
as min dep, which is the Qt version QtInfoMsg was added),<br />
current KDevPlatform code has Qt 5.4 as minimum version and<br />
thus also does not use qCInfo, so KDevPlatform behaviour should<br />
be the same across used Qt versions.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>BRANCH</strong><div><div>useECMQtDeclareLoggingCategory</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5666" rel="noreferrer">https://phabricator.kde.org/D5666</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
debugger/CMakeLists.txt<br />
debugger/util/debug.cpp<br />
debugger/util/debug.h<br />
documentation/CMakeLists.txt<br />
documentation/debug.h<br />
documentation/documentationview.cpp<br />
language/CMakeLists.txt<br />
language/util/debug.cpp<br />
language/util/debug.h<br />
outputview/CMakeLists.txt<br />
outputview/debug.h<br />
outputview/ioutputview.cpp<br />
project/debug.cpp<br />
serialization/CMakeLists.txt<br />
serialization/debug.cpp<br />
serialization/debug.h<br />
shell/CMakeLists.txt<br />
shell/debug.cpp<br />
shell/debug.h<br />
shell/progresswidget/progressmanager.cpp<br />
shell/settings/environmentwidget.cpp<br />
shell/settings/pluginpreferences.cpp<br />
shell/settings/sourceformattersettings.cpp<br />
shell/workingsets/closedworkingsetswidget.cpp<br />
shell/workingsets/workingset.cpp<br />
shell/workingsets/workingsetwidget.cpp<br />
sublime/CMakeLists.txt<br />
sublime/mainwindow.cpp<br />
sublime/sublimedebug.h<br />
util/CMakeLists.txt<br />
util/debug.cpp<br />
util/debug.h<br />
vcs/CMakeLists.txt<br />
vcs/debug.cpp<br />
vcs/debug.h<br />
vcs/dvcs/dvcsjob.cpp<br />
vcs/dvcs/ui/branchmanager.cpp<br />
vcs/models/brancheslistmodel.cpp<br />
vcs/widgets/vcsdiffpatchsources.cpp<br />
vcs/widgets/vcsdiffwidget.cpp<br />
vcs/widgets/vcseventwidget.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>