Your sample code works perfectly for me (with Qt 4.7, I didn't try Qt 4.8).
Did you use a recent EQL version?
(In an earlier version, there was missing
"QMetaObject::normalizedSignature" in file "src/ecl_fun.cpp", in
function "cl_object qoverride(...)").
So, can you try to change:
(qoverride graphic "drawBackground(QPainter*,const QRectF&)..." to:
(qoverride graphic "drawBackground(QPainter*,QRectF)..."
Does the second one work?
Paul
2012/1/31, b0b <boba...@gmail.com>:
> [EQL:err] QOVERRIDE #<QGraphicsScene 0x1141818>
> "drawBackground(QPainter*,const QRectF&)" #<bytecompiled-closure
> #<bytecompiled-function 0233d488>>Your sample code works perfectly for me (with Qt 4.7, I didn't try Qt 4.8).
Did you use a recent EQL version?
(In an earlier version, there was missing
"QMetaObject::normalizedSignature" in file "src/ecl_fun.cpp", in
function "cl_object qoverride(...)").
So, can you try to change:
(qoverride graphic "drawBackground(QPainter*,const QRectF&)..." to:
(qoverride graphic "drawBackground(QPainter*,QRectF)..."Does the second one work?
Paul
Sure, just look at how the "qoverride" functions are shown in both
"qapropos" and doing directly "eql -qgui" (that is, in the EQL
documentation, all functions are shown in a simplified string
representation).
But you should consider to upgrade EQL eventually, because of the GC
bug discovered recently (see this list).
Paul