<table><tr><td style="">kossebau added a comment.
</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/D10485" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Could not reproduce that error locally, and build.kde.org had also not reported any problems. But given it failed for at least two people and the neon CI (<a href="https://build.neon.kde.org/job/xenial_unstable_plasma_plasma-desktop_bin_amd64/528/consoleFull" class="remarkup-link" target="_blank" rel="noreferrer">https://build.neon.kde.org/job/xenial_unstable_plasma_plasma-desktop_bin_amd64/528/consoleFull</a>) there might be some other problem hidden somewhere.</p>
<p>For what I looked, all generated Make rules also looked fine here (clean build), with expected conditions. <tt style="background: #ebebeb; font-size: 13px;">grep DEFINE_NO_PLUGIN . -R</tt> only got me hits for the lookandfeeltool targets, especially</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);">./CMakeFiles/lookandfeeltool_autogen.dir/AutogenInfo.cmake:set(AM_MOC_DEFINITIONS "DEFINE_NO_PLUGIN;KCOREADDONS_LIB;KGUIADDONS_LIB;QT_CORE_LIB;QT_DBUS_LIB;QT_DISABLE_DEPRECATED_BEFORE=0;QT_GUI_LIB;QT_NETWORK_LIB;QT_NO_URL_CAST_FROM_STRING;QT_PRINTSUPPORT_LIB;QT_QML_LIB;QT_QUICKWIDGETS_LIB;QT_QUICK_LIB;QT_WIDGETS_LIB;QT_X11EXTRAS_LIB;QT_XML_LIB;TRANSLATION_DOMAIN=\"kcm_lookandfeel\";_GNU_SOURCE;_LARGEFILE64_SOURCE")</pre></div>
<p>By the error reported it seems though the generated kcms/lookandfeel/kcm_lookandfeel_autogen/include/kcm.moc was without the code of the plugin factoy for whatever reason, where it should have it though. No idea why by just looking at the code.</p>
<p>Given I have no access to neon builds and also reached frustration level here :) I am now simply proposing <a href="https://phabricator.kde.org/D10607" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D10607</a> as an alternative solution without a preprocessor definition, that should avoid any possible confusion cmake/automoc might have here.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10485" rel="noreferrer">https://phabricator.kde.org/D10485</a></div></div><br /><div><strong>To: </strong>kossebau, FreeBSD, tcberner, bshah, mart, davidedmundson<br /><strong>Cc: </strong>davidedmundson, rikmills, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>