<table><tr><td style="">kkofler updated this revision to Diff 22338.<br />kkofler retitled this revision from "Do not look for kioslave binary in applicationDirPath (#386859)" to "Do not look for kioslave binary in applicationDirPath on *nix (#386859)".<br />kkofler edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nkjvqzq2tlm6lpx/" rel="noreferrer">(Show Details)</a><br />kkofler 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/D8810" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>So, since this line makes sense on Windows/Mac, let's only get rid of it on Q_OS_UNIX then.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>binary in QCoreApplication::applicationDirPath()<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> on Q_OS_UNIX</span>. In<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> distribution</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">distribution </span>packages, this ends up looking for the binary in /usr/bin,<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> which is</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">which is </span>where the legacy kdelibs 3 installed its kioslave binary. As a<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> result,</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">result, </span>we end up invoking the kdelibs 3 kioslave binary with our KF5<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> KIO slave</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">KIO slave </span>and crashing it due to the mixed Qt/KDE libraries.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8810?vs=22305&id=22338" rel="noreferrer">https://phabricator.kde.org/D8810?vs=22305&id=22338</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8810" rel="noreferrer">https://phabricator.kde.org/D8810</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/slave.cpp</div></div></div><br /><div><strong>To: </strong>kkofler, Frameworks, kfunk, cullmann<br /><strong>Cc: </strong>broulik, kfunk<br /></div>