[kde-freebsd] qt4-moc link failure
makc at issp.ac.ru
Sun Jun 13 13:37:00 UTC 2010
On Sat, 12 Jun 2010 16:26:51 -0700, Doug Barton wrote:
> On 06/12/10 00:18, Andriy Gapon wrote:
> > on 12/06/2010 03:40 Rob Farmer said the following:
> >> On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton<dougb at freebsd.org> wrote:
> >>> Full log is at http://people.freebsd.org/~dougb/qt4-moc.log
> >> It looks like you compiled with g++45 but the very last command (the
> >> link) is using g++ (ie the base system gcc). I don't know enough about
> >> compilers to say for sure if that would cause the problem or not, but
> >> its probably a good starting point.
> > Yeah, here is my earlier post to kde@ list, no reply to it:
> > http://email@example.com/msg08123.html
> Thanks Andriy, your suggestion to edit
> /usr/local/share/qt4/mkspecs/common/g++.conf did the trick. :)
> So, kde folks, is this going to be _the_ solution to this problem, or
> can y'all come up with a better one? If we're going to push in the
> direction of a "ports compiler" this is a problem that needs to be solved.
qmake is designed to use special mkspecs for compilers. The only solution now
is to create qmake mkspecs files for each compiler. Then switching between
different compilers can be done via QMAKESPEC environment.
More information about the freebsd-ports