Results 1 to 2 of 2

Thread: Insert SVG file into QtextDocument

  1. #1
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Insert SVG file into QtextDocument

    I would like to insert an SVG file (or picture) inside a QTextDocument, in order to print out wiht high resolution .
    I know the insertImage function of QTextCursor. But it looks like that I cannot insert the SVG file.
    Any idea?
    G

  2. #2
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Insert SVG file into QtextDocument

    No replies? Question too stupid?
    I tried the textobject example from Qt, but when I print the document no image is embedded inside the document.
    G

Similar Threads

  1. Insert QwtPlot in QTextDocument
    By giusepped in forum Qwt
    Replies: 1
    Last Post: 9th April 2009, 09:51
  2. Read binary from file
    By weldpua2008 in forum Newbie
    Replies: 2
    Last Post: 3rd April 2009, 23:50
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Replies: 13
    Last Post: 21st June 2006, 21:22
  5. How to convert QTextDocument to PNG file?
    By Gonzalez in forum Qt Programming
    Replies: 1
    Last Post: 2nd February 2006, 14:46

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.