Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cross-compile not working.

$
0
0
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

Viewing all articles
Browse latest Browse all 2113

Trending Articles