[kde-freebsd] compiler selection problem with new qt

Andriy Gapon avg at FreeBSD.org
Sun Jun 10 21:33:18 UTC 2012


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++.

-- 
Andriy Gapon


More information about the kde-freebsd mailing list