title: how to create openGL 4.2 context with Qt?
body: <p>I'm looking for a way to create a OpenGL 4.2 context with Qt.</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/1370577/how-to-create-opengl-3-context-with-qt-4">this</a> and <a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&amp;Number=262519" rel="nofollow noreferrer">this</a>.</p>
  
  <p>but those threads are more than 2 years old.. maybe there's a better way to do this by now?</p>
  
  <p>//edit: oh, and if possible i'd like to have a portable solution to do this (but in the first place i'm interested in getting this to run on windows)</p>