[PyQt] QAxBase.dynamicCall overloaded with list as arguments
Knacktus
knacktus at googlemail.com
Thu Nov 15 20:36:46 GMT 2012
Hello everyone,
calling QAxBase.dynamicCall like this works:
my_comp.dynamicCall("MyMethod(const QString&, int, bool)", "test", 2, False)
however, using the overloaded call
(http://qt-project.org/doc/qt-4.8/qaxbase.html#dynamicCall-2) doesn't:
my_comp.dynamicCall("MyMethod(const QString&, int, bool)", ["test", 2,
False])
It gives an Error: ... Non-optional parameter missing
As I've got 18 args I need to use the overloaded call.
Cheers,
Jan
More information about the PyQt
mailing list