<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-05-04 9:46 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">
<div>
Hi Alessandro<div><div><br>
<br>
<div>On 05/04/2015 09:36 AM, Alessandro
Pasotti wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2015-05-04 9:12 GMT+02:00 Jürgen E. <span dir="ltr"><<a href="mailto:jef@norbit.de" target="_blank">jef@norbit.de</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">Hi Alessandro,<br>
<span><br>
On Mon, 04. May 2015 at 09:02:39 +0200, Alessandro
Pasotti wrote:<br>
> I set QT5 ON and I think I've installed all
requirements (I'm on Ubuntu<br>
> 14.04) but I get lot of errors while building.<br>
><br>
> Here is the output:<br>
><br>
> <a href="https://dpaste.de/dJNO" target="_blank">https://dpaste.de/dJNO</a><br>
><br>
> It seems like it still links to Qt4, any hint?<br>
<br>
</span>Try WITH_BINDINGS FALSE<br>
</blockquote>
<div><br>
<br>
</div>
<div>Thanks Juergen,<br>
<br>
</div>
<div>tried WITH_BINDINGS FALSE but still fails<br>
<br>
<a href="https://dpaste.de/6wT0" target="_blank">https://dpaste.de/6wT0</a><br>
</div>
</div>
</div>
</div>
</blockquote>
<br></div></div>
There seem to be some leftovers that try to bring in bits of Qt4.<br>
<br>
I have once written a short howto:<br>
<a href="https://github.com/qgis/QGIS/pull/1676" target="_blank">https://github.com/qgis/QGIS/pull/1676</a><br>
<br>
I hope that helps,<br>
Matthias<br>
<blockquote type="cite"><span>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br clear="all"></div></div></div></div></span></blockquote></div></blockquote><div><br><br></div><div>Thanks Mathias, <br><br></div><div>it helped and I successfully built qgis with Qt5<br><br></div><div>the problem is that it segfaults at start.<br><br>(gdb) run<br>Starting program: /home/ale/apps-qt5/bin/qgis <br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x00007fffee35ddfc in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br><br><br></div><div>I noticed that there are still links to Qt4:<br><br>ldd /home/ale/apps-qt5/bin/qgis|grep Qt | grep -v Qt5 <br> libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4 (0x00007f0f83399000)<br> libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f0f826e6000)<br> libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f0f82200000)<br><br> ldd /home/ale/apps-qt5/lib/libqgis_gui.so |grep Qt | grep -v Qt5<br> libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4 (0x00007fa851a10000)<br> libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fa850d5c000)<br> libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fa850877000)<br><br><br></div><div>I disabled the bindings, grass plugin and qwt polar and make clean, what am I doing wrong?<br></div></div><br clear="all"><br>-- <br><div>Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>