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

include could not find requested file: out/build/x64-msvc/.qt/QtDeployTargets-$<CONFIG>.cmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 6.7.1
    • 6.7.0
    • Build System: CMake
    • None
    • Windows

    Description

      Installing my Qt application does not seem to work. I attached a minimal example. I am using  the latest Visual Studio 2022 on Windows 10.

      run:

      cmake --preset "x64-msvc"

      cmake --build --preset "x64-debug-msvc"

      cd .\out\build\x64-msvc\

      cmake --install . --config Debug

      and I get the error:

      – Installing: C:/Users/ABCDE/source/repos/qt-cmake-template/out/install/x64-msvc/bin/Tempd.exe
      CMake Error at .qt/QtDeploySupport-Debug.cmake:65 (include):
        include could not find requested file:

          C:/Users/ABCDE/source/repos/qt-cmake-template/out/build/x64-msvc/.qt/QtDeployTargets-$<CONFIG>.cmake
      Call Stack (most recent call first):
        .qt/deploy_Temp_1e498cfeff-Debug.cmake:1 (include)
        cmake_install.cmake:47 (include)

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              aboelens Arnout Boelens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes