<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hey guys,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>my setup is as follows:<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>Windows XP
Professional<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>Cygwin<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>Qt 4.5.0<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>MinGW 3.x<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The problem is, that I am relatively new to
Qt and c++ in general.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>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:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&gt;&gt;&gt;<o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>checking for Qt headers... no<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>checking for Qt libraries... no<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>checking for POPPLER_QT4... configure:
error: Package requirements (QtCore &gt;= 4.3.0 QtGui &gt;= 4.3.0 QtXml &gt;=
4.3.0) were not met:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>No package 'QtCore' found<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>No package 'QtGui' found<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>No package 'QtXml' found<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Consider adjusting the PKG_CONFIG_PATH
environment variable if you<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>installed software in a non-standard
prefix.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Alternatively, you may set the environment
variables POPPLER_QT4_CFLAGS<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>and POPPLER_QT4_LIBS to avoid the need to
call pkg-config.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>See the pkg-config man page for more
details.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&gt;&gt;&gt;<o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I set the PKG_CONFIG_PATH in .bashrc as
follows:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>PKG_CONFIG_PATH=/cygdrive/e/qt/2009.04/qt/:/cygdrive/e/qt/2009.04/qt/lib/:/cygdrive/e/qt/2009.04/qt/include/:/cygdrive/e/qt/2009.04/qt/src/:/cygdrive/e/qt/2009.04/qt/bin/<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The installion directory of Qt is
E:\qt\2009.04\qt.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>MinGW is located in E:\qt\2009.04\mingw.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I copied poppler to E:\qt\poppler-0.12.3.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Can someone please advise me how to get
poppler configured with Qt properly?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Thanks a lot<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Stefan<o:p></o:p></span></p>

</div>

</body>

</html>