Date: Sun, 13 Jun 2010 17:36:55 +0400 From: Max Brazhnikov <makc@issp.ac.ru> To: kde-freebsd@kde.org Cc: Rob Farmer <rfarmer@predatorlabs.net>, Doug Barton <dougb@freebsd.org>, Andriy Gapon <avg@icyb.net.ua>, freebsd-ports@freebsd.org Subject: Re: [kde-freebsd] qt4-moc link failure Message-ID: <201006131736.56082.makc@issp.ac.ru> In-Reply-To: <4C1417BB.1020906@FreeBSD.org> References: <4C128F14.9060605@FreeBSD.org> <4C1334A9.1000208@icyb.net.ua> <4C1417BB.1020906@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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://www.mail-archive.com/kde-freebsd@kde.org/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. Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006131736.56082.makc>