Unsolved My .h is in my .pro,but still show '.h' file not found,how to fixed
-
I add the ldp_basic_vec.h in the pro,but it till show me 'ldp_basic_vec.h' file not found, why and how fixed it! thanks!
here is the pic:
-
@Princein said in My .h is in my .pro,but still show '.h' file not found,how to fixed:
here is the pic:
I cannot see your pic.
@Princein said in My .h is in my .pro,but still show '.h' file not found,how to fixed:
show me 'ldp_basic_vec.h' file not found
The .h file may be not in the project folder (where
.pro
) is present or if it is present u can close your project and reopen the project to load .h file.If the .h is present in different path can manually add them to project.
-
the pic links:
error: https://github.com/iOSPrincekin/Qt/blob/master/QA/5.png
.pro:https://github.com/iOSPrincekin/Qt/blob/master/QA/6.png -
@Princein
Have you added the subfolder to the include path?If not, you‘ll have to add the subfolders in your include statement
#include only looks in the same folder, or in the include path‘s defined in your pro file