Bug#401807: pkgconfig for qt4-x11 (libqt4-dev) use wrong path
Package: libqt4-dev
Version: 4.2.1-2
In pkgconfig file of libqt4-dev:
dpkg -L libqt4-dev | grep "\.pc"
/usr/lib/pkgconfig/Qt3Support.pc
/usr/lib/pkgconfig/QtCore.pc
/usr/lib/pkgconfig/QtDBus.pc
/usr/lib/pkgconfig/QtGui.pc
/usr/lib/pkgconfig/QtNetwork.pc
/usr/lib/pkgconfig/QtOpenGL.pc
/usr/lib/pkgconfig/QtSql.pc
/usr/lib/pkgconfig/QtSvg.pc
/usr/lib/pkgconfig/QtTest.pc
/usr/lib/pkgconfig/QtXml.pc
The path /tmp/buildd/qt4-x11-4.2.1/ should not be there:
for
moc_location=/tmp/buildd/qt4-x11-4.2.1/bin/moc
uic_location=/tmp/buildd/qt4-x11-4.2.1/bin/uic
Libs: ... -L/tmp/buildd/qt4-x11-4.2.1/lib ...
should be
moc_location=/usr/share/qt4/bin/moc
uic_location=/usr/share/qt4/bin/uic
or
/usr/bin/moc-qt4
/usr/bin/uic-qt4
(/usr/share/qt4/bin/moc and uic are symlinks)
Reply to: