You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have had quite some issues getting this to work on Gentoo Linux and still trying to find out how to get this to work in a normal fashion.
Find without cmake .. -DQt5_DIR=/usr/lib64/cmake/Qt5 I cannot get the Qt5 stuff to work.
I had Python 3.8, 3.9, 3.10 installed, but only 3.8 and 3.9 had PySide2 available, I could not make CMake choose Python 3.9. (I unstalled 3.10, after which I found out it was not really the root cause)
The program assumes pyside2_config.py is available, this is not the case for Gentoo
I had to manually set the path to my shiboken2 binary
My Typesystems were added via -T/usr/share/PySide2/typesystems
Then I had to add `target_include_directories(${bindings_library} PRIVATE "/usr/include/shiboken2")
Then I had to add `target_include_directories(${bindings_library} PRIVATE "/usr/include/PySide2")
Then I had to add `target_include_directories(${bindings_library} PRIVATE "/usr/include/PySide2/QtCore")
I have had quite some issues getting this to work on Gentoo Linux and still trying to find out how to get this to work in a normal fashion.
cmake .. -DQt5_DIR=/usr/lib64/cmake/Qt5
I cannot get the Qt5 stuff to work.-T/usr/share/PySide2/typesystems
Until this point it compiled, but when calling main.py, I received a particular error, a similar one with https://github.com/giumas/shiboken2_minimal
Eventually traced that back to;
set(shiboken_shared_libraries shiboken2-python3.9)
set(pyside2_link pyside2-python3.9)
I documented these changes, but maybe something could be done to make the example more forgiving.
The text was updated successfully, but these errors were encountered: