Hi

HbQt is a binding of Qt for Harbor.
It shares many problems and solutions with other C++ and Qt bindings.
There is pyside project (http://www.pyside.org/) , which is a binding for
Python.

Here is exract from Pyside presentation:
(http://www.pyside.org/2010/03/pyside-talk-on-bossa-conference-2010/)

Shiboken is the binding generator used to create
the PySide bindings. It can generate bindings not only for Qt, but for
any C++ library.


Things one must take care in the binding business:
• C++ object to Python wrapper association
• Inheritance
• Multiple inheritance and casting pointers
• Implicit type conversions
• Methods with multiple signatures
• Protected methods
• Function arguments that return values
• Virtual method overrides
• Object ownership

Harbour and Python are both dynamic interpreted GC languages.
IMHO we should take the same steps (maybe adapt some Shiboken
code, which is writen in C++).
We need hb_cppappi in Harbour , which can be used
for different C++ bindings (Qt,wxWidgets,...). 

BRGDS
 

-----
brgs
Franček Prijatelj
-- 
View this message in context: 
http://n2.nabble.com/hbIDE-On-line-documentation-cum-distro-update-tp4812225p4816757.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to