[poppler] Fw: Win32 poppler-qt4

Carlos Rega carlos_rega at yahoo.co.uk
Fri Dec 17 06:00:18 PST 2010




>
>From: Pete Lindsey <pete.lindsey at hotmail.com>
>To: poppler at lists.freedesktop.org
>Sent: Fri, 17 December, 2010 12:11:34
>Subject: Re: [poppler] Fw:  Win32 poppler-qt4
>
> 
>No worries, anyone is welcome to any binaries and/or source I generate... 
>However I am still at a serious impass at this point...
>
>I have a compiled qt library and a poppler library, however when I try to use 
>them,  I get 
>
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:9:  
>undefined reference to  
>`_imp___ZN7Poppler8Document4loadERK7QStringRK10QByteArrayS6_'
>
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:10:  
>undefined reference to `_imp___ZNK7Poppler8Document8isLockedEv'
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:14:  
>undefined reference to `_imp___ZN7Poppler8DocumentD1Ev'
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:9:  
>undefined reference to  
>`_imp___ZN7Poppler8Document4loadERK7QStringRK10QByteArrayS6_'
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:10:  
>undefined reference to `_imp___ZNK7Poppler8Document8isLockedEv'
>C:\Qt\2010.05\Projects\whatever-build-desktop/../whatever/mainwindow.cpp:14:  
>undefined reference to `_imp___ZN7Poppler8DocumentD1Ev'
>
>
>Is there anyone that knows where I should start the troubleshooting?? I can't 
>even find these functions in poppler ... anywhere?!?!
>
Are you able to build the examples that come with poppler? They should be in:
/your/poppler/build/qt4/demos/.libs

If you are then the problem is with your build settings, the compiler errors use 
mangled c++ names, the object you are missing is Poppler::Document, which 
suggests that you are missing -lpoppler in your LIBS variable in the qmake 
project file.

Hope this helps.

>
>I did want to say though thanks for the help I have recieved so far... I feel i 

>have moved forward and maybe I am almost near the end of this thing, and without 
>
>the help from Carlos, I am confident I wouldn't have made it to this point.
>
No problem, this is one of the advantages of open source, we all learn from each 
other. You can always get me a pint next time you are round in Worcester. ;-)

Carlos



      


More information about the poppler mailing list