[Qt-interest] How to add 3rd party Header to project

Alessandro Portale alessandro.portale at trolltech.com
Thu Sep 3 13:25:19 CEST 2009


Did you try INCLUDEPATH?

http://doc.qt.nokia.com/latest/qmake-variable-reference.html#includepath

It should be able to handle relative paths.

Deepak Angeshwar wrote:
> All,
> 
> I have installed QJason and I want to use it in my project.
> I can "Add" the Header files to my project.
> 
> I right click on the project and "Add existing files..."
> My .pro file gets updated with .h files (relative path for header files)
> under HEADERS section.
> 
> Howevere when I build the project it still complains
>  
> client.cpp:9:20: parser.h: No such file or directory
> 
> Can some one let me know how to add 3rd party files/

-- 
Alessandro Portale
Software Engineer
Nokia, Qt Development Frameworks



More information about the Qt-interest-old mailing list