[kde-freebsd] qt4-moc link failure

Alberto Villa avilla at freebsd.org
Wed Jun 16 15:22:20 CEST 2010


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 :)
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

Tact in audacity is knowing how far you can go without going too far.
		-- Jean Cocteau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-cc.diff
Type: text/x-patch
Size: 6404 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100616/bdf962e7/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100616/bdf962e7/attachment.sig 


More information about the kde-freebsd mailing list