<div dir="ltr">I have tryed poppler-qt5 0.26 builded from sources and prebuild 0.24.5 but both of them show the same error. I'm on win8.1 with qt5.2.1 and bundled mingw32. I don't have any ideas why it throws them.<div>
<p style="margin:0px"><span style="color:rgb(0,0,170)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,170)">02:03:19: Starting: "E:\Qt\Qt5.2.1\Tools\mingw48_32\bin\mingw32-make.exe"</span><br></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">E:/Qt/Qt5.2.1/Tools/mingw48_32/bin/mingw32-make -f Makefile.Release</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">mingw32-make[1]: Entering directory 'E:/Dev/Git/build-LabStend-Desktop_Qt_5_2_1_MinGW_32bit-Release'</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">g++ -Wl,-s -Wl,-subsystem,windows -mthreads -o release\LabStend.exe release/main.o release/mainwindow.o release/qcpdocumentobject.o release/qcustomplot.o release/qrc_res.o release/moc_mainwindow.o release/moc_qcpdocumentobject.o release/moc_qcustomplot.o -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmain -LE:\Qt\Qt5.2.1\5.2.1\mingw48_32\lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core </span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">release/mainwindow.o:mainwindow.cpp:(.text+0x523): undefined reference to `_imp___ZN7Poppler8Document12loadFromDataERK10QByteArrayS3_S3_'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">release/mainwindow.o:mainwindow.cpp:(.text+0x58a): undefined reference to `_imp___ZNK7Poppler8Document4pageEi'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">release/mainwindow.o:mainwindow.cpp:(.text+0x5dc): undefined reference to `_imp___ZNK7Poppler4Page13renderToImageEddiiiiNS0_8RotationE'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">release/mainwindow.o:mainwindow.cpp:(.text+0x634): undefined reference to `_imp___ZN7Poppler4PageD1Ev'</span></p><p style="margin:0px"><font color="#000000"><br>
</font></p><p style="margin:0px"><font color="#000000">I added to .pro:</font></p><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(92,124,83)">INCLUDEPATH</span><span style="color:rgb(62,61,50)"> </span>+=<span style="color:rgb(62,61,50)"> </span>e:\Dev\Git\poppler\poppler\qt5\src\</pre>
<p style="margin:0px">
</p><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(92,124,83)">LIBS</span><span style="color:rgb(62,61,50)"> </span>+=<span style="color:rgb(62,61,50)"> </span>-Le:\Dev\Git\poppler\poppler\qt5\src\<span style="color:rgb(62,61,50)"> </span>-lpoppler-qt5</pre>
<pre style="margin-top:0px;margin-bottom:0px"><font color="#000000">And to .h:</font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000">#include <poppler-qt5.h></font></pre><pre style="margin-top:0px;margin-bottom:0px">
<br></pre><pre style="margin-top:0px;margin-bottom:0px">I build poppler with simple:</pre><pre style="margin-top:0px;margin-bottom:0px">cmake -C "e:\Dev\Git\poppler\init.txt" -G "MinGW Makefiles" e:\Dev\Git\poppler\poppler -Wno-dev<br>
</pre><pre style="margin-top:0px;margin-bottom:0px">I understand that it's something with linking but no results for several weeks.</pre><pre style="margin-top:0px;margin-bottom:0px">Thx.</pre></div></div>