[Qt-interest] Scripting support for Qt/C++ application
Harri Pasanen
grego at mpaja.com
Tue Nov 1 16:24:56 CET 2011
Building the proper python may or may not be tricky depending on what platform
you are targeting.
For SVG Pony I built my own Python 2.5 with mingw that came with QtSDK, using
Qt 4.6 if I recall. Later versions of python had some issue when building
with mingw, but that was about a year ago.
If you are using Visual Studio with Qt, then the upstream Python might work
out of the box.
On Linux everything was very straight forward.
Harri
On Tuesday, November 01, 2011 03:10:49 PM Syam Krishnan wrote:
> On 11/01/2011 01:10 PM, Harri Pasanen wrote:
> > A very smooth integration of Python as scripting language to Qt is
> > achieved by PythonQt, http://pythonqt.sourceforge.net/
>
> This looks amazing. I read:
> http://doc.trolltech.com/qq/qq23-pythonqt.html and it looks quite easy
> (when compared to using Qt's own Javascript) to use.
> I'm a newbie to Python and more so with Javascript. But I have a feeling
> that Python scripting with PythonQt is going to be easier. I don't have
> any idea about performance though.
>
> I found this in the 'Building' page: "PythonQt requires at least Qt
> 4.6.1 (for earlier Qt versions, you will need to run the
> pythonqt_gerenator, Qt 4.3 is the absolute minimum)".
>
> Do you have any experience with this?
>
> thanks,
>
> Syam
More information about the Qt-interest-old
mailing list