0
votes

In my systemA im having debian linux with x86 processor.I installed QT creator on it that is working fine.

In my systemB im having debian linux with arm processor.I need to run QT creator executable which is generated in SystemA(x86 processor).

For that i installed G++ cross compiler.Then i added the installed cross compiler in QT creator manually in Tools->Option-->Build&Run-->Compilers-->Add.Here I selected ABI as "arm-linux-generic-elf-64bit".

Now it in Kits it is showing the error like "The compiler G++ (arm-linux-generic-elf-64bit) cannot produce code for the QT version "QT 5.5.0 GCC 64 bit (x86-linux-generic-elf-64bit)""

How to resolve the issue?

1

1 Answers

1
votes

What you want to do is cross compilling your application.

This error means that you didn't ask to produce ARM code but x86 one. Take a look at the doc @Zaiborg proposed.

You selected the right compiler but didn't set your project as ARM. Read that doc before asking more.

Good luck in cross compiling.