Thursday 12 February 2015

Qt creator msvc2013 + video player

I spent hours to make qml video sample run on Window 8. This should be noted for others who want to use Qt Creator on Windows (with Ubuntu is a lot easier).

The video sample needs OpenGL. However gl.h for pre-built qt-libraries msvc2013 require external OpenGL from Window SDK . Actually it is quite straightforward, if I could find the SDK directly. I wouldn't spent hours on this issue. The problem was on Qt web page they didn't point to the download link then I went to this page and install almost everything in the page until I found the right installer. So, if you have the similar problem and get an error message like below then you just install the Window SDK. All the best!

error: C1083: Cannot open include file: 'GL/gl.h': No such file or directory

No comments:

Post a Comment