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

QtWebEngine install doesn't honor DESTDIR

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes