I'm loosing my mind trying to imagine what the hell I'm missing.

This is my first time with OpenGL with Qt and I wanna use custom shaders, all seems to work properly on Debug mode but in Release

Qt Code:
  1. bool __thiscall QGLShaderPrivate::create(void): Could not create shader of type 1.
  2. Vertex Shader Error ""
  3. bool __thiscall QGLShaderPrivate::create(void): Could not create shader of type 2.
  4. Fragment Shader Error ""
  5. Shader Program Linker Error ""
To copy to clipboard, switch view to plain text mode 

PS. I forget to say that this errors are shown in the console but the app doesn't crash, it just doesn't work properly.


Thanks in advance for any help!