Results 1 to 3 of 3

Thread: OpenGL

  1. #1

    Default OpenGL

    Hi, i have QT Creator installed on my Fedora 11 rawhide installation and have some kind of noobish questions (i am a beginner). I would like to place an OpenGL drawing area in a window but there is no opengl object in the widget selection panel when editing an .ui file. Is there some way to place this? I know you can code it in manually with QT but it would be easier for me to use the designer if it is possible.

    is there somehting i need to do? should i not use the designer and just place widgets manually using code?

    thanks for the help.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 39 Times in 39 Posts

    Default Re: OpenGL

    You can place a QWidget using Designer, then promote it (from the right mouse button menu) to a QGLWidget. The QWidget will then act as a placeholder in Designer.

  3. #3
    Join Date
    Apr 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: OpenGL

    I am a newbie in 3D visualisation, and am just trying to start. Anyway, I added the QWidget, but couldn't find a QGLWidget to promote it to.

    Thanks

Similar Threads

  1. OpenGL and Qt Question
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2009, 19:04
  2. QT + OpenGL + Thread => aaaahhhhh !
    By anthibug in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2008, 14:36
  3. openGL in Qtopia core
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th July 2008, 12:26
  4. Qtopia Core & OpenGL ES?
    By zelko in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th May 2007, 08:21
  5. OpenGL ES, Qt/11 - Qtopia Core?
    By zelko in forum Qt Programming
    Replies: 0
    Last Post: 3rd May 2007, 11:56

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
  •  
Qt is a trademark of The Qt Company.