NOTE: PythonQt has been moved to https://github.com/MeVisLab/pythonqt

PythonQt is a dynamic and lightweight script binding of the Qt framework to the Python language. It can be easily embedded into Qt applications and makes any QObject derived object scriptable via Python without the need of wrapper code generation.

Features

  • Qt Scripting in Python
  • Embedding of Python into Qt applications
  • Dynamic scripting of QObjects without wrapper generation

Project Samples

Project Activity

  • Hi, sorry for asking as the question may be stupid, but I did not find any information around. Is there any support available or planned for Qt 6.2? thanks in advance!
  • Suppose there is a QByteArray object transfered from cpp to python script, how can I read it's data to a python list object? Use while loop to read data byte by byte? Any elegant solution?
  • Suppose there is a QByteArray object transfered from cpp to python script, how can I read it's data to a python list object? Use while loop to read data byte by byte? Any elegant solution?
  • you need use a python string as the input parameter
  • I've done a bit of digging, and noticed that PythonQt simply isn't initializing at all, which is upsetting. I'm reexamining my library paths and seeing if there's a way to figure this out. Edit: I was wrong, PythonQt::self() looks fine, at least from what I can tell. It exists at least. Edit 2: It looks like I'm not getting any errors on PythonQt::init(), and Py_Initialize() is getting called from PythonQt. However, Py_IsInitialized() returns false after initializing PythonQt, which I guess means...

See All Activity >

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow PythonQt

PythonQt Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
9
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Great tool, only thing I have found that address the issue of Embedded Python from QT with any sort of sanity. It is sad, more folks have not discovered this dev kit! Don't drop this project!
  • Super useful for embedding python in a QT C++ application. The perfect complement to PyQT
  • This project is astounding, I cannot recommend it highly enough if your are looking to use python in your C++ Qt app
  • Great library, Examples are extremely useful, even if more elaborate uses would gain to be documented. Support is very reactive though, so it is not a major issue!
  • Absolutely Amazing. I wish there was a way of declaring functions in the "global scope" and that it shipped as a header+precompiled library/mac framework, but still, great work :) :)
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Developers

User Interface

Qt

Programming Language

Python, C++

Related Categories

Python Software Testing Tool, Python Frameworks, Python Object Oriented Software, Python Interpreters, C++ Software Testing Tool, C++ Frameworks, C++ Object Oriented Software, C++ Interpreters

Registered

2006-11-06