2

I want to do a cross compilation on Linux for a Windows use. I have download the compiler MinGW for C++ on my VM, I tried to set it up as a Kit, and here's the error I have :

Error: The compiler "MinGW (C++, ×86 64bit at /usr/bin/×86_64-w64-mingw32-g++)" (x86-windows-msys-pe-64bit) cannot produce code for the Qt version "Qt 6.4.1 GCC 64bit" (x86-linux-generic-elf-64bit).

Do I have to download an other version of MinGW? Which one then?

Thanks a lot !

Aamir
  • 1,974
  • 1
  • 14
  • 18
DamienDne
  • 27
  • 1

1 Answers1

-1

I had the same issue on Arch. I think this "warning" is a bug. I just ignore that fact, and try build app. I wasn't get any errors, even was try to open output .exe in Windows and don't notice any issue.

Empty
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 02 '23 at 06:48