Hi everybody !
I come here because I've a problem when i m trying run opengl es example from ktcreator.
I want test the hellogl_es example but every time the compilation doesn't works.
I think it's because I miss something to link opengl.
Aslo I work on 64bits windows 7 with visual studio 2008 and 2010
thus I have got several gl.h
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\gl
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl



hellogl_es2.pro :
Qt Code:
  1. ######################################################################
  2. # Automatically generated by qmake (2.01a) Thu Oct 4 19:01:12 2007
  3. ######################################################################
  4.  
  5. TEMPLATE = app
  6. TARGET =
  7. DEPENDPATH += .
  8. INCLUDEPATH += .
  9.  
  10. # Input
  11. SOURCES += main.cpp
  12. SOURCES += glwidget.cpp
  13. SOURCES += mainwindow.cpp
  14. SOURCES += bubble.cpp
  15.  
  16. HEADERS += glwidget.h
  17. HEADERS += mainwindow.h
  18. HEADERS += bubble.h
  19.  
  20. RESOURCES += texture.qrc
  21. QT += opengl
  22.  
  23. # install
  24. target.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl_es2
  25. sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS hellogl_es2.pro
  26. sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl_es2
  27. INSTALLS += target sources
To copy to clipboard, switch view to plain text mode 
In glwidget.h I put
Qt Code:
  1. #include <QtOpenGL/QGLWidget>
To copy to clipboard, switch view to plain text mode 
instead of
Qt Code:
  1. #include <QGLWidget>
To copy to clipboard, switch view to plain text mode