Hi,

I’m trying to experiment Qt 6 on Windows but I’m facing an issue.

If I setup a test quick project using qmake, it works. However, if I choose 
cmake failed to find the compiler with the following cmake error:

Running C:\Program Files\CMake\bin\cmake.exe -S C:/Users/sinos/workspace/qt6 -B 
C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug in 
C:\Users\sinos\workspace\build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug.
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.  Tell CMake where to find the compiler 
by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.-- Configuring 
incomplete, errors occurred!
See also 
"C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeOutput.log".
See also 
"C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeError.log".
CMake process exited with exit code 1.Elapsed time: 00:01.Running C:\Program 
Files\CMake\bin\cmake.exe -S C:/Users/sinos/workspace/qt6 -B 
C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug in 
C:\Users\sinos\workspace\build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug.
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.  Tell CMake where to find the compiler 
by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.-- Configuring 
incomplete, errors occurred!
See also 
"C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeOutput.log".
See also 
"C:/Users/sinos/workspace/build-qt6-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeError.log".
CMake process exited with exit code 1.Elapsed time: 00:00.

What could missing?

Thanks!

Nuno
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to