<table><tr><td style="">kossebau created this revision.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />kossebau requested review of this revision.
</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/D22724">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Goal is to replace KDesignerPlugin.<br />
So options & defaults are tried to be met.<br />
Only difference is the need to define the widgets in cmake code, using a<br />
util method, instead of external ".widgets" files.</p>
<p>Porting of ".widgets" files basically means:<br />
copy content into cmake, transform ini code into arguments to util method.<br />
Key names need a bit of adaption, current names are open for dicussion.</p>
<p>Porting example:</p>
<p>[KActionSelector]<br />
IncludeFile=kactionselector.h<br />
ToolTip=A widget for selecting and arranging actions/objects<br />
Group=Views (KF5)</p>
<p>gets</p>
<p>ecm_qtdesignerplugin_widget(KActionSelector</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">INCLUDE_FILE kactionselector.h
TOOLTIP "A widget for selecting and arranging actions/objects"
GROUP "Views (KF5)"</pre></div>
<p>)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>BRANCH</strong><div><div>addqtdesignerplugin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22724">https://phabricator.kde.org/D22724</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>modules/ECMAddQtDesignerPlugin.cmake</div></div></div><br /><div><strong>To: </strong>kossebau<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, LeGast00n, sbergeron, bencreasy, michaelh, ngraham, bruns<br /></div>