<div dir="ltr"><div>It seems the plugin search directory is hardcoded to /usr/lib/qt/plugins and the installation directory of the executable (in my case /usr/local/bin/kate). The plugins themselves are located at /usr/local/lib/plugins so they are not found by the kde plugin loader as it only searches in QCoreApplication::libraryPaths() which returns the earlier mentioned directories. <br></div><div><br></div><div>The qt documentation lists <a href="https://doc.qt.io/qt-5/qt-conf.html">https://doc.qt.io/qt-5/qt-conf.html</a> as a way to override these hardcoded paths so I changed the CMake config to add a qt.conf file to the executable containing the install location of the plugins. However, this causes kate to fail to start since the default search path for qt plugins (/usr/lib/qt/plugins) is overwritten so default qt plugins cannot be found anymore. <br></div><div><br></div><div>Another way to solve the problem is to add the required search paths when starting kate. I can generate a custom settings file containing the plugin installation directory with CMake and load it when starting kate but I wanted to ask here first since I'd be very surprised if this problem hasn't been encountered and solved by someone before me.</div><div><br></div><div>Regards,</div><div><br></div><div>Daan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 14 Jul 2019 at 17:17, Daan De Meyer <<a href="mailto:daan.j.demeyer@gmail.com">daan.j.demeyer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I wanted to try out the lsp plugin but after building the kate github repository from source using cmake and installing to /usr/local the plugins page in kate's settings is completely empty. I didn't manage to find any documentation on how to fix this.</div><div><br></div><div>When installing kate via the package manager the plugins page is not empty as expected.</div><div><br></div><div>I'm on Arch Linux if that helps.<br></div><div><br></div><div>Any suggestions?</div><div><br></div><div>Regards,</div><div><br></div><div>Daan De Meyer<br></div></div>
</blockquote></div>