[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QAxBase.dynamicCall overloaded with list as arguments
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2012-11-20 12:32:18
Message-ID: a8d203f16e7528f7a3a468b19d49cc8b () localhost
[Download RAW message or body]
On Thu, 15 Nov 2012 21:36:46 +0100, Knacktus <knacktus@googlemail.com>
wrote:
> 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.
There is a problem where the list is not being updated with any output
arguments (which should be fixed in tonight's snapshot), but that doesn't
look like the problem here.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic