The command "echo $OE_QMAKE_CXX" returns empty

Which qmake did you select exactly? Could it be that you selected the one for the target architecture?

thanks for your answer it solved my problem

Perfect. Thanks for the feedback.