[Qt-interest] Scripting support for Qt/C++ application

Jonathan Greig redteam316 at gmail.com
Fri Nov 4 03:49:46 CET 2011


Thanks guys, this is good info.

Harri,
I got PythonQt built on linux and the examples look good, but I don't see
any clear example or api that you can call a plain C native function(they
are all geared towards C++ objects). Is it possible to do this from the
script with PythonQt:

from MyModule import *
returnval = My-C-Function()

That's so much cleaner than littering the script with
myModule.My-C-Function().

- Swyped from my droid.

On Nov 3, 2011 8:24 AM, "Syam Krishnan" <syamcr at gmail.com> wrote:

On 11/03/2011 01:23 PM, Konstantin Tokarev wrote:
> I propose you to integrate Lua (with help of QtL...
I had only vaguely heard about Lua and had no idea what it was. The
language seems to be simple enough - although it's still a learning curve.
Anyways, since I'm not much interested in doing complicated stuff in the
scripts, the availability of large number of libraries (as for Python)
is not going to be a factor.

Lua looks interesting. I'll try these options (PythonQt and QtLua) and
post my findings here.

Thanks,

Syam


_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
h...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111103/b7461b1d/attachment.html 


More information about the Qt-interest-old mailing list