Results 1 to 2 of 2

Thread: QGraphicsSCene

  1. #1
    Join Date
    Jan 2009
    Posts
    33
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Post QGraphicsSCene

    hi,
    i have rendered some object in qglwidget using opengl in qt. is it possible to implement same code in QGraphicsscene.if so, could u plz send me sample code
    thanks and regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QGraphicsSCene

    If you set the view's viewport to QGLWidget, you can use OpenGL calls to render your graphics view items.

Similar Threads

  1. Replies: 12
    Last Post: 7th September 2011, 16:37
  2. QGraphicsView, QGraphicsItem, QGraphicsScene
    By Shuchi Agrawal in forum Newbie
    Replies: 10
    Last Post: 23rd March 2011, 20:50
  3. Replies: 1
    Last Post: 31st December 2008, 16:55
  4. QGraphicsScene and GL textures
    By bence.frenyo in forum Qt Programming
    Replies: 2
    Last Post: 22nd July 2008, 13:26
  5. When to use QGraphicsScene or QWidget
    By fossill in forum Qt Programming
    Replies: 2
    Last Post: 9th February 2007, 23:58

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.