I have a C library called Open SAE J1939 and I included it into my QT project. It worked.
When I open Application_Layer.h in QT Designer and start to compile
Then I get an error that my QT compiler do not find the .h files. Some of them, the compiler finds.
So the only option for me is to change from this:
#include "../../ISO_11783/ISO_11783_Enums/Enum_Auxiliary_And_General_Purpose_Valves.h"
To project absolute path:
#include "code/tools/opensaej1939/ISO_11783/ISO_11783_Enums/Enum_Auxiliary_And_General_Purpose_Valves.h"
Notice that not all ../../ cause issues.
Question:
The QT IDE seems to find the .h files by using ../../, but not the compiler.
Is there a way to tell QT IDE that ../../ is actually code/tools/opensaej1939?
Why does this occurs?