Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
import python code in qt
rapid84 last edited by A Former User
i want to import a python code in qt creator. can you give me advises about how to do?
There's something not clear between the title and the content of your post. Do you want to use python code with Qt ? Or write a python project in Qt Creator ?
rapid84 last edited by
Yes, i want to use pyhton code with Qt. I created a qt ui project and i want to import a pyhton code.
So, you want to write Python code which uses Qt? Or do you want to mix C++ and Python code? It is really not clear what you mean with "import python code". Access Python code from a C++ Qt UI application?
If you want to write Python code which uses Qt take a look at PyQt: https://riverbankcomputing.com/software/pyqt/intro