<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-05-04 20:09 GMT+02:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
><br>
> QScintilla was ok but I forgot to change the links for QWT. Now I<br>
> downloaded and built QWT using Qt5 version of qmake, then set the<br>
> right path but still no luck... I cannot figure out why it is still<br>
> linking to libQtCore.so.4<br>
></span></blockquote><div><br><br></div><div>Just discovered that QGIS built with QT5 runs fine from the build directory  but segfaults from the install directory.<br><br>This runs fine from the build directory:<br>LD_LIBRARY_PATH=output/lib/ output/bin/qgis<br><br></div><div>It seems like the install process (make install) removes the runtime path from the .so and this causes the problem: running ldd in output/lib/ doesn't show any Qt 4 lib while running ldd on the installed libqgis_gui.so shows <span class=""> libQtCore.so.4 </span><span class=""> libQtGui.so.4 etc.</span><br><br></div><div>Any idea how to fix this?<br></div><div><br></div></div>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>