[poppler] [patch] Switch qt4 detection to using pkg-config

Albert Astals Cid aacid at kde.org
Tue Oct 3 14:15:16 PDT 2006


A Diumenge 01 Octubre 2006 10:19, Brad Hards va escriure:
> G'day,
>
> The attached patch basically changes the configure checks for Qt4 to use
> pkg-config.
>
> There is a bit more work to do on this (removing the unused bits from
> m4/qt.m4, and probably adding some magic to poppler-qt4.pc.in).
>
> I'm not sure how to handle Qt4 with either release or debug versions, which
> changes the suffix. I'm looking at the old dbus code to see if that can
> help.
>
> Any objections to this change?

BTW forgot to mention don't see why one line is

PKG_CHECK_MODULES(POPPLER_QT4, QtCore >= 4.1.0 QtGui >= 4.1.0 QtXml >= 4.1.0 
QtTest >= 4.1.0)

and the other

PKG_CHECK_MODULES(POPPLER_QT4, QtCore >= 4.2.0 QtGui >= 4.1.0 QtXml >= 4.1.0 
QtTest >= 4.1.0

different QtCores

Albert

>
> Brad


More information about the poppler mailing list