Unsolved import python code in qt
-
hi,
i want to import a python code in qt creator. can you give me advises about how to do? -
Hi,
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 ?
-
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