No compiler can produce code for this Qt version.

1,751 views
Skip to first unread message

Armando Hernandez

unread,
Feb 24, 2014, 4:19:20 PM2/24/14
to wand...@googlegroups.com
Hello everyone!
I have been trying to create a cross compiler for QT in my wandboard (using a Yocto core-minimal-image with QT5 on it).
I have followed this guide on building Qt5 using yocto on Wandboard.
I have also followed this guide on Setup QT creator for developing QT apps on wandboard.

When I try to add a Qt Version in the tools menu, I get an admiration (attention) sign and a message that sais "No compiler can produce code for this Qt version. Please define one or more compilers."

I have read a few threads more or less with this same error, but the solutions on them are not helping me at all.. :(
This is what I have used (first time):
bitbake meta-toolchain using dora branch
---> I installed poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
qt-everzwhere-opensource-src-5.1.1.tar.gz
qt-creator-opensource-linux-x86-3.0.0.run
---> Based on Qt 5.2.0 (GCC 4.6.1, 32bit)

After I realized that the qt-creator I am using is based in Qt 5.2.0 I did everything again using:
bitbake meta-toolchain using dora branch
---> I installed poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
qt-everzwhere-opensource-src-5.2.1.tar.gz

but this time, when I try to run ./configure..... to make the crosscompiler everything is apparently fine, so I run 
"sudo make -j4"
And it turns out that there is not makefile to run make.

I am in the threshold where frustration becomes giving up, so if anyone could give a hit would be awesome!

Thanks in advace to all of you.

By the way, I am running on Ubuntu 12.04, and if I am missing any important information here, please let me know!

Thanks again!

Armando.

Marius

unread,
Feb 27, 2014, 5:46:09 AM2/27/14
to wand...@googlegroups.com


Am Montag, 24. Februar 2014 22:19:20 UTC+1 schrieb Armando Hernandez:
but this time, when I try to run ./configure..... to make the crosscompiler everything is apparently fine, so I run 
"sudo make -j4"
And it turns out that there is not makefile to run make.

You have to remove the -dont-process option. I don't know why it is there.

jayr...@gmail.com

unread,
May 5, 2014, 8:37:09 AM5/5/14
to wand...@googlegroups.com


Hi there, me too followed the same  this wiki , and i end up with this error "NO No compiler can produce code for this Qt version. Please define one or more compilers" , has anyone  been able to resolve this ?

Thanks

Jay

Reply all
Reply to author
Forward
0 new messages