Hi,Hib<div><br></div><div>Thanks for your suggestion!!</div><div><br></div><div>I tried the development version of poppler.</div><div>but I am  not familiar with Autotools(Seems the Autotools of Mingw environment also has some problem...)</div>
<div><br></div><div>I typed :</div><div>autoconf</div><div>automake</div><div>./configure</div><div><br></div><div>is the above command sequence right?</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
2010/7/15 Hib Eris <span dir="ltr">&lt;<a href="mailto:hib@hiberis.nl">hib@hiberis.nl</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Jun,<br>
<div><div></div><div class="h5"><br>
On Thu, Jul 15, 2010 at 4:20 AM, Deng Jun &lt;<a href="mailto:proudeng@gmail.com">proudeng@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; thanks a lot.<br>
&gt; but I am wondering which libs I need to install in order to build poppler<br>
&gt; for qt4??<br>
&gt; I actually build some library my self such as libjpeg...<br>
&gt; and I used the following command sequence to build poppler for qt4.<br>
&gt; ./configure --enable-poppler-qt4 --disable-libopenjpeg<br>
&gt; mingw32-make &quot;CFLAGS+= -U__STRICT_ANSI__&quot; &quot;CXXFLAGS+= -U__STRICT_ANSI__&quot;<br>
&gt; but then I encountered the following error:<br>
&gt;<br>
&gt;   CXXLD  <a href="http://libpoppler-qt4.la" target="_blank">libpoppler-qt4.la</a><br>
&gt; Infoc:/qt/201004/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:<br>
&gt; warning: auto-importing has been activated without --enable-auto-import<br>
&gt; specified on the command line.<br>
&gt; This should work unless it involves constant data structures referencing<br>
&gt; symbols from auto-imported DLLs.<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x391): undefined<br>
&gt; reference to `_imp___ZN7Poppler4PageC1EPNS_12DocumentDataEi&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x76a): undefined<br>
&gt; reference to `_imp___ZN7Poppler12FontIteratorC1EiPNS_12DocumentDataE&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x780): undefined<br>
&gt; reference to `_imp___ZN7Poppler12FontIterator4nextEv&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x7c3): undefined<br>
&gt; reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x7d4): undefined<br>
&gt; reference to `_imp___ZN7Poppler12FontIteratorD1Ev&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x7e7): undefined<br>
&gt; reference to `_imp___ZN7Poppler12FontIteratorD1Ev&#39;<br>
&gt; .libs/poppler-document.o:poppler-document.cc:(.text+0x871): undefined<br>
&gt; reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv&#39;<br>
&gt;<br>
&gt; do you have any ideas what is gone wrong?<br>
<br>
</div></div>Did you use poppler from git? Only two days ago some patches got<br>
committed for compiling the qt bindings with configure/make.<br>
Especially, this patch<br>
<a href="http://cgit.freedesktop.org/poppler/poppler/commit/?id=1bc2f4501ea4e56ca99ae4d94d6cf34cf33c2c7a" target="_blank">http://cgit.freedesktop.org/poppler/poppler/commit/?id=1bc2f4501ea4e56ca99ae4d94d6cf34cf33c2c7a</a><br>

<br>
I myself do not use the mingw compiler on Windows, but instead use a<br>
mingw cross compiler on Linux to successfully compile poppler (from<br>
git) for Windows (including the qt bindings).<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Hib<br>
</font></blockquote></div><br></div>