Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Building a project using poppler with msvc
Forum Updated to NodeBB v4.3 + New Features

Building a project using poppler with msvc

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
7 Posts 4 Posters 2.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gagarine
    wrote on 8 Apr 2017, 11:01 last edited by
    #1

    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 ?

    Thanks

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

    A 1 Reply Last reply 8 Apr 2017, 18:56
    0
    • G Gagarine
      8 Apr 2017, 11:01

      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 ?

      Thanks

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

      A Offline
      A Offline
      ambershark
      wrote on 8 Apr 2017, 18:56 last edited by
      #2

      @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.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 8 Apr 2017, 21:30 last edited by
        #3

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply 8 Apr 2017, 22:50
        1
        • S SGaist
          8 Apr 2017, 21:30

          Hi,

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

          A Offline
          A Offline
          ambershark
          wrote on 8 Apr 2017, 22:50 last edited by
          #4

          @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.

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Gagarine
            wrote on 9 Apr 2017, 10:43 last edited by
            #5

            @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.

            1 Reply Last reply
            1
            • V Offline
              V Offline
              vadak
              wrote on 5 Dec 2017, 10:49 last edited by
              #6

              @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?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 7 Dec 2017, 22:31 last edited by
                #7

                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 ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved