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

libqt4-dev and pkg-config



Hello,

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>



Reply to: