Results 1 to 2 of 2

Thread: import pdf in a QGraphicsView

  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default import pdf in a QGraphicsView

    Hi everybody,

    Here is my problem: I have a program displaying medias (images and videos) as a carousel of thumbnails; when clicking a thumbnail, the media is shown in a special viewer. What I would like to do is to add pdf to the list of accepted formats.

    Is there a way to import pdf in Qt, and to display the content in a QGraphicsView?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: import pdf in a QGraphicsView

    search for it on the forum, it has been discussed many times.
    In general you need to use an external lib that can handle PDF.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. dll build not creating import lib...
    By rickbsgu in forum Qt Tools
    Replies: 1
    Last Post: 11th August 2010, 19:45
  2. Import dll problems
    By tom0485 in forum Qt Programming
    Replies: 7
    Last Post: 25th May 2010, 07:47
  3. Excel data import
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 21st May 2010, 11:31
  4. How do i import and use a DLL like Skype4COM.dll in Qt4?
    By fernando in forum Qt Programming
    Replies: 3
    Last Post: 8th May 2010, 07:22
  5. How to import an old application code ?
    By yellowmat in forum Qt Tools
    Replies: 6
    Last Post: 12th September 2006, 15:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.