Results 1 to 4 of 4

Thread: How to work with OpenGL and QT?

  1. #1
    Join Date
    Apr 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to work with OpenGL and QT?

    I'm Working on a small project and i need to work with OpenGL + QT

    I'm Newbie in both of them. So i need a good tutorial that illustrates how to work with them

    is it better to work OpenGL on QT Creator or use QT Visual Studio Plug-in?

  2. #2
    Join Date
    Dec 2010
    Location
    Russia
    Posts
    83
    Thanks
    1
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to work with OpenGL and QT?

    There is a distinct section of OpenGL-related examples coming with Qt...Look at the docs for more details.

  3. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: How to work with OpenGL and QT?

    You will need QGLWidget read the docs/Qt Assistant about it, the integration of OpenGL in the Qt is very easy.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  4. #4
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    387
    Thanks
    101
    Thanked 15 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to work with OpenGL and QT?

    I recommend you take a look at libQGLViewer. It's a great little library to work with OpneGL scenes embedded in Qt. Take one of the provided simple examples, compile it, and start drawing your own stuff in OpenGL.

Similar Threads

  1. Qt-4.6.0: opengl es2 can't work on beagle
    By favor in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th January 2010, 07:35
  2. Replies: 2
    Last Post: 13th December 2009, 20:27
  3. Replies: 0
    Last Post: 6th December 2009, 00:41
  4. Qt with OpenGL ES for ARM9 - All OpenGL ES tests have failed!
    By vinpa in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd December 2009, 10:10
  5. for the openGl to work should the direct rendering be enabled
    By babu198649 in forum General Programming
    Replies: 1
    Last Post: 27th April 2008, 15:22

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.