Important: Please read the Qt Code of Conduct -

Building a project using poppler with msvc

  • Hello,

    I am trying to do a porting of a Qt3 project on Qt5. This project used QtWebKit, so i changed it to QtWebEngine. The problem is that it also uses the poppler library, and from what i understood after some research poppler doesn't work with msvc, whereas WebEngine needs msvc.
    Is there a way to use poppler with msvc ? Or any other way to make it work ?


    P.S. I'm working on Windows 10 64bit with Qt 5.8

  • Moderators

    @Gagarine Why not try using mingw for the whole thing? WebEngine should build in mingw and I'm assuming poppler would too.

    The only other option is to make poppler work with MSVC or drop the poppler dependency.

  • Lifetime Qt Champion


    @ambershark QtWebEngine is currently only available with MSVC2015, see the Qt 5.8 platform notes.

  • Moderators

    @SGaist Ah bummer.. I made an assumption it could be built with mingw.

    @Gagarine That leaves you with getting poppler ported to msvc or dropping it as a dependency. If you really need it then porting to MSVC shouldn't be very hard. I have ported many builds from mingw to msvc and vice versa over the years. It's not bad at all.

  • @ambershark Thanks for the reply. I will see if I can use another library, and if I can't I will try to port poppler to msvc.

  • @SGaist I have also similar issue accessing a 3rd party library (poppler-util) in QT Creator.
    I'm on Windows 10, 64 bit
    Qt Creator 4.2.1 - Based on Qt 5.7.0 (MSVC 2015, 64 bit)

    but i have poppler-util mingw binaries and i don't to know ,how do use this binaries link ing to QTcreator?

    Can you help for me, how to building with these 3rd party libraries to Qtcreator?

  • Lifetime Qt Champion

    You don't link to Qt Creator, you link it with your project. Now one of the questions is: are you using a MinGW build of Qt ?

Log in to reply