[Qt-creator] code completion with non-standard libraries

Adam Higerd ahigerd at timeips.com
Thu Feb 19 21:09:10 CET 2009


Justin Giles wrote:
> I have a library that I wrote and when I try to use code completion, 
> Creator doesn't pick up the functions available for my classes.  On a 
> similar note, I'm trying to use the VTK library with my app and code 
> completion doesn't work for that either.  I have header paths for both 
> libraries listed in my .pro file as:
> 
> INCLUDEPATH += /dev/libraries/mylib;/opt/local/include/vtk-5.3
> 
> The only things that seem to work with code completion are the Qt stuff 
> and anything that is listed in my project directory.
> 
> Oh, also, the application compiles fine, just code completion isn't working.
> 
> Thoughts?
> 
> Justin

Your problem is that you've got a semicolon in there; INCLUDEPATH 
expects spaces.

/s/ Adam



More information about the Qt-creator-old mailing list