Skip to content

Windows packaging release version, the debug version library will also be included #833

@kasonyin

Description

@kasonyin

Describe the bug
When packaging release versions of software under Windows, the debug version library will also be included

To Reproduce
Create a simple Qt Quick app.
Build this app.
Deploy this app:
cqtdeployer -bin ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/app.exe -targetDir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/package -qmlDir ${CMAKE_CURRENT_SOURCE_DIR}/qml -qmake ${CMAKE_PREFIX_PATH}/bin/qmake.exe clear

Expected behavior
Only the release version of the library is packaged

Desktop (please complete the following information):

  • OS: [Windows 10 22H2 19045.5487]
  • MSVC 2019
  • Qt Version: [5.15.16]
  • CQt Version: [1.6.2365]

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingWindowsWindows version

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions