Skip to content

QtKeychain does not work with qt_generate_deploy_app_script #246

@redstrate

Description

@redstrate

I tried to deploy an application on Windows using the new qt_generate_deploy_app_script function, and it ended up failing:

Unable to find dependent libraries of C:\Qt\6.7.0\msvc2019_64\bin\qt6keychaind.dll :Cannot open 'C:/Qt/6.7.0/msvc2019_64/bin/qt6keychaind.dll': The system cannot find the file specified.
CMake Error at C:/Qt/6.7.0/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreDeploySupport.cmake:528 (message):
  Executing C:/Qt/6.7.0/msvc2019_64/bin/windeployqt.exe failed: 1
Call Stack (most recent call first):
  .qt/deploy_astra_5e627c233f.cmake:5 (qt6_deploy_runtime_dependencies)
  launcher/cmake_install.cmake:40 (include)
  cmake_install.cmake:42 (include)

Not 100% sure why it's doing this yet, but I would suppose maybe it thinks the library name starting with "qt6" is trying to copy it from the Qt6 dir?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions