Do you include userFunc.h from another project's directory (i.e. something outside of your projects root directory) or does it belong to your current project?
If it is from an outside project you set INCLUDEPATH in your projects .pro file to point to the directory containing the mentioned header and use unqualifiled header includes.
INCLUDEPATH += . /path/to/userFunc/
INCLUDEPATH += . /path/to/userFunc/
To copy to clipboard, switch view to plain text mode
#include <userFunc.h>
instead of
#include <../../userFunc.h>
#include <userFunc.h>
instead of
#include <../../userFunc.h>
To copy to clipboard, switch view to plain text mode
Bookmarks