[kde-freebsd] qt4-moc link failure

Raphael Kubo da Costa kubito at gmail.com
Wed Jun 16 15:31:18 CEST 2010


On Wednesday 16 June 2010 10:22:20 Alberto Villa wrote:
> On Wednesday 16 June 2010 11:02:38 Alberto Villa wrote:
> > ok, i think i'll fix this, also thanks to a contribution from clang folks
> > unfortunately, it really means adding more qmake.conf's, but after
> 
> all
> 
> > there aren't so many compilers
> > 
> > and, of course, it will respect CC
> 
> here's (attached) what i've made so far: please , have a look
> i'm not able to test it at the moment because i am at the university
> (which means that i could have written all sort of stupid things)... will
> do some tests later. meanwhile, if you have suggestions or
> complaints, send them (pay attention: the patch was made against qt
> 4.7 in area 51... after the tests prove successful, i'll backport it to qt
> 4.6 (it requires just a couple of modifications))
> 
> i've added support for all the c++ compilers i've found in the ports:
> gcc(34|42|43|44|45|46), icc, llvm and clang. pcc is not a c++ compiler
> as far as i know. if something (even if exotic) is still missing, let me
> know. chances are you won't be able to build qt with them (in qt 4.7
> there is at least one test which requires gcc or icc... i've already sent
> my complaints to qt developers, and i'll soon patch it), but at least
> you'll be able to try
> 
> to make things even more tasty, bsd.qt.mk is able to understand if
> `c++` is actually g++ or clang++. yes, clang people, i'm talking to
> you :)

I'm actually in favour of upstreaming this: creating the spec files in Qt's 
source and sending a merge request via gitorious.


More information about the kde-freebsd mailing list