<div dir="ltr"><div><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>
><br>
> -- QGIS version: 2.9.0 Master (20900)<br>
> -- Found Proj: /usr/lib/libproj.so<br>
> -- Found GEOS: /usr/lib/libgeos_c.so (3.4.2)<br>
> -- Found GDAL: /usr/lib/libgdal.so (1.10.1)<br>
> -- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so<br>
> -- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so<br>
> -- Found Qwt: /usr/local/qwt-6.1.2/lib/libqwt.so (6.1.2)<br>
> -- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so<br>
> -- Found PostgreSQL: /usr/lib/libpq.so<br>
> -- Found SpatiaLite: /usr/lib/x86_64-linux-gnu/libspatialite.so<br>
> -- Found Qt version: 5.2.1<br>
> -- Touch support disabled<br>
> -- Found QScintilla2: /usr/lib/libqt5scintilla2.so (2.8.1)<br>
> -- Pedantic compiler settings enabled<br>
> -- Debug output enabled<br>
> -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm<br>
> -- Configuring done<br>
> -- Generating done<br>
><br>
<br>
</span>I'd try the following:<br>
grep -i qt4 CMakeCache.txt<br>
<br>
and<br>
<br>
ldd /usr/lib/libqt5scintilla2.so<br>
ldd /usr/local/qwt-6.1.2/lib/libqwt.so<br>
<br>
Maybe that points out something...<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">I did already and it seems ok to me:<br></div><div class="gmail_extra"><br> ldd /usr/lib/libqt5scintilla2.so | grep -i qt<br> libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f20a24e9000)<br> libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f20a1cc0000)<br> libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f20a1672000)<br> libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f20a0fcc000)<br>ldd /usr/local/qwt-6.1.2/lib/libqwt.so | grep -i qt<br> libQt5OpenGL.so.5 => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007f97ca6f1000)<br> libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007f97ca4a5000)<br> libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f97ca23f000)<br> libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f97c9a16000)<br> libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f97c93c9000)<br> libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f97c8d22000)<br><br>grep -i qt4 CMakeCache.txt<br>//If enabled will try to find Qt5 before looking for Qt4<br><br></div><div class="gmail_extra">I cleaned ccache, make clean and rebuilt but still:<br></div><div class="gmail_extra"><br>ldd /apps-qt5/lib/libqgis_gui.so |grep Qt | grep -v Qt5<br> libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4 (0x00007f75f5501000)<br> libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f75f484d000)<br> libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f75f4368000)<br clear="all"></div><br></div><div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div></div>