microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.29k stars 6.43k forks source link

[qt5-base] does not deploy all platform plugins on Windows #37897

Closed tsondergaard closed 1 month ago

tsondergaard commented 7 months ago

On Windows qt5-qtbase only deploys the windows.dll platform plugin to the build folder. This is done by vcpkg-ports/qt5-base/qtdeploy.ps1. This is a problem as Qt supplies other platform plugins that consuming software may use. I need the offscreen.dll platform plugin as my project uses it to run GUI unit tests. vcpkg-ports/qt5-base/qtdeploy.ps1 only selectively deploys from the platforms plugins folder. All other Qt plugin types are deployed fully.

Environment

dg0yt commented 7 months ago

You can always deploy plugins yourself if the default isn't enough. Deploying all of them may not be desirable as well.

Somewhat related: https://github.com/microsoft/vcpkg/pull/35931. It would deploy qminimal and qoffscreen along the Test lib.

tsondergaard commented 7 months ago

@dg0yt, I've made a simple PR for this. I would appreciate it if you would have a look at it.

github-actions[bot] commented 1 month ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.