Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.4.0
-
None
-
Linux for sure (not tested on Windows)
-
-
43f4a5a753 (qt/qtinterfaceframework/dev) 43f4a5a753 (qt/tqtc-qtinterfaceframework/dev) 2f11fb75ba (qt/qtinterfaceframework/6.4) 2f11fb75ba (qt/tqtc-qtinterfaceframework/6.4) 7d2d0cac76 (qt/tqtc-qtinterfaceframework/6.2)
Description
Qt Interface Framework qt6_ifcodegen_generate cmake function is setting multiple environment variables like e.g.:
- LC_ALL
- LD_LIBRARY_PATH
- PYTHONPATH
- PYTHONHOME
But is never restoring original values - it can cause multiple issues while using other 3rd party tools. E.g. modification of PYTHONPATH/PYTHONHOME is causing failures on the subsequent conan package manager calls in the same CMake pass.
Attachments
For Gerrit Dashboard: QTBUG-107661 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
438956,3 | ifcodegen: Don't set CMake wide environment variables | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
439186,2 | ifcodegen: Don't set CMake wide environment variables | 6.3 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
439187,2 | ifcodegen: Don't set CMake wide environment variables | 6.4 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
439191,2 | ifcodegen: Don't set CMake wide environment variables | tqtc/lts-6.2 | qt/tqtc-qtinterfaceframework | Status: MERGED | +2 | 0 |