Hi
I want to build Qt5 for Raspberry [qt-project.org] but for some reason it doesn’t detect the compiler correctly and gives me the “-reduce-exports was requested but this compiler does not support it” error when running ./configure. The actual cause is that $TEST_COMPILER (for testing -fvisibility and other features) is empty. Had a closed look and looks like QMAKE_CXX is never set.
Actually, QMAKE_CXX is set by devices/common/linux_device_pre.conf
QMAKE_CXX = $${CROSS_COMPILE}g++
but the function
getXQMakeConf QMAKE_CXX
never gets called and even if called, the QMAKE_CXX get’s losty somewhere in it (probably in the AWK mess).
Lauri
↧