[Qgis-developer] Problems building for QT5

Matthias Kuhn matthias at opengis.ch
Mon May 4 11:09:14 PDT 2015


>
> QScintilla was ok but I forgot to change the links for QWT. Now I
> downloaded and built QWT using Qt5 version of qmake, then set the
> right path but still no luck... I cannot figure out why it is still
> linking to libQtCore.so.4
>
> -- QGIS version: 2.9.0 Master (20900)
> -- Found Proj: /usr/lib/libproj.so
> -- Found GEOS: /usr/lib/libgeos_c.so (3.4.2)
> -- Found GDAL: /usr/lib/libgdal.so (1.10.1)
> -- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so
> -- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so
> -- Found Qwt: /usr/local/qwt-6.1.2/lib/libqwt.so (6.1.2)
> -- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
> -- Found PostgreSQL: /usr/lib/libpq.so
> -- Found SpatiaLite: /usr/lib/x86_64-linux-gnu/libspatialite.so
> -- Found Qt version: 5.2.1
> -- Touch support disabled
> -- Found QScintilla2: /usr/lib/libqt5scintilla2.so (2.8.1)
> -- Pedantic compiler settings enabled
> -- Debug output enabled
> -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> -- Configuring done
> -- Generating done
>

I'd try the following:
grep -i qt4 CMakeCache.txt

and

ldd /usr/lib/libqt5scintilla2.so
ldd /usr/local/qwt-6.1.2/lib/libqwt.so

Maybe that points out something...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150504/70faace4/attachment.pgp>


More information about the Qgis-developer mailing list