Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.4.0
-
None
Description
sometimes when cross-compiling the python interpreter cannot be run, but python libs are still found
this results in the shiboken6 executable being skipped
instead I propose the following:
diff --git a/sources/shiboken6/generator/CMakeLists.txt b/sources/shiboken6/generator/CMakeLists.txt index bac998ae5..7895cb623 100644 --- a/sources/shiboken6/generator/CMakeLists.txt +++ b/sources/shiboken6/generator/CMakeLists.txt @@ -3,7 +3,7 @@ set(package_name "Shiboken6Tools") set(CMAKE_AUTOMOC ON) -if(NOT (Qt${QT_MAJOR_VERSION}Core_FOUND AND PYTHONINTERP_FOUND)) +if(NOT (Qt${QT_MAJOR_VERSION}Core_FOUND AND PYTHONLIBS_FOUND)) message(WARNING "Some dependencies were not found: shiboken6 generator compilation disabled!") return() endif()
this allows to provide the shiboken6 executable on conda-forge
Attachments
Issue Links
- relates to
-
PYSIDE-802 Enable PySide/Shiboken cross compilation for different targets.
- Closed