"shader compilation failed!" No expected image
Hi, this is my first post, I don't know if it's a good place.
I've got a problem and I need to say I'm not very good in QT.
When I try to run the project [spinning cube] on my friends PC it works fine. When I try to run the same project at mine PC it shows me white square on black background. I need to add that projects in 2D copied in the same way work fine. What can be the reason?
Application Output says:
QGLFormat reports profile: none.
GL Vendor : Intel
GL Renderer : Intel(R) HD Graphics
GL Version : 3.1.0 - Build 220.127.116.1117
GL Version : 3.1
GLSL Version : 1.40 - Intel Build 18.104.22.16817
Location | Name
shader compilation failed!
ERROR: 0:3: 'layout' : symbol is deprecated in Forward Compatibile context
ERROR: 0:3: 'layout' : syntax error syntax error
D:\qt_moje\qt1\debug\qt1.exe exited with code 0
Thanks in advance!