<div dir="ltr"><div><br></div><div>Hi, all:</div><div><br></div><div><br></div><div>My environment:</div><div><br></div><div>OS: ubuntu 13.10</div><div>QT5</div><div>poppler-qt5: libpoppler-qt5-dev -- development files (Qt 5 interface)</div>
<div><br></div><div><br></div><div>And, I just want to open an .pdf file with the following line:</div><div><br></div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;color:rgb(128,0,128)">Poppler</span><span style="font-family:arial;color:rgb(0,0,0)">::</span><span style="font-family:arial;color:rgb(128,0,128)">Document</span><span style="font-family:arial;color:rgb(0,0,0)">*</span><span style="font-family:arial"><font color="#c0c0c0"> </font></span><span style="font-family:arial;color:rgb(128,0,0)">m_pDocument</span><span style="font-family:arial"><font color="#000000"> = </font></span><span style="color:rgb(128,0,128)">Poppler</span><span style="color:rgb(0,0,0)">::</span><span style="color:rgb(128,0,128)">Document</span><span style="color:rgb(0,0,0)">::</span><span style="color:rgb(0,0,0)">load</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(0,0,0)">);</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;color:rgb(128,128,0)">this</span><span style="font-family:arial;color:rgb(0,0,0)">-></span><span style="font-family:arial;color:rgb(128,0,0)">m_qtFileName </span><span style="font-family:arial;color:rgb(0,0,0)">is of value "</span><span style="font-family:arial">\home\jiapei\Documents\CloudStorage.pdf"</span><br>
</pre><div><br></div><div>the value of <span style="color:rgb(128,0,0)">m_pDocument</span><font color="#000000"> is always </font><span style="color:rgb(128,0,0)">NULL</span><font color="#000000">, namely 0x0.</font></div>
<div><br></div><div><br></div><div>Did anybody successfully load a .pdf file under ubuntu 13.10 with poppler-qt5 ?</div><div>Please give me a hand... </div><div><br></div><div><br></div><div>Thank you very much.</div><div>
<br></div>-- <br><div><br></div><div>Pei JIA</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell: +1 604-362-5816</div><div><br></div>Welcome to Vision Open<br>
<a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a>
</div>