I just tried to build qt6 via vcpkg and it failed. I first thought it is a vcpkg problem but switching to 3.27 solved it (and failed later due to a different error)
The error message was:
CMake Error in C:/Development/vcpkg-clion/vcpkg/buildtrees/qtbase/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-qarcjy/CMakeLists.txt:
The target named “cmTC_fd527” has C++ sources that may use modules, but
modules are not supported by this generator. See the cmake-cxxmodules(7)
manual and the CMAKE_CXX_SCAN_FOR_MODULES variable.
sorry, I just stumbled on this so I have no experience. What’s the easiest way to do this? Is there a pre-built version somewhere or do I have to build cmake myself?
There are nightly master builds here: https://cmake.org/files/dev/?C=M;O=D It was merged on 1 Nov, so if it is broken on 31 Oct and works on 1 Nov or 2 Nov, that would be a good indicator that it is fixed. But rc4 should be out this week.