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. Remote Compiler and Poppler libraries
QtWS25 Last Chance

Remote Compiler and Poppler libraries

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.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.
  • W Offline
    W Offline
    weeezes
    wrote on last edited by
    #1

    Hello!

    I got fed up with the default PDF reader that ships with Symbian, so I decided to try if I could make a better one myself.

    Things went fine and I now have a working PDF reader prototype (I can open PDF's with a file manager and the first page of the file is viewable and flickable), which I can succesfully run on the Simulator that ships with Qt Creator. I have used QtQuick and the Symbian components for the UI and Poppler to render PDF pages, and the thing works fast as magic when run on the Simulator.

    Now the problem is that the Remote Compiler doesn't - for some reason - include the Poppler stuff and for that reason fails to compile, even though everything works fine with the Simulator. Is there any way to get the thing to compile with the Remote Compiler or any other way to get to testing this with a real device instead of just the simulator?

    It's a bit of a shame if this project collapses just because it's impossible to get the app to work on a phone (I use an N8), so all the tips and suggestions are greatly appreciated :)! I've tried to google the problem out, but for some reason I can't get around topics which would seem to solve or even discuss this problem.

    Here's the thing that the Remote Compiler outputs (Only the error parts, I cut the rest out so that the message would be of reasonable length):

    @Running build steps for project WPDF...
    Building for Symbian^3 using Qt 4.7.3
    Uploading 14 files to Remote Compiler
    Uploaded 12 kB, waiting for build
    make: Entering directory `/home//Programming/WPDF'
    sbs -c arm.v5.urel.gcce4_4_1
    resource : epoc32/build/wpdf/c_a22f9d7ff13a26dd/WPDF_exe/WPDF_WPDF.rsc [arm.v5.urel.gcce4_4_1]
    resource : epoc32/build/wpdf/c_a22f9d7ff13a26dd/WPDF_reg_exe/WPDF_reg_WPDF_reg.rsc [arm.v5.urel.gcce4_4_1]
    compile : pageprovider.cpp [arm.v5.urel.gcce4_4_1]
    In file included from /home/
    /Programming/WPDF/pageprovider.cpp:1:
    /home/*****/Programming/WPDF/pageprovider.h:5: fatal error: poppler-qt4.h: No such file or directory
    compilation terminated.

    compile : main.cpp [arm.v5.urel.gcce4_4_1]
    In file included from /home//Programming/WPDF/main.cpp:9:
    /home/
    /Programming/WPDF/pageprovider.h:5: fatal error: poppler-qt4.h: No such file or directory
    compilation terminated.

    sbs : warnings: 2
    sbs : errors: 5

    built 'arm.v5.urel.gcce4_4_1'

    Run time 15 seconds

    sbs: build log in C:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/Makefile.2011-10-13-12-03-33.92-1800.log

    FAILED compile for arm.v5.urel.gcce4_4_1: pageprovider.cpp
    mmp: WPDF_exe.mmp

    FAILED compile for arm.v5.urel.gcce4_4_1: main.cpp
    mmp: WPDF_exe.mmp
    mingw32-make[1]: *** [C:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/wpdf/c_a22f9d7ff13a26dd/WPDF_exe/armv5/urel/pageprovider.o] Error 1
    mingw32-make[1]: *** Waiting for unfinished jobs....
    mingw32-make[1]: *** [C:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/wpdf/c_a22f9d7ff13a26dd/WPDF_exe/armv5/urel/main.o] Error 1
    sbs: error: The make-engine exited with errors.
    make: *** [release-gcce] Error 1
    make: Leaving directory `/home/*****/Programming/WPDF'

    Build Failed: Errors in build
    Error while building project WPDF (target: Remote Compiler)
    When executing build step ''@

    I can send the code to anyone willing to help out, one just has to have the Poppler stuff working one his/her computer first, otherwise it would be a bit pointless :).

    Thank you for your time!

    • Vesa, weeezes
    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomma
      wrote on last edited by
      #2

      Well first you need to compile Poppler for Symbian. Then include headers and compiled libs in your project to use them during build.
      And i have no idea if Poppler is even buildable for Symbian.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        weeezes
        wrote on last edited by
        #3

        Well I know that Poppler works in my project when I run it with the Simulator, doesn't that mean that it should work with Symbian? The Poppler Qt4 frontend should work well with Qt (that's what it's made for), so I don't see any reason why it wouldn't work with Qt on Symbian.. Still thanks for the reply :)!

        I'll try to compile the Poppler Qt4 library on Windows and try to build the thing with it, if it'd work out... I'm not very comfortable with working on Windows tho, so there's some things that I need to learn first :D.

        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