[Qt-creator] qt-creator indexing

Lorenzo Bettini bettini at dsi.unifi.it
Thu Jul 30 12:04:32 CEST 2009


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

outputs

-I/home/bettini/usr/local/include -I/home/bettini/usr/local/lib/include 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4

and the attached .pro

thanks
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qsource-highlight.pro
Type: application/vnd.nokia.qt.qmakeprofile
Size: 509 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090730/1c2f1fb7/attachment.bin 


More information about the Qt-creator-old mailing list