MacOS Sonoma build fixes

This bundles two small, related changes I found necessary to make OpenMW build on my machine (m1pro macbook running MacOS Sonoma), in order to work on other changes.

  1. Prevent copying the QT plugin unless USE_QT is true, which fixed building non-QT targets (such as standalone openmw)

  2. Add a few explicit constructors so std::vector::emplace_back works under Apple Clang 15. This issue wouldn't be encountered under Clang 16 on newer MacOS, but plenty of people still run a slightly older OS like Sonoma with Clang 15.

Merge request reports

Loading
Loading