On Tuesday, 2 March 2021 01:26:45 PST Liang Jian wrote: > Hi everyone, I have a problem configuring qt6 under Windows 10, msvc 2019. > My building environment is as follows: > 1) I use the latest qt 6.1 branch from git > 2) I have msvc 2019 installed under a windows 10 x64 machine > 3) I have installed cmake 3.19.6 and copied the latest ninja.exe to > cmake installation path (which is C:\Program Files\CMake\bin) and I am sure > when I build qt6 from source cmake used is the one installed by me instead > of the one installed with msvc
Ninja isn't mandatory, but a good idea. > 4) I have installed Active perl 5.4.2/Active python 2.7.2 > > I build qt6 with the following commands: > > mkdir qt6-build > > cd qt6-build > > ..\qt5\configure.bat -prefix ..\qt6-win64 -developer-build -opengl Don't use the configure scripts any more. Please use CMake directly. > I just can't figure out where the error comes from. I have no clue how > I can solve this configuration error. > CMakeOutput.log and CMakeError.log have been attached. > Any suggestion is welcome! Thanks The CMake logs aren't useful if the problem isn't compiling something. Please paste the entire output from CMake. We may need a run with --trace-expand to find out the decisions it made. I spent over one hour to get past the "cmake" step yesterday on macOS. I have not started on Windows. Will probably do that in June. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest