[poppler] configure poppler for qt under windows and cygwin

Albert Astals Cid aacid at kde.org
Mon Feb 8 12:31:49 PST 2010


A Dilluns, 8 de febrer de 2010, Stefan Michalsky va escriure:
> 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?

You can also try cmake buildsystem that is what KDE developers on windows use 
(not sure if that's easier or not though)

Albert

> 
> 
> 
> Thanks a lot
> 
> Stefan
> 


More information about the poppler mailing list