On Friday 31 July 2009 12:11:50 ext Lorenzo Bettini wrote:
> Daniel Teske wrote:
> > On Thursday 30 July 2009 12:04:32 ext Lorenzo Bettini wrote:
> >> Daniel Teske wrote:
> >>>> mh....  but I don't want to spoil the .pro file with something
> >>>> hardcoded...  the headers and libs are found by pkg-config...  isn't
> >>>> there a way to solve the problem?
> >>>
> >>> Could you attach your .pro file and the output of
> >>> pkg-config --cflags-only-I $PKGCONFIG ?
> >>
> >> I don't know what you mean by $PKGCONFIG, however, this is the output
> >> for the library I use (note that I need to use PKG_CONFIG_PATH
> >> environment variable, since the libraries I use are in my home):
> >>
> >> PKG_CONFIG_PATH=~/usr/local/lib/pkgconfig/ pkg-config --cflags-only-I
> >> source-highlight-qt4
> >
> > So does it work if you start creator from an environment where
> > PKG_CONFIG_PATH is set?
>
> No:
>
> PKG_CONFIG_PATH is already part of the Build environment variables in
> the project settings, with the correct path, otherwise qmake would fail.
>   The problem is that the indexing of qt-creator cannot find the headers
> anyway...  what does the indexing use for searching for header file
> directories?

If you don't want to try what I suggested, then I can't help you.

daniel
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to