[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] GraphicsView and Opengl
From: Tayfun Kayhan <tayfun92_kayhan () yahoo ! com>
Date: 2012-01-22 11:47:38
Message-ID: 1327232858.49316.YahooMailNeo () web120305 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
In case it helps, the example works properly on my system, Kubuntu 11.10, 64bit. You could also \
try running OpenGL examples that python-qt4-doc package provides.
________________________________
From: Peter Würtz <pwuertz@googlemail.com>
To: pyqt@riverbankcomputing.com
Sent: Sunday, January 22, 2012 1:23 PM
Subject: [PyQt] GraphicsView and Opengl
Hi,
I'm having trouble using QGraphicsView on a QGLWidget. I'm getting a
white window and errors like this these:
QGLShader: could not create shader
Vertex shader for simpleShaderProg (MainVertexShader &
PositionOnlyVertexShader) failed to compile
This is an example application triggering the problem:
http://pastebin.com/R0aa8ejs
The 'same' program works flawlessly when using C++/Qt. I'm seeing the
exact behavior when using PySide instead of PyQt4 by the way. Is there
some special treatment required when using python + opengl?
My system is Ubuntu 11.10, opengl is provided by the nvidia driver.
Thanks in advance.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[Attachment #5 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, \
serif;font-size:10pt"><div><span>In case it helps, the example works properly on my system, \
Kubuntu 11.10, 64bit. You could also try running OpenGL examples that <i>python-qt4-doc</i> \
package provides. </span></div> <div style="font-size: 10pt; font-family: tahoma, 'new \
york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new \
york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span \
style="font-weight:bold;">From:</span></b> Peter Würtz <pwuertz@googlemail.com><br> \
<b><span style="font-weight: bold;">To:</span></b> pyqt@riverbankcomputing.com <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Sunday, January 22, 2012 1:23 PM<br> <b><span \
style="font-weight: bold;">Subject:</span></b> [PyQt] GraphicsView and Opengl<br> </font> \
</div> <br> Hi,<br><br>I'm having trouble using QGraphicsView on a QGLWidget. I'm getting \
a<br>white window and errors like this these:<br>QGLShader: could not create shader<br>Vertex \
shader for simpleShaderProg (MainVertexShader &<br>PositionOnlyVertexShader) failed to \
compile<br><br>This is an example application triggering the \
problem:<br>http://pastebin.com/R0aa8ejs<br><br>The 'same' program works flawlessly when using \
C++/Qt. I'm seeing the<br>exact behavior when using PySide instead of PyQt4 by the way. Is \
there<br>some special treatment required when using python + opengl?<br><br>My system is Ubuntu \
11.10, opengl is provided by the nvidia driver.<br><br>Thanks in \
advance.<br>_______________________________________________<br>PyQt mailing list \
<a ymailto="mailto:PyQt@riverbankcomputing.com" \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>http://www.riverbankcomputing.com/mailman/listinfo/pyqt<br><br><br> \
</div> </div> </div></body></html>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic