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
-
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...
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow PythonQt
Other Useful Business Software
AI-powered service management for IT and enterprise teams
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.
Rate This Project
Login To Rate This Project
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 :) :)