# How to add include directory to Qt project

📅 2013-Dec-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ include directory, qt, qt creator ⬩ 📚 Archive

The method to add an include directory to a Qt project depends on how the project was created.

If the project has a `.pro` file, then add this line to it:

``INCLUDEPATH += "C:\some\include\path"``

If you have Qt Creator open with the project, you can find the `.pro` file under the project name. Alternatively, you can use any editor to edit this file. Remember to run `qmake` after adding the include directory.

If the project has a `.includes` file, then just add the path directly to it:

``C:\some\include\path``

Tried with: Qt 5.2.0 and Windows 7 x64