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

QtWebEngine install doesn't honor DESTDIR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.2.0 Beta4
    • 6.2.0 Alpha
    • Build System: CMake
    • None
    • Linux/X11

      Installing QtWebEngine from the single tarball with

      cmake -B build -S qtwebengine-everywhere-src-6.2.0
      cmake --build build
      DESTDIR="foo" cmake --install build
      

      ignores DESTDIR and tries to install to the root filesystem

      Install the project...
      
      -- Install configuration: "Release"
      
      CMake Error at core/api/cmake_install.cmake:46 (file):
      
        file cannot create directory: /usr/include/qt6/QtWebEngineCore.  Maybe need
      
        administrative privileges.
      
      Call Stack (most recent call first):
      
        core/cmake_install.cmake:47 (include)
      
        cmake_install.cmake:47 (include)
      

      It only affects WebEngine, all other modules install to the correct dir with the same commands.

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

            qt_webengine_team Qt WebEngine Team
            arojas Antonio Rojas
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes