QT: fatal error C1083: Cannot open include file: 'type_traits'
NickName:jabroni Ask DateTime:2022-10-20T14:23:24

QT: fatal error C1083: Cannot open include file: 'type_traits'

I've been spending almost all day trying to get QT installed on my windows machine. I have installed QTCreator with QT 5.14.1 and QWT 6.1.3 (have also tried 6.2.0) and following these instructions with QWT: https://qwt.sourceforge.io/qwtinstall.html

Everything goes fine until I get to the same point where after running nmake it prints:

qwt.cpp
..\..\..\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qglobal.h(45) : fatal error C1083: Cannot open include file: 'type_traits': No such file or directory
qwt_abstract_scale_draw.cpp
..\..\..\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qglobal.h(45) : fatal error C1083: Cannot open include file: 'type_traits': No such file or directory
qwt_bezier.cpp
..\..\..\Qt\Qt5.14.2\5.14.2\msvc2017_64\include\QtCore\qglobal.h(45) : fatal error C1083: Cannot open include file: 'type_traits': No such file or directory

My path variables show that the include directory where type_traits exists is most definitely there.

Any pointers would be great. I'm not sure what else I can possibly do. I've uninstalled and reinstalled my entire .net framework, same with QT. PATH variables

Copyright Notice:Content Author:「jabroni」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74135276/qt-fatal-error-c1083-cannot-open-include-file-type-traits

More about “QT: fatal error C1083: Cannot open include file: 'type_traits'” related questions

QT: fatal error C1083: Cannot open include file: 'type_traits'

I've been spending almost all day trying to get QT installed on my windows machine. I have installed QTCreator with QT 5.14.1 and QWT 6.1.3 (have also tried 6.2.0) and following these instructions ...

Show Detail

C1xx: fatal error C1083 because of spaces in file path (while building Qt 4.8 for MS VS)

I'm trying to build Qt 4.8.6 for MS Visual Studio 2015 following this instruction by trig-ger. On the stage #5 (configure) I've got multiple errors c1xx : fatal error C1083: Cannot open source file",

Show Detail

fatal error C1083: Cannot open include file: 'QtWebEngineWidgets': No such file or directory

used this QT += webenginewidgets in its associated pro files. But still getting the error of fatal error C1083: Cannot open include file: 'QtWebEngineWidgets': No such file or directory I am

Show Detail

fatal error C1083: Cannot open include file

I looked at previous post based on this but they do not relate. I am receiving the following error. 1>c:\users\numerical25\desktop\intro todirectx\introtodirectx\chapter 4\init direct3d\init di...

Show Detail

release version of app throwing c1083 cannot open include file error

I have a project that I have been running in debug mode and compiles and works fine. However, when I try and do a release version I now get the following error: "fatal error C1083: Cannot open in...

Show Detail

"Fatal Error C1083: Cannot open include file" in QtCreator

So I am working on a C++ Project in QtCreator which worked fine all the time. The project includes some external libraries for instance DDS solutions, but also it includes a library called "SimConn...

Show Detail

Cannot open include file

I have installed Qt 5.12.3 and Vulkan SDK and VULKAN_SDK environment variable set.Then I tried to build the vulkan examples in Qt\Examples\Qt-5.12.3\vulkan\hellovulkancubes, and the Qt compiler ...

Show Detail

fatal error C1083: Cannot open include file: 'excpt.h' and 'ctype.h'

I'm trying to build TortoiseSVN and when I run nant setup, I get these build errors and I'm not sure how to resolve them. There are similar posts on SO but they're outdated or do not apply to my

Show Detail

Cannot open include file pcap.h in QT creator (C1083)

I am trying to link winpcap into my QT creator project. For that I've added this to my .pro file: INCLUDEPATH += C:/WpdPack/Include LIBS += -LC:/WpdPack/Lib -lwpcap - lpacket When I type #includ...

Show Detail

VS 2008: Fatal error C1083: Cannot open include file: ...: Invalid argument

I've seen lots of questions about Fatal Error C1083 "No such file or directory", but in my case I am seeing "Invalid argument". I am on 32-bit Windows trying to compile some C++ code which uses Bo...

Show Detail