I have the same problem. So i stay with CompabilityProfile. You can look on a working example from this post. I just provide in shader itself a #version 410 core. ( Any number representing a version of the language a compiler does not support will cause an error to be generated.) When i switched to CoreProfile in Format i get vertex errors and nothing on screen. Now I'm looking why, and checking how opengl is made in qt.
Bookmarks