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

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

      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)

        1. minimal-example.zip
          15 kB
          Arnout Boelens
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes