Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling a PDF Viewer with Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Compiling a PDF Viewer with Qt Creator

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 4.6k 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.
  • A Offline
    A Offline
    AlecTaylor
    wrote on 11 Sept 2011, 12:38 last edited by
    #1

    Good afternoon,

    I'd like to compile a PDF viewer using Qt Creator.

    The project I'm working on will involve displaying more information about PDFs, and embedding (annotating) some extra information into them.

    I will probably use the PoDoFo or Hummus libraries for this, in the Wt environment.

    As a stepping-stone to the final project, I would like to use Qt to create some initial prototypes.

    Meaning I would like to compile a simple PDF project in Qt Creator, for instance, this one: http://www.qtrac.eu/diffpdf.html

    Q:\Projects\diffpdf-1.2.2> ls
    accelerators.acc generic.cpp mainwindow.hpp poppler-0.16.7
    CHANGES generic.hpp Makefile poppler-0.16.7.tar.gz
    debug gpl-2.0.txt Makefile.Debug README
    diffpdf images Makefile.Release resources.qrc
    diffpdf.1 main.cpp optionsform.cpp sequence_matcher.cpp
    diffpdf.pro mainwindow.cpp optionsform.hpp sequence_matcher.hpp

    Q:\Projects\diffpdf-1.2.2> qmake && ls release
    <no output>

    Can you either recommend a different PDF project to build from, or alternatively help me get this one working?

    Thanks for all suggestions,

    Alec Taylor

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on 12 Sept 2011, 06:43 last edited by
      #2

      qmake just creates platform-dependent makefiles, but does not build an application.
      You will need to run make (nmake, mingw32-make) too.

      1 Reply Last reply
      0

      1/2

      11 Sept 2011, 12:38

      • Login

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