<div dir="ltr"><div><div>No, I dont, see the last line in mytestrunner.cpp: <a href="https://github.com/Bakuriu/MyTestRunner/blob/master/mytestrunner.cpp#L64">https://github.com/Bakuriu/MyTestRunner/blob/master/mytestrunner.cpp#L64</a><br><br></div><div>And this is exactly the thing that puzzles me. If I put the .desktop file in place but I do not provide the .so library, I can see the KRunner load stating that it is unable to find the plug-in. When the .so library is in place no logging is produced to know whether it succesfully loaded the plugin or not, and the plugin isn't called when matching nor is listed in the configuration options.<br><br></div>that other file is automatically created by QtCreator, i just left it there but I know it's not required.<br></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno dom 10 lug 2016 alle ore 19:45 David Edmundson <<a href="mailto:david@davidedmundson.co.uk">david@davidedmundson.co.uk</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>You're missing this line somewhere:<br><br>K_EXPORT_PLASMA_RUNNER(my-test-runner, MyTestRunner)<br><br></div>It exports the big that make it a plugin, with the entry point that krunner needs.<br><br></div>Also you can then kill your mytestrunner_global.h code, as that's exporting code for linking against, which is a bit different.<br></div>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</blockquote></div>