Missing header when compiling in Qt Creator
Unsolved
Mobile and Embedded
-
Hi fellow coders, I encountered missing header when compiling my code.
i.e. the following header is missing:linux/module.h: No such file or directory
#include <linux/module.h>However, I can find this file in my vendor supplied Linux SDK, residing in /Home/. How may I 'tell' the source code to look for the headers in my vendor supplied Linux SDK instead?
-
@embdev See http://doc.qt.io/qt-4.8/qmake-variable-reference.html#includepath
Don't forget to rerun qmake after modifying pro file.