PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 623 - QGLWidget.bindTexture(QPixmap, GLenum, GLenum) is missing
: QGLWidget.bindTexture(QPixmap, GLenum, GLenum) is missing
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtOpenGL
: 1.0.0 beta3
: PC MS Windows XP/Vista/7
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-18 16:21 EET by Farsmo
Modified: 2011-01-21 15:44 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Farsmo 2011-01-18 16:21:19 EET
See bug 379 for a patch.
Comment 1 Hugo Parente Lima 2011-01-18 17:09:19 EET
It only happen on Windows, at least on my platform the method exists with all
the overloads.

Last time I checked on Windows the GLEnum typedefs were found, but as the
OpenGL headers are a mess, is better to not believe in the hability of
ApiExtractor parser to find them, so better to add the types as you did on your
patch, I just need to do minor fixes on  the target-lang-api-name attributes
you wrote.

btw, I didn't know why this is on PySide OpenGL typesystem:

<rejection class="QGLWidget" function-name="setMouseTracking"/>
Comment 2 Hugo Parente Lima 2011-01-21 10:37:20 EET
Your patch wont work on all platforms supported by PySide :-/.

I fixed it adding a way to the ApiExtractor parser to parse the gl.h header
file.

Thsi bug works on Windows because APIExtractor knowns that the compiler default
include directoryis /usr/include but it knows nothing about MSVC default
include dir, so I used cmake to find the gl.h header.

Fixed in commit:

pyside/6a83c872836d71700b4cecc18b813032bffad185
Comment 3 renato filho 2011-01-21 15:44:52 EET
release beta4