Search code examples
windowsqtqt-creatorqt6

How to fix "no compiler can produce code for this qt version" in Qt6 beta?


I am eager to test the beta release of Qt6 on a Windows 10 machine.

For the alpha version I have followed this tutorial by voidrealms and it worked.

However, when I install the beta2 (6.0.0-202010220944), I cannot use it, as the kit is not available. The error says:

no compiler can produce code for this qt version. Please define one or more compilers for:

x86-windows-msys-pe-64bit

Qt version

Searching for a solution of this error, I read this topic. However, it does not help me getting further, because I already have the latest (and updated) version of MSVC 2019 installed.

Here are the installed and detected compilers:

Qt Creator settings

I realise it is a beta version and there might/should be problems. However, is it possible to make this work?


Solution

  • I believe this to be an error by Qt. If Qt Creator is telling you that the ABI for that version of qmake is x86-windows-msys-pe-64bit, then that means it was built with the mingw compiler. If it had been built with MSVC, you should see x86-windows-msvc2019-pe-64bit. I would report it as a bug.

    In the meantime, if you wanted to test out Qt6, you could install mingw.