[Qt-creator] QT Creator 7.0.2 creating Kit throws error of "Compiler cannot produce code for Qt Version" on Windows Patform

Jakob Lettenbichler jakob.lettenbichler at artech.at
Mon Jun 27 10:53:55 CEST 2022


I am no specialist either, but I got my kits working (embedded stuff), therefore maybe I can help. Here some questions:
“Qt 6.2.4 (system) isn’t that the windows version of Qt? In that case I don’t think you can compile for target (what does the “Qt Versions” say?).
Which gcc version are you using for target?
What does the “Compilers” tab say?


From: Qt-creator <qt-creator-bounces at qt-project.org> On Behalf Of Rasool, Ansar
Sent: Friday, 24 June 2022 15:43
To: qt-creator at qt-project.org
Subject: [Qt-creator] QT Creator 7.0.2 creating Kit throws error of "Compiler cannot produce code for Qt Version" on Windows Patform

Hi All,

I am trying to create a Kit in Qt Creator 7.0.2 from an SDK generated for x86_64 arch with mingw support on Windows Host. Upon adding qmake.exe file and compilers (C/C++), Kit throws error of "The Compiler GCC cannot produce code for Qt Version". However, the ABIs set in both GCC and Qt versions are same and compatible. Screenshot is attached below.

Can anyone point me about how can I overcome/debug this error?
[cid:image001.png at 01D88A14.3132C720]

Ansar Rasool

FN 181686 k. HG Wien, UID-Nr. ATU 47056901, zertifiziert nach ISO 9001:2015 Nr. 04036/0
Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhaltes dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen und die E-Mail zu vernichten. Für Übermittlungsfehler oder sonstige Irrtümer bei der Übermittlung besteht keine Haftung.
This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments. E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220627/955e8f73/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 171642 bytes
Desc: image001.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220627/955e8f73/attachment-0001.png>

More information about the Qt-creator mailing list