How to resolve error : No compiler can produce code for this Qt version. Please define one or more compilers for: x86-linux-generic-elf-64bit
-
I am doing my development on the Digi ConnectCore 8M Nano development kit. I am using yocto 4.0 for the image build and the kernel is 5.15.
Now in Qt Creator(Qt version 6.7 and Qt creator version 13.0.1) when I selecting the kits(edit/preferences), I have defined the board as a remote linux device. The path for the GCC compilers are provided from sysroot/x86_64-deysdk-linux/usr/bin.
Now when I add the compilers in the kits, I am getting the following two errors :
- No compiler can produce code for this Qt version. Please define one or more compilers for:
- x86-linux-generic-elf-64bit
- Mkspec not found for Qt Version(Path has been provided though)
What should be done ?
- No compiler can produce code for this Qt version. Please define one or more compilers for:
-
@anushka_prajose said in How to resolve error : No compiler can produce code for this Qt version. Please define one or more compilers for: x86-linux-generic-elf-64bit:
What should be done ?
You need Qt built for your target device. The device uses an ARM CPU as far as I can see and you're trying to use Qt built for x86_64 - this is not going to work.
Please use shorter titles for your posts.