I have been searching for a way to use python within my C++ Qt Creator plugin and I feel this library meets that requirement. I would like to compile and use it with Qt 5.7, but I am looking for guidance on what I must do to accomplish this task and verify that everything is working properly.
I assume that the CMakeList.txt file must be updated with qt5 wrappers but not sure what else needs to be done. So any help is appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The default build system of PythonQt is qmake.
But it is probably not difficult to upgrade the cmake files from the Qt 4 release of PythonQt.
I just removed them from trunk because they were unmaintained.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Florian, Thank you for the quick response. I will use qmake for the build. Is there anything special that I need to do to use this library within a Qt 5.7 application? I noticed in the code there directories call generated_cpp_54 and not being familure with how the library works I am not sure if I need to generate something for 5.7.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Everyone,
I have been searching for a way to use python within my C++ Qt Creator plugin and I feel this library meets that requirement. I would like to compile and use it with Qt 5.7, but I am looking for guidance on what I must do to accomplish this task and verify that everything is working properly.
I assume that the CMakeList.txt file must be updated with qt5 wrappers but not sure what else needs to be done. So any help is appreciated.
The default build system of PythonQt is qmake.
But it is probably not difficult to upgrade the cmake files from the Qt 4 release of PythonQt.
I just removed them from trunk because they were unmaintained.
Florian, Thank you for the quick response. I will use qmake for the build. Is there anything special that I need to do to use this library within a Qt 5.7 application? I noticed in the code there directories call generated_cpp_54 and not being familure with how the library works I am not sure if I need to generate something for 5.7.
No, since Qt 5 is binary compatible, it normally works to build a newer version with older wrappers. The newest wrappers in svn are for Qt 5.6