[kde-freebsd] compiler selection problem with new qt
Andriy Gapon
avg at FreeBSD.org
Tue Jun 12 05:42:05 UTC 2012
on 11/06/2012 09:17 Dima Panov said the following:
> 11.06.2012 8:33, Andriy Gapon написал:
>> I think that I am seeing a new compiler selection problem while upgrading to the
>> new Qt.
>>
>> The following seems to be the cause.
>> share/qt4/mkspecs/freebsd-g++46/qmake.conf has these directives:
>> ...
>> QMAKE_CC = gcc46
>>
>> QMAKE_CXX = g++46
>> .
>> .
>> .
>> include(../common/g++-unix.conf)
>> ...
>>
>> And share/qt4/mkspecs/common/g++-unix.conf has this:
>> ...
>> include(g++-base.conf)
>> ...
>>
>> But share/qt4/mkspecs/common/g++-base.conf has these:
>> ...
>> QMAKE_CC = gcc
>> .
>> .
>> .
>> QMAKE_CXX = g++
>> ...
>>
>> In the end QMAKE_CC/QMAKE_CXX get set to gcc/g++.
>>
>
> It was fixed in hackish-way in area51 by myself. (QT/devel/qmake4). try it.
> If it will works for you, i'll commit it to portstree
>
What's hackish about that (assuming we talk about
http://area51.pcbsd.org/trunk/area51/QT/devel/qmake4/files/patch-qt4-before-ports-in-mkspecs.diff
) ? :-)
It seems to be completely correct. I tried and it works.
Thank you.
--
Andriy Gapon
More information about the kde-freebsd
mailing list