Details
Description
When loading one of the mentioned examples I get immediatly an error:
```
[cmake] CMake Error at CMakeLists.txt:90 (message):
[cmake] Error: Calling pyside_config.py --shiboken-module-shared-libraries-cmake
[cmake] returned no output.
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:104 (pyside_config)
```
so I tried to debug by adding a `print("==> " + package)` on utils/pyside_config.py
at line 194 (find_package_path(dir_name), before `if os.path.exists(package):`
and re run CMake:
```
[cmake] CMake Error at CMakeLists.txt:110 (message):
[cmake] Shiboken executable not found at path: ==>
[cmake] /home/redtide/.local/lib/python3.11/site-packages/shiboken6_generator
[cmake]
[cmake] ==> /usr/lib/python3.11/site-packages/shiboken6_generator
[cmake]
[cmake] /usr/lib/python3.11/site-packages/shiboken6_generator/shiboken6
```
if it is searching for the Shiboken executable, shiboken6 in Archlinux is in /usr/bin, see https://archlinux.org/packages/extra/x86_64/shiboken6/files/
EDIT: I made it somewhat working but there must be something broken in that pyside_config.py, because it didn't "work" until I added some print()s, I wonder if it has to do with the CMake version.
Attachments
For Gerrit Dashboard: PYSIDE-2648 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
550706,5 | shiboken6: Handle CMAKE_CXX_COMPILER in non-standard locations | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551077,2 | shiboken6: Handle CMAKE_CXX_COMPILER in non-standard locations | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551140,2 | shiboken6: Handle CMAKE_CXX_COMPILER in non-standard locations | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
555624,3 | uic/Python: Recognize more C++ suffixes when determining the custom widget module | dev | qt/qtbase | Status: MERGED | +2 | 0 |
556635,2 | uic/Python: Recognize more C++ suffixes when determining the custom widget module | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |