<table><tr><td style="">kossebau added inline comments.
</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/D2854" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>INLINE COMMENTS</strong><div><div style="margin: 6px 0 12px 0;"><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D2854#inline-13944" rel="noreferrer">View Inline</a><span style="color: #4b4d51; font-weight: bold;">shumski</span> wrote in <span style="color: #4b4d51; font-weight: bold;">KDEInstallDirs.cmake:534</span></div>
<div style="margin: 8px 0; padding: 0 12px; color: #74777D;"><p style="padding: 0; margin: 8px;">It is :) But with this latest revision it is not when that var is off =) I'm saying that for both cases it should happen.</p></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">Fear I am still missing what you mean. So let's go explicitely, here is what I understand to happen:</p>

<p style="padding: 0; margin: 8px;">There are six different cases when using this macro and on the first invocation of cmake, from the combinations of installing to a different prefix or the same prefix as Qt (2 variants) versus KDE_INSTALL_USE_QT_SYS_PATHS being not set/defined, set to ON, set to OFF (3 variants).</p>

<p style="padding: 0; margin: 8px;">In these 3 cases plugins, QCH & Co. will be all installed to Qt system dirs and thus automatically picked up by Qt, without the need for further env var settings:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">-DKDE_INSTALL_USE_QT_SYS_PATHS=ON, different prefix</li>
<li class="remarkup-list-item">-DKDE_INSTALL_USE_QT_SYS_PATHS=ON, same prefix</li>
<li class="remarkup-list-item">KDE_INSTALL_USE_QT_SYS_PATHS not passed as argument, same prefix (so</li>
</ul>

<p style="padding: 0; margin: 8px;">In the three other cases plugins, QCH & Co will be installed in dirs and need further env var settings, for Qt (and Qt Assistant) to also pick up the stuff.</p>

<p style="padding: 0; margin: 8px;">Where do we see things differently? And just to make sure, you have seen the right lines at the link I passed before, how _default_KDE_INSTALL_USE_QT_SYS_PATHS is set to ON if the same prefix is used?</p></div></div></div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2854" rel="noreferrer">https://phabricator.kde.org/D2854</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>kossebau, staniek, Frameworks<br /><strong>Cc: </strong>shumski, kfunk, staniek, winterz, ochurlaud, KDevelop<br /></div>