<p dir="ltr">Ok, so what's the real solution?<br></p>
<p dir="ltr">Adrian</p>
<div class="gmail_quote">On Aug 8, 2015 5:52 PM, "Schaich, Alonso" <<a href="mailto:alonsoschaich@fastmail.fm">alonsoschaich@fastmail.fm</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 8 Aug 2015 12:59:15 -0700<br>
Adrian Chadd <<a href="mailto:adrian@freebsd.org">adrian@freebsd.org</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I'm trying to write QT applications on freebsd. qtcreator works (dri<br>
> bugs aside) and can generate qt4 applications fine. But, there are<br>
> some things that don't exist in qt4 (like the qt4 opengl integration)<br>
> - there's just stuff missing.<br>
><br>
> Firstly - qt5 isn't autodetected by qtcreator. I think it's because<br>
> qmake isn't in /usr/local/bin/ . Sigh.<br>
><br>
> The stuff is there in qt5, but since qt5-qmake isn't including<br>
> -L/usr/local/lib, things just fail to link. This means I can't build<br>
> anything from source that I write locally. I've modified the Makefile<br>
> to include /usr/local/lib and things compile/run, so at least the<br>
> pieces are there.<br>
><br>
> So - what's the deal? This makes FreeBSD wholly unsuited for doing GUI<br>
> development on, and that kinda sucks.<br>
><br>
> Thanks,<br>
><br>
><br>
><br>
> -adrian<br>
<br>
This commit tries to workaround the issue<br>
<a href="http://src.mouf.net/area51/revision/?rev=10691" rel="noreferrer" target="_blank">http://src.mouf.net/area51/revision/?rev=10691</a><br>
<br>
However we reverted it in<br>
<a href="http://src.mouf.net/area51/revision/?rev=10838" rel="noreferrer" target="_blank">http://src.mouf.net/area51/revision/?rev=10838</a><br>
because it broke PORTS. QMake is messing up the linker path orders and<br>
ends up referencing the ${PREFIX} libraries instead of the build path<br>
ones when upgrading Qt ports, which causes the upgrade process to fail.<br>
<br>
Alonso<br>
</blockquote></div>