[poppler] configure poppler for qt under windows and cygwin

Stefan Michalsky stefan.michalsky at farbwahl.de
Mon Feb 8 03:17:18 PST 2010


Hey guys,

 

my setup is as follows:

Windows XP Professional

Cygwin

Qt 4.5.0

MinGW 3.x

 

The problem is, that I am relatively new to Qt and c++ in general.

 

I try to configure and compile poppler to use it in Qt. Running configure
with no options succeeded. Now I am trying to run configure with the option
--enable-poppler-qt4 but I get the following message:

 

>>> 

checking for Qt headers... no

checking for Qt libraries... no

checking for POPPLER_QT4... configure: error: Package requirements (QtCore
>= 4.3.0 QtGui >= 4.3.0 QtXml >= 4.3.0) were not met:

 

No package 'QtCore' found

No package 'QtGui' found

No package 'QtXml' found

 

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

 

Alternatively, you may set the environment variables POPPLER_QT4_CFLAGS

and POPPLER_QT4_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

>>> 

 

I set the PKG_CONFIG_PATH in .bashrc as follows:

PKG_CONFIG_PATH=/cygdrive/e/qt/2009.04/qt/:/cygdrive/e/qt/2009.04/qt/lib/:/c
ygdrive/e/qt/2009.04/qt/include/:/cygdrive/e/qt/2009.04/qt/src/:/cygdrive/e/
qt/2009.04/qt/bin/

 

The installion directory of Qt is E:\qt\2009.04\qt.

MinGW is located in E:\qt\2009.04\mingw.

I copied poppler to E:\qt\poppler-0.12.3.

 

Can someone please advise me how to get poppler configured with Qt properly?

 

Thanks a lot

Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/poppler/attachments/20100208/d6fe1489/attachment.html 


More information about the poppler mailing list