Details
-
Bug
-
Resolution: Fixed
-
P5: Not important
-
6.5.2
-
None
-
-
1ad0fa5b0 (dev), 58b005a12 (6.5)
Description
When Qt6 6.5 is configured (and built) with the following flags:
-bindir $PREFIX/bin \ -libdir $PREFIX/lib \ -headerdir $PREFIX/include/qt6 \ -archdatadir $PREFIX/lib/qt6 \ -datadir $PREFIX/share/qt6
The Pyside6 6.5[.2] setup fails with
[INFO]: Making file /opt/conda/conda-bld/pyside6_1686858905124/work/build/qfp-py3.10-qt6.5.1-64bit-release/package/PySide6/scripts/_{_}init{_}_.py. error: [Errno 2] No such file or directory: '/opt/emsconda/conda-bld/pyside6_1686858905124/_h_env_placehold_pl/modules' setup.py/prepare_packages: [Errno 2] No such file or directory: '$PREFIX/modules'
The reason for this is a (more or less) hard code file in the property `module_json_files_dir`: https://github.com/pyside/pyside-setup/blob/dev/build_scripts/qtinfo.py#L77-L80
This also affects other directories.
Workaround: Don't add the config flags shown above and live with a more cluttered Qt6 build.
Attachments
Issue Links
- relates to
-
QTBUG-116983 INSTALL_DESCRIPTIONSDIR is not queryable by qtpaths
- Reported