<table><tr><td style="">kossebau edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-tmexdn66pqnz5li/">(Show Details)</a>
</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/D16032">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Introduces five new</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Adds two wrapping variants of the</span> macros<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">:</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">* </span>declare_<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">platformlib</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">qt_logging_category() & install</span>_qt_logging_categor<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">y</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">ies()</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">* install_platformlib_qt_logging_categories</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">which have an argument TYPE to control specific behaviour that</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">and</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">otherwise is generalized in the wrapping macros to not have to repeat</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">* declare_plugin_qt_logging_category</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">any things with every macro call and to ensure consistency, e.g. in</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">* declare_app_qt_logging_category<br />
* install_app_plugin_qt_logging_categories</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the used description texts.<br />
<br />
The wrapper macros also handle linking things by the matching EXPORT ids,</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">which move any repeated patterns into the macros, and result in automatic<br />
binding via the macro names to the generation of the kdebugsettings file</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">so the caller does not have to care for this</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">These macros are applied for all places with qt logging categories (libs</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">No perfect solution yet</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">plugins, app)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">but at least a first working approach to automatic<br />
generation of the kdebugsettings files</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>morecategoriesgeneration</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16032">https://phabricator.kde.org/D16032</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop, kfunk<br /><strong>Cc: </strong>kfunk, apol, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>