[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libqt4-dev and pkg-config



Cédric <cedric.borgese@gmail.com> writes:

> I tryed to use 'pkg-config --cflags QtCore' to compile a little program with 
> qt4, but this give me that line :
> -DQT_SHARED -I/usr/include/qt4
>
> Because in QT4, all headers are splited in subdirectory according to their 
> module, if I use this include directory, I should include for example 
> <Qt/QWidget> or <QtCore/QWidget> instead of <QWidget> which looks like the 
> mandatory include according to the trolltech documentation on QT4.
>
> So, I think all *.pc files provided by the package libqt4-dev are wrong and 
> should return -I/usr/include/qt4/<module-directory>

You're probably right.  Feel free to file a report to Trolltech and send
me a patch if you want it fixed in the Debian packages.  :)

-- 
Captain Logic is not steering this tugboat.



Reply to: