Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Qt Creator + OpenGL

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,641
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 30, 2011

No description available.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (josuehmachado)

  • at 7:36 is the link to GL/glut.h

    maybe freeglut not installed yet

    $ sudo apt-get install freeglut3-dev

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Thanks so much!

  • glut doesn't work on windows 7 :@

    i get this error: C:\Users\DirectGamex10\Qtprogs­\glut-build-desktop\debug\glut­.exe exited with code -1073741515

  • @xu4510014 Try this code:

    void GLWidget::resizeGL(int width, int height)

    { glViewport(0, 0, width, height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); GLfloat x = GLfloat(width) / height; glFrustum(-x, +x, -1.0, +1.0, 0.0, 15.0);  glMatrixMode(GL_MODELVIEW);

    }

  • this is great, would it be possible to do a similar openCL tutorial?

  • hello,thank for your help.

    now,I can use glut in Qt.

    but,i still have question about Qt.

    i can change color of background.

    but the TRIANGLES or Teapot only display in the lower left corner of window.

  • Hi ,this video is very helpful who like to learn how to interface Qt + glut . thanks lot

    please put more and more videos.

    

  • Hello,I have some question about QT

    How do you link glut to QT?

    I try to do it by the step

    but the code still error that can't link to GL/glut.h

    error message is 'C1083' No such file or directory'

    thx for your hlep

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more