Results 1 to 7 of 7

Thread: SVG module

  1. #1
    Join Date
    Mar 2009
    Location
    india->gujarat->bhavnagar
    Posts
    36
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Question SVG module

    hii
    i don't know how to use SVG module even how to render svg images.......
    Is der any software that i have to install before doing SVG programming ?????

    If possible help with a small code snippet..

    thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SVG module

    Just add following line in your .pro file to get SVG support in your application.
    QT += svg
    The easiest way to render SVG files is to construct a QSvgWidget and load an SVG file using one of the QSvgWidget::load() functions.

  3. The following user says thank you to yogeshgokul for this useful post:

    mind_freak (19th August 2009)

  4. #3
    Join Date
    Mar 2009
    Location
    india->gujarat->bhavnagar
    Posts
    36
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Question Re: SVG module

    hi
    thanks for reply
    but i want somewhat animation............is their any specife class that i have to use while rendering SVG.

    i request you to plz help with me so sort of a smalll code so that i can understand properly.....

  5. #4
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SVG module

    The GIF files provide animation. And you need to use QMovie for that.

  6. #5
    Join Date
    Mar 2009
    Location
    india->gujarat->bhavnagar
    Posts
    36
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Question Re: SVG module

    this is true that all the SVG file can be rendered..???

    i mean can i get 3-D view for SVG files???

    thanks

  7. #6
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Thumbs up Re: SVG module

    Quote Originally Posted by mind_freak View Post
    this is true that all the SVG file can be rendered..???
    i mean can i get 3-D view for SVG files???
    thanks
    Give it a try. Let us also know the results. This will be great to know.
    All the best

  8. #7
    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: SVG module

    The SVG support is limited to static features of SVG Tiny : this does not include animated SVG or scripting AFAICT. See QtSVG module.

Similar Threads

  1. Replies: 0
    Last Post: 26th April 2009, 17:55
  2. Qt 4.4.0 Help Module : Search not working
    By Ankitha Varsha in forum Qt Programming
    Replies: 0
    Last Post: 22nd May 2008, 08:45
  3. Font differences and how to mitigate
    By PrimeCP in forum Qt Programming
    Replies: 7
    Last Post: 23rd July 2007, 22:55
  4. Can I use the Sql Module without chanage .pro file?
    By fengtian.we in forum Qt Programming
    Replies: 9
    Last Post: 21st May 2007, 10:59
  5. Module to process application parameters
    By Opilki_Inside in forum General Programming
    Replies: 4
    Last Post: 8th February 2007, 23:26

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.