Revision 1198513

Go back to digest for 21st November 2010

Other in Other

Chris Burel committed changes in /trunk/playground/bindings/perlqt4:

Remove dependence on Qt::this().
Remove dependence on QtCore4::isa.
Remove space-prefixed class names.
XS_AUTOLOAD no longer has to call perl methods.

But, it doesn't work. XS_AUTOLOAD can't tell if it was called via $object->method() or Qt::Object::method(), making it unusable. The current solution is to examine the op tree of the entersub op inside XS_AUTOLOAD, but that fails when running in the debugger, because the debugger calls it differently.

File Changes

Modified 8 files
  • /trunk/playground/bindings/perlqt4
  •   /qtcore/lib/QtCore4.pm
  •   /qtcore/src/binding.cpp
  •   /qtcore/src/QtCore4.xs
  •   /qtcore/src/util.cpp
  •   /qtgui/examples/tutorial/t1/t1.pl
  •   /qtgui/examples/tutorial/t2/t2.pl
  •   /qtgui/examples/tutorial/t3/t3.pl
  •   /qtgui/examples/tutorial/t4/t4.pl
8 files changed in total