Reputation: 373
I'm trying to build QT app with python embedded by PythonQT but stuck at building PythonQT.
Here is my environment and what I did:
I don't have Headers path under /System/Library/Frameworks/Python.framework/, so in python.prf file, I did the following modification:
then:
I got this error:
No rule to make target /Users/xxx/Applications/Qt/5.15.0/clang_64/lib/libQt5UiTools_debug.a', needed by `../../lib/libPythonQt_QtAll-Qt5-Python3.8_d.3.2.0.dylib'. Stop.
If I use the original python.prf file, build with error the Python.h file not found.
Upvotes: 0
Views: 228
Reputation: 373
The default build configuration is Debug, change it to Release resolve the issue. Build debug version requires some more twist according to the official doc: https://mevislab.github.io/pythonqt/Building.html
Upvotes: 0