"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:

    Starting D:\qt_moje\qt1\debug\qt1.exe...
    QGLFormat reports profile: none.
    GL Vendor : Intel
    GL Renderer : Intel(R) HD Graphics
    GL Version : 3.1.0 - Build
    GL Version : 3.1
    GLSL Version : 1.40 - Intel Build
    Location | Name

    shader compilation failed!
    Shader log:
    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!

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.