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 876 - QSqlDriver.handle() missing
: QSqlDriver.handle() missing
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.3
: PC Linux
: P5 enhancement
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-06-08 00:04 EEST by rocher.jm
Modified: 2011-06-22 20:25 EEST (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 rocher.jm 2011-06-08 00:04:24 EEST
in qt 4.7 there is a possibility to get a low-level database handle.
I have to use a such functionnality in order to create a specific function for
an sqlite database

how can I workaround this problem?
Comment 1 Hugo Parente Lima 2011-06-08 00:20:24 EEST
You can't :-/

The best we can do is to return an opaque pointer, but it will be useless
because the Python bindings for each database API will require their own type
instead of a opaque pointer without any type info, so the opaque pointer
approach is useless.

Return the respective Python type for each database is also not a feasible
option, this would require each binding to have a way from C code to create
their Python types using the handle we got from Qt and I think it's not
possible.
Comment 2 renato filho 2011-06-22 20:25:10 EEST
release 1.0.4