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

Bo Thorsen bo at fioniasoftware.dk
Thu Nov 3 07:56:12 CET 2011


Problems like those have been the main reason I decided against using 
Python and switched to QtScript. I just don't want to bother with the 
hassle of Python dependencies.

Bo.

Den 01-11-2011 16:24, Harri Pasanen skrev:
> 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)".


Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list