[poppler] Problem with using Win32 poppler-qt4
cobra.yu at hyweb.com.tw
Wed Jun 29 02:41:38 PDT 2011
Dear Crazy Sage,
MinGW : static Qt + static poppler -> I commented EVERY LINE in poppler-export.h.
MSVC 2008 : dynamic Qt + dynamic poppler -> no need to comment poppler-export.h.
From:Gleb "Crazy Sage" Igumnov <crazy_sage at cannonfodder.su>
To:cobra.yu <cobra.yu at hyweb.com.tw>
Date:Tue, 28 Jun 2011 18:23:42 +0600
Subject:Re: [poppler] Problem with using Win32 poppler-qt4
Hello, Cobra.yu. Did you build static or dynamic poppler and is your
qt statically or dynamically linked?
When I've tried to build static poppler with static qt I got lots of
unresolved external __declspec(dllimport) (even though I removed all of those
export macros from poppler) when I try to use compiled library and dynamic poppler+static qt
brought me to "Cannot find entry point of QtCore4.dll" error after
launching program with poppler.
> Dear Crazy Sage,
> I didn't try the Win32 version of poppler and poppler-qt4 from
> windows.kde.org. Instead, I tried to build the poppler package under Win32.
> My environment for both building & execution:
> OS: MS Windows 7
> (msys) MinGW/TDM GCC & MS Visual Studio 2008 Professional
> Qt 4.6.x
> The different building combinations both produced workable
> poppler & poppler-qt4 libraries. I didn't meet your first problem in either case.
> Yes, "delete document or delete pdfPage" would make an
> exception on HEAP. I commented "delete pdfPage" but reserved "delete document". It seems fine for me.
> -----Original message-----
> From:Gleb "Crazy Sage" Igumnov <crazy_sage at cannonfodder.su>
> To:poppler at lists.freedesktop.org
> Date:Tue, 28 Jun 2011 00:02:48 +0600
> Subject:[poppler] Problem with using Win32 poppler-qt4
> Hi all.
> I have downloaded Win32 version of poppler and poppler-qt4 from
> windows.kde.org and I have got two major problems when I've tried to
> compile and run example from
> 1. Program silently crashes on pdfPage->renderToImage(),
pdfPage->>renderThumbnail() and pdfPage->text() works well.
> 2. Program silently crashes on either delete document or delete
> pdfPage. I've tried to comment either one of lines, so I can tell,
> that it doesn't matter.
> Did anyone come across with such problems and knew ways to solve them?
> OS: MS Windows 7
> MS Visual Studio 2008 Professional
> Qt 4.7
Gleb "Crazy Sage" Igumnov mailto:crazy_sage at cannonfodder.su
More information about the poppler