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.

             Cobra
-----Original message-----
From:Gleb "Crazy Sage" Igumnov <[email protected]>
To:cobra.yu <[email protected]>
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.

>               Cobra

> -----Original message-----
> From:Gleb "Crazy Sage" Igumnov <[email protected]>
> To:[email protected]
> 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
> http://people.freedesktop.org/~aacid/docs/qt4/
> 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?

> Environment
> OS: MS Windows 7
> MS Visual Studio 2008 Professional
> Qt 4.7




-- 
Best regards,
 Gleb "Crazy Sage" Igumnov                          
mailto:[email protected]

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to