Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED]Integrating Poppler in QT4
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Integrating Poppler in QT4

Scheduled Pinned Locked Moved Mobile and Embedded
25 Posts 2 Posters 16.4k Views 1 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.
  • D Offline
    D Offline
    dreamerindia
    wrote on last edited by
    #10

    I tried with libraries from
    @https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4407291@
    But its showing undefined references....
    @./lib/libpoppler-qt4.so: undefined reference to PDFDoc::isLinearized()' ./lib/libpoppler-qt4.so: undefined reference to FormWidgetText::noSpellCheck() const'
    ./lib/libpoppler-qt4.so: undefined reference to FormWidgetChoice::deselectAll()' ./lib/libpoppler-qt4.so: undefined reference to Page::getAnnots(Catalog*)'
    ./lib/libpoppler-qt4.so: undefined reference to TextWordList::~TextWordList()' ./lib/libpoppler-qt4.so: undefined reference to Annots::~Annots()'
    ./lib/libpoppler-qt4.so: undefined reference to `typeinfo for OutStream'
    @

    ~Ravivarman~

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #11

      Are you sure that the build system finds your arm Qt ?

      If you download pre-built package, you also have to download their dependencies

      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
      0
      • D Offline
        D Offline
        dreamerindia
        wrote on last edited by
        #12

        can you pls tell me where i can find the source package for arm linux(armel).i tried different sources compilation.

        ~Ravivarman~

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dreamerindia
          wrote on last edited by
          #13

          yea i installed binaries for arm and its dependencies.finally its throwing only one error..

          @
          /lib/libpoppler.so: undefined reference to `__longjmp_chk@GLIBC_2.11'
          @

          ~Ravivarman~

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #14

            It means a package has been linked to a pretty old version of glibc. Are you sure you downloaded the latest version of the armel libraries ?

            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
            0
            • D Offline
              D Offline
              dreamerindia
              wrote on last edited by
              #15

              which one is older version libpoppler.so? or libpoppler-qt4?

              ~Ravivarman~

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #16

                They should be same since they are built at the same time

                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
                0
                • D Offline
                  D Offline
                  dreamerindia
                  wrote on last edited by
                  #17

                  hi one library need libssl.s0.1.0.0 and another needs libssl.s0.1.0.1
                  how to deal with this. if i create soft link for one of it another is not working.pls help

                  ~Ravivarman~

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #18

                    Seems there's something wrong in your dependencies. Check that you download all packages from the same distribution

                    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
                    0
                    • D Offline
                      D Offline
                      dreamerindia
                      wrote on last edited by
                      #19

                      Actually i downloaded dependencies www.openmamba.org
                      how to ensure it as from same distribution?

                      ~Ravivarman~

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #20

                        Don't know this one, generally if I need to download precompiled package I go for the debian armel architecture.

                        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
                        0
                        • D Offline
                          D Offline
                          dreamerindia
                          wrote on last edited by
                          #21

                          now trying to solve this error.

                          @
                          /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib/libldap-2.4.so: undefined reference to sys_nerr@GLIBC_2.12' /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib/libldap-2.4.so: undefined reference to sys_errlist@GLIBC_2.12'
                          @

                          ~Ravivarman~

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            dreamerindia
                            wrote on last edited by
                            #22

                            finally managed to compile successfully.

                            @

                            arm-linux-g++ -o pdfviewer debug/documentwidget.o debug/main.o debug/window.o debug/moc_documentwidget.o debug/moc_window.o debug/moc_poppler-optcontent.o -L/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib -L/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib -lpoppler-qt4 -lpoppler -llcms -llcms2 -ltiff -lpng15 -lopenjpeg -lbz2 -lfreetype -lfontconfig -lexpat -ljbig -ljpeg -lstdc++ -lpoppler-glib -llzma -lcares -llber-2.4 -lsasl2 -lssh2 -lgpg-error -lgcrypt -lcurl -lldap-2.4 -lcrypto -lssl -lQtGui -lQtNetwork -lQtCore -lpthread
                            @

                            but its showing error in runtime as

                            @

                            /home/pdf_viewer # ./pdfviewer -qws
                            ./pdfviewer: error while loading shared libraries: libpoppler-qt4.so.4: cannot open shared object file: No such file or directory

                            @

                            what is the problem ? :-)

                            ~Ravivarman~

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              dreamerindia
                              wrote on last edited by
                              #23

                              Yea finally it came. copied .so files to target lib folder.SUCCESS!!!!

                              Thank you very much for your suggestions :-)

                              ~Ravivarman~

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                dreamerindia
                                wrote on last edited by
                                #24

                                Dear SGaist..... why its slow when loading files greater than 1 MB....

                                ~Ravivarman~

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #25

                                  You're welcome !

                                  There can be several things:
                                  CPU speed, RAM size/speed, bus speed, file content etc...

                                  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
                                  0

                                  • Login

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