[Visual Studio] Error C1083, use C++ language, cooperate with Qt to develop serial communication interface

Knowledge is not alone, it must be systematic. More my personal summary and related experience can be found in this column: Visual Studio .

This bug was encountered when I was working on this project: [Visual Studio] Qt's real-time drawing curve function, using C++ language, cooperates with Qt to develop serial communication interface .

Article directory

question

When using C++ language and cooperating with Qt to develop the serial communication interface, the error code C1083 is reported.

Copy the error message so that others can retrieve my article when searching. The error message is as follows:

Severity Code Description Project File Line Suppressed Display Status
Error C1083 Unable to open include file: “qchartview.h”: No such file or directory (compile source file GUI.cpp) GUI C:\Users\jicha\source\repos\GUI\ GUI.h 10

The screenshot of the error is as follows:

insert image description here

solution

A picture is better than the preface, and the solution should follow the picture below.

insert image description here

insert image description here

insert image description here

Note, don't forget to select other Modules required by the project. If you encounter similar problems in the future, you can solve them in the same way. hope this helps.

Ref.

Supongo que te gusta

Origin blog.csdn.net/weixin_36815313/article/details/131336394
Recomendado
Clasificación