Solve the problem of adding new classes in Qt Designer

Solve the problem

Successfully added a new class @.@

Project scene

Recently, I am learning an open source interface framework-qtcanpool and plan to modify and improve it to form a project of my own.
Project reference from: https://blog.csdn.net/mmjbigma/article/details/79427537

Problem Description

Insert picture description here
Wouldn't it be added to Headers? But the problem is that there is no inside (the above picture is only after I solved the problem), but! The header file and executable file of this class can be found in the root path.
Insert picture description here
It is here.
Insert picture description here

Cause Analysis

Insert picture description here

solution

Knowing the path, we can directly add the existing file.
Insert picture description here
Of course, you can also add classes directly to Headers.
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_16488989/article/details/108791407