Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
SW: Windows 7 64, MS VS 2008 SP1, MS VS 2008 SP1, QT 4.7.0 beta1.
HW: Acer 8942G,
ATI Driver 10.4:
Driver Packaging Version 8.723-100406a-098776C-ATI
Catalyst™ Version 10.4
Provider ATI Technologies Inc.
2D Driver Version 8.01.01.1016
2D Driver File Path /REGISTRY/MACHINE/SYSTEM/ControlSet001/Control/CLASS/{4D36E968-E325-11CE-BFC1-08002BE10318}/0000
Direct3D Version 8.14.10.0743
OpenGL Version 6.14.10.9756
Catalyst™ Control Center Version 2010.0406.2133.36843
SW: Windows 7 64, MS VS 2008 SP1, MS VS 2008 SP1, QT 4.7.0 beta1. HW: Acer 8942G, ATI Driver 10.4: Driver Packaging Version 8.723-100406a-098776C-ATI Catalyst™ Version 10.4 Provider ATI Technologies Inc. 2D Driver Version 8.01.01.1016 2D Driver File Path /REGISTRY/MACHINE/SYSTEM/ControlSet001/Control/CLASS/{4D36E968-E325-11CE-BFC1-08002BE10318}/0000 Direct3D Version 8.14.10.0743 OpenGL Version 6.14.10.9756 Catalyst™ Control Center Version 2010.0406.2133.36843
-
7f1b5ae80535f7be95002ef947744828ad70be89
Description
I have problem running a QGraphicsView in a QGLWidget view port.
Trying to solve the problem, I made a test modifying the Animated Tiles demo adding a OpenGL view port and a QGraphicsDropShadowEffect to tile items. Attached you'll find the modified example main.cpp. The error description follow:
.
.
.
'animatedtiles.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll'
'animatedtiles.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll'
QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked.
"
QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked.
"
QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked.
"
First-chance exception at 0x69863ba9 in animatedtiles.exe: 0xC0000005: Access violation reading location 0xabababbf.
First-chance exception at 0x69863ba9 in animatedtiles.exe: 0xC0000005: Access violation reading location 0xabababbf.
QGLShader::link: "Fragment shader(s) failed to link, vertex shader(s) failed to link.
unexpected error.
unexpected error.
"
"Shader program failed to link,
Shaders Used:
Vertex shader: main=MainWithTexCoordsVertexShader, position=PositionOnlyVertexShader:
#define lowp
#define mediump
#define highp
attribute highp vec2 textureCoordArray;
varying highp vec2 textureCoords;
void setPosition();
void main(void)
attribute highp vec2 vertexCoordsArray;
attribute highp vec3 pmvMatrix1;
attribute highp vec3 pmvMatrix2;
attribute highp vec3 pmvMatrix3;
void setPosition(void)
Fragment shader: main=MainFragmentShader, srcPixel=CustomImageSrcFragmentShader, composition=NoCompositionModeFragmentShader, mask=NoMaskFragmentShader:
#define lowp
#define mediump
#define highp
lowp vec4 srcPixel();
void main()
varying highp vec2 textureCoords;
uniform lowp sampler2D imageTexture;
lowp vec4 customShader(lowp sampler2D texture, highp vec2 coords);
lowp vec4 srcPixel()
uniform lowp vec4 shadowColor;lowp vec4 customShader(lowp sampler2D src, highp vec2 srcCoords)
{ return shadowColor * texture2D(src, srcCoords.yx).a;} Error Log:
Fragment shader(s) failed to link, vertex shader(s) failed to link.
unexpected error.
unexpected error.
"
First-chance exception at 0x630741b4 (QtOpenGLd4.dll) in animatedtiles.exe: 0xC0000005: Access violation reading location 0x00000024.
Unhandled exception at 0x630741b4 (QtOpenGLd4.dll) in animatedtiles.exe: 0xC0000005: Access violation reading location 0x00000024.