(C++) How to add an \#include folder in Qt Creator?

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) Qt How to add an #include folder in Qt Creator?

 

Qt Creator FAQ.

 

If you want to add an extra #include folder in your Qt Creator project file, do the following:

  1. View your project (ALT-0)
  2. Double-click on your project file (HelloWorld.pro for example) to open the code editor
  3. Add an INCLUDEPATH line:

 


INCLUDEPATH += ../../../boost