Results 1 to 2 of 2

Thread: How to replace Qt svg render engine?

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

    Default How to replace Qt svg render engine?

    Hello,

    Qt 4.8.x on Linux.

    The svg render engine is pretty awful. Graphics we get have both transparent backgrounds and some drop shaded borders, When rendered with Qt they are just ghastly. Images look phenom in inkscape. They also look great on the MAC/Apple products which created them and in that dead platform known as Windows.

    I see this problem has existed since the days of Nokia owning Qt so I'm guessing most developers found a way to load a different rendering engine to get around it.

    Anyone done it? If so, how?

    Thanks,
    Roland

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to replace Qt svg render engine?

    Qt has never claimed to support anything more than the static features SVG Tiny which does not contain a lot of the advanced features of SVG 1.1. QtSvg 5.0: Rendering SVG Files

    To use something else find a suitable SVG C/C++ library, write the code, and link it to your application. Librsvg might be a option. Once you have a rasterised view of your SVG then can use Qt to display (probably via QImage).

Similar Threads

  1. QGLWidget render or QGraphicsView with GL viewport render
    By QTInfinity in forum Qt Programming
    Replies: 2
    Last Post: 28th November 2011, 12:34
  2. XSL-FO to PDF engine
    By thefatladysingsopera in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2011, 21:10
  3. Game Engine
    By kernco in forum Qt Programming
    Replies: 0
    Last Post: 26th February 2010, 03:14
  4. Can you specify a file engine?
    By skimber in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2008, 16:54
  5. Scripting engine
    By stevey in forum Qt Programming
    Replies: 2
    Last Post: 27th October 2006, 12:36

Tags for this Thread

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.