Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
Qt Creator 7.0.0-beta2
-
None
-
Windows 10 version 21H2 build 19044.1566
Description
Hello!
I am building Qt Creator 7 Beta 2 with Qt 5.15.2. The reason:
1. Prebuilt Qt Creator 7 using Qt 6 contains the small font issue on UHD monitors - https://bugreports.qt.io/browse/QTCREATORBUG-26643
2. Qt Creator 6 branch always leads to crash due to this annoying issue: https://bugreports.qt.io/browse/QTCREATORBUG-27044
As you can see the bug fix version is: Qt Creator 7.0.0-rc1 (7.0 branch).
So, I am trying to built Qt Creator 7 by myself using Visual Studio 2019/2022 from Git: https://github.com/qt-creator/qt-creator
I run the following commands:
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja "-DCMAKE_PREFIX_PATH=C:\\Qt\\5.15.2\\msvc2019_64;C:\\LLVM" C:\\Users\\cobra\\Downloads\\qt-creator-opensource-src-7.0.0-beta2
cmake --build .
But it fails for me with this CmakeError.log error:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Users/cobra/Downloads/qtcreatorBuild/CMakeFiles/CMakeTmpRun Build Command(s):C:/PROGRA~1/NINJA-~1/ninja.exe cmTC_fbf5c && [1/2] Building C object CMakeFiles\cmTC_fbf5c.dir\CheckIncludeFile.c.obj
FAILED: CMakeFiles/cmTC_fbf5c.dir/CheckIncludeFile.c.obj
C:\PROGRA~1\MICROS~4\2022\ENTERP~1\VC\Tools\MSVC\1431~1.311\bin\Hostx64\x64\cl.exe /nologo /DWIN32 /D_WINDOWS /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /FoCMakeFiles\cmTC_fbf5c.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_fbf5c.dir\ /FS -c CheckIncludeFile.c
CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed.
Additionally, I have attached the cmake_output.txt file.
So, where should I find this file: pthread.h on Windows? Thank you.