Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to apply poppler to qt4???
Qt 6.11 is out! See what's new in the release blog

How to apply poppler to qt4???

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 3 Posters 4.3k Views
  • 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.
  • jsulmJ jsulm

    @Hwanwoo Why do you try to compile poppler if you installed it already using apt?

    H Offline
    H Offline
    Hwanwoo
    wrote on last edited by
    #5

    @jsulm
    I just tried to use it because there is a way to write both in the example.
    If you can see only pdf in qt using poppler, it doesn't matter whether you use apt or compile.
    I kept trying to compile, but it wasn't, so I just tried apt.

    JonBJ 1 Reply Last reply
    0
    • H Hwanwoo

      @jsulm
      I just tried to use it because there is a way to write both in the example.
      If you can see only pdf in qt using poppler, it doesn't matter whether you use apt or compile.
      I kept trying to compile, but it wasn't, so I just tried apt.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #6

      @Hwanwoo
      If I were you I would see if I could still find an existing downloadable sudo apt-get install libpoppler-qt4-dev somewhere on the web which can be installed on your distro. Unless you know that is not available.

      H 1 Reply Last reply
      0
      • JonBJ JonB

        @Hwanwoo
        If I were you I would see if I could still find an existing downloadable sudo apt-get install libpoppler-qt4-dev somewhere on the web which can be installed on your distro. Unless you know that is not available.

        H Offline
        H Offline
        Hwanwoo
        wrote on last edited by
        #7

        @JonB
        I'm sorry, but I didn't understand what you meant.

        sudo apt-get install libpoppler-qt4-dev
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        libpoppler-qt4-dev is already the newest version.
        The following package was automatically installed and is no longer required:
          thunderbird-globalmenu
        Use 'apt-get autoremove' to remove them.
        0 upgraded, 0 newly installed, 0 to remove and 444 not upgraded.
        

        When I apt-get, I get a message like this.
        I don't know what to do anymore.

        jsulmJ JonBJ 2 Replies Last reply
        0
        • H Hwanwoo

          @JonB
          I'm sorry, but I didn't understand what you meant.

          sudo apt-get install libpoppler-qt4-dev
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          libpoppler-qt4-dev is already the newest version.
          The following package was automatically installed and is no longer required:
            thunderbird-globalmenu
          Use 'apt-get autoremove' to remove them.
          0 upgraded, 0 newly installed, 0 to remove and 444 not upgraded.
          

          When I apt-get, I get a message like this.
          I don't know what to do anymore.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #8

          @Hwanwoo I already asked this question before, but you did not answer it: "Is it really libpoppler-qt4.so?"
          So, again: what is the exact name of poppler-qt4 lib?

          Also, I see that you are building for ARM. Are you, by any chance, doing cross-compilation?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          H 1 Reply Last reply
          0
          • H Hwanwoo

            @JonB
            I'm sorry, but I didn't understand what you meant.

            sudo apt-get install libpoppler-qt4-dev
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            libpoppler-qt4-dev is already the newest version.
            The following package was automatically installed and is no longer required:
              thunderbird-globalmenu
            Use 'apt-get autoremove' to remove them.
            0 upgraded, 0 newly installed, 0 to remove and 444 not upgraded.
            

            When I apt-get, I get a message like this.
            I don't know what to do anymore.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #9

            @Hwanwoo
            For my part, from reading what you had written I was not clear that you had succeeded in getting libpoppler-qt4-dev. It is not available for my distro. However, now I see that you have done so. In which case, like @jsulm I don't understand why you are not trying to get that working for you instead of deciding you need to build it.

            In any case, please answer @jsulm's questions.

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Hwanwoo I already asked this question before, but you did not answer it: "Is it really libpoppler-qt4.so?"
              So, again: what is the exact name of poppler-qt4 lib?

              Also, I see that you are building for ARM. Are you, by any chance, doing cross-compilation?

              H Offline
              H Offline
              Hwanwoo
              wrote on last edited by
              #10

              @jsulm

              I'm sorry .
              Previously, I didn't understand the question properly.
              libpoppler-qt4.so is correct.
              Is poppler-0.41.0.tar.xz correct for the poppler library name?
              I found that I can only output PDF using configure on the desktop.
              As you said, I had to do cross-compile for arm.
              I should have looked up a lot and asked questions.
              I'm sorry

              jsulmJ 1 Reply Last reply
              0
              • H Hwanwoo

                @jsulm

                I'm sorry .
                Previously, I didn't understand the question properly.
                libpoppler-qt4.so is correct.
                Is poppler-0.41.0.tar.xz correct for the poppler library name?
                I found that I can only output PDF using configure on the desktop.
                As you said, I had to do cross-compile for arm.
                I should have looked up a lot and asked questions.
                I'm sorry

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #11

                @Hwanwoo said in How to apply poppler to qt4???:

                Is poppler-0.41.0.tar.xz correct for the poppler library name?

                This is not the name of Poppler library file but of the Poppler archive...

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                H 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Hwanwoo said in How to apply poppler to qt4???:

                  Is poppler-0.41.0.tar.xz correct for the poppler library name?

                  This is not the name of Poppler library file but of the Poppler archive...

                  H Offline
                  H Offline
                  Hwanwoo
                  wrote on last edited by
                  #12

                  @jsulm
                  Is this a file?
                  popp.png

                  ./configure
                  make

                  This is the file created using the command above.
                  I can use pdf in qt in ubuntu environment, but not in target board.
                  So I am looking for arm cross compile.

                  jsulmJ 1 Reply Last reply
                  0
                  • H Hwanwoo

                    @jsulm
                    Is this a file?
                    popp.png

                    ./configure
                    make

                    This is the file created using the command above.
                    I can use pdf in qt in ubuntu environment, but not in target board.
                    So I am looking for arm cross compile.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #13

                    @Hwanwoo said in How to apply poppler to qt4???:

                    So I am looking for arm cross compile

                    Thzen you need to cross-compile that lib for your device.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    H 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Hwanwoo said in How to apply poppler to qt4???:

                      So I am looking for arm cross compile

                      Thzen you need to cross-compile that lib for your device.

                      H Offline
                      H Offline
                      Hwanwoo
                      wrote on last edited by
                      #14

                      @jsulm
                      Thank you for your help.
                      I looked up a lot and asked questions but thought my knowledge was lacking.
                      I want to browse more, try more and post the question again.
                      Thank you.

                      1 Reply Last reply
                      0

                      • Login

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