Please sign in to comment.
DolphinQt/CMakeLists: Leverage windeployqt for determining libraries …
…and plugins to copy We were doing quite a bit of unnecessary work within CMake to handle and make sure the necessary libraries were copied over. That approach has several downsides: 1. It's not possible to handle multi-configuration generators (like Visual Studio) in an easy manner. The existing script would fail to copy over the necessary libraries if one configuration was built, and then another one was built. 2. If you have Qt already installed (properly) by the official binary, the existing script would copy *all* dlls even if they weren't necessary. This is pretty bad, since it can waste quite a bit of space. Instead, we can just delegate off to the official deployment application bundled with Qt's libraries that determines what the necessary libraries are and copies them over as necessary. This also means we can properly support both release and debug binaries in the same directory, like how the old handcrafted Visual Studio project files allowed.
- Loading branch information...
Showing with 27 additions and 37 deletions.