Results 1 to 6 of 6

Thread: QWidget + QGraphicsView + OenGL view port

  1. #1
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default QWidget + QGraphicsView + OenGL view port

    QWidget + QGraphicsView + OenGL view port


    If I use some complicated scene with OpenGL view port it works fine almost everywhere. But on very cheap Intel video card on old XP computer my context menu( called from scene ) flashes and disappears.

    Actually not only contex menu but any QWidget shows up and after that disappears behind the view.

    Anybody experienced something like this ?

  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: QWidget + QGraphicsView + OenGL view port

    Those intel cards have a poor OpenGL implementation. Disabling OpenGL should help.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWidget + QGraphicsView + OenGL view port

    Disable OpenGl is not an option for me.

    Anything else I can do ?

    Thanks anyway!

  4. #4
    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: QWidget + QGraphicsView + OenGL view port

    Quote Originally Posted by medved6 View Post
    Anything else I can do ?
    Yes, you can buy a decent hardware or complain to Intel about the quality of their hardware and lack of proper public documentation for it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWidget + QGraphicsView + OenGL view port

    I cannot ask my customers to do so.
    But I've got the idea, thanks:-)

  6. #6
    Join Date
    Mar 2011
    Posts
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QWidget + QGraphicsView + OenGL view port

    If I was in your situation I would try reimplementing the context menu as a QPainter overlay in QGLWidget. A PITA, but if you're out of options...

Similar Threads

  1. QWidget or Graphics view Framework in SCADA
    By SamSong in forum Qt Programming
    Replies: 3
    Last Post: 29th May 2018, 11:57
  2. Fit In View a loaded image to QGraphicsView
    By sincnarf in forum Qt Programming
    Replies: 4
    Last Post: 11th September 2014, 09:23
  3. How to Disable Scroll Bar of QGraphicsView (or QWidget) ??
    By jiapei100 in forum Qt Programming
    Replies: 5
    Last Post: 6th November 2011, 04:45
  4. Bounding QWidget within QGraphicsView
    By crazymonkey in forum Newbie
    Replies: 1
    Last Post: 22nd September 2010, 20:44
  5. Using QGraphicsView with model/view programming
    By JLP in forum Qt Programming
    Replies: 3
    Last Post: 29th January 2007, 12:04

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.