Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107661

qt6_ifcodegen_generate pollutes system environment variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.2.7, 6.4.1, 6.5.0 Beta1
    • 6.4.0
    • Qt Interface Framework
    • None
    • Linux for sure (not tested on Windows)
    • All
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gagi Dominik Holland
            pnogaj Przemysław Nogaj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes