[Interest] Qt 6 and Windows with MSVC 2019

Cristian Adam cristian.adam at qt.io
Thu Dec 29 15:43:25 CET 2022


Hi Nuno,

The error message says that there is no CMAKE_CXX_COMPILER specified.

Your CMake command has only -S <source> and -B <build-dir> parameters. This means that you already have configured the project with an invalid CMAKE_CXX_COMPILER  parameter.

Delete your build directory and try again or click on "Re-configure with Initial Parameters" in the CMake project settings. Qt Creator should issue a CMake command with a -D CMAKE_CXX_COMPILER parameter.

If the CMAKE_CXX_COMPILER parameter is empty, then you have to check your Kit's compiler settings, fix the issue and try again.

Cheers,
Cristian.

________________________________
From: Interest <interest-bounces at qt-project.org> on behalf of Nuno Santos <nuno.santos at imaginando.pt>
Sent: Thursday, December 29, 2022 14:16
To: Macieira, Thiago <thiago.macieira at intel.com>
Cc: interest at qt-project.org <interest at qt-project.org>
Subject: Re: [Interest] Qt 6 and Windows with MSVC 2019

Thiago,

Thanks for your reply.

This was run inside Qt Creator.

Regards,

Nuno

> On 29 Dec 2022, at 11:42, Thiago Macieira <thiago.macieira at intel.com> wrote:
>
> On Thursday, 29 December 2022 07:55:52 -03 Nuno Santos wrote:
>> -- The CXX compiler identification is unknown
>
> Did you run this from inside the MSVC Command Prompt, where the vcvarsall.bat
> script was previously run to set the environment up?
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Cloud Software Architect - Intel DCAI Cloud Engineering
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221229/852fb544/attachment.htm>


More information about the Interest mailing list