Results 1 to 2 of 2

Thread: add qt widgets to opengl widget

  1. #1
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default add qt widgets to opengl widget

    I cannot drag n drop push button, frames n whatever else to a glwidget. if I drop a QLCD inside glwidget it does not show it as it renders its own graphics over it. though if I scale the glwidget in ui and cover qlcd, it shows it in white. although this may sound satisfying, I cannot insert QFrame and by menu inside the glwidget. it renders over glwidget. In visual studio this feature is automatically activated, so you can easily put menus n items inside the graphics widget. do you have any idea how we can resolve 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: add qt widgets to opengl widget

    You can't easily mix widgets and OpenGL. I don't say this is not possible but in general you shouldn't even try to do it. Why do you need it anyway?
    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.


Similar Threads

  1. OpenGL accelerated Widgets
    By rubikon in forum Newbie
    Replies: 1
    Last Post: 18th June 2012, 14:35
  2. OpenGL rendering of Qt widgets
    By Luc4 in forum Qt Programming
    Replies: 0
    Last Post: 31st July 2011, 22:35
  3. Replies: 2
    Last Post: 20th August 2010, 13:20
  4. Replies: 5
    Last Post: 18th April 2010, 23:31
  5. multiple Opengl Widgets:
    By manmohan in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2009, 05:06

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.