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

qtwebengine not forwarding CMAKE_BUILD_TYPE correctly.

    XMLWordPrintable

Details

    Description

      So Debug build in vcpkg was successful after some patching (see attachment; the patch only correctly works for situation where no reconfiguration takes place) I get the following error:

       

      CMake Error at E:/qt6/buildtrees/qtwebengine/src/.2.0-beta1-d51e45c8c1/cmake/Functions.cmake:101 (include):
       include could not find requested file:
      E:/qt6/buildtrees/qtwebengine/x64-windows-rel/src/core/api/Debug/gn_config.cxx.cmake
      Call Stack (most recent call first):
       core/CMakeLists.txt:250 (read_gn_target)
      
      CMake Error at E:/qt6/buildtrees/qtwebengine/src/.2.0-beta1-d51e45c8c1/cmake/Functions.cmake:101 (include):
       include could not find requested file:
      E:/qt6/buildtrees/qtwebengine/x64-windows-rel/src/core/api/Debug/gn_config.c.cmake
      Call Stack (most recent call first):
       core/CMakeLists.txt:251 (read_gn_target)
      
      -- Running Debug Configuration for GN
      
      

      which shouldn't happen. I thus added some messages into

      src/core/CMakeLists.txt

      which return:

      -- CONFIGS:Debug
      -- CMAKE_BUILD_TYPE:Debug
      -- QT_GENERATOR_IS_MULTI_CONFIG:0

      which happens in 

       

      [38/43] CMakeFiles\libs-configure-5e40303.bat a23e9491f59e740e

       

       and I don't see 

      -DCMAKE_BUILD_TYPE=<somevalue>

      being in that batch file. 

       

      Attachments

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              neumann-a Alexander Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes