From 038082e2dcf599b492a701b14aa35589f6efe2dc Mon Sep 17 00:00:00 2001 From: dob205 <> Date: Thu, 3 Feb 2022 22:30:42 +0200 Subject: [PATCH] qt: macos bundling improvements --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5cb90b61c..a502b602f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -220,6 +220,8 @@ if(APPLE) else() install_qt5_plugin("Qt5::QCocoaIntegrationPlugin" QT_PLUGINS ${prefix}) install_qt5_plugin("Qt5::QMacStylePlugin" QT_PLUGINS ${prefix}) + install_qt5_plugin("Qt5::QICOPlugin" QT_PLUGINS ${prefix}) + install_qt5_plugin("Qt5::QICNSPlugin" QT_PLUGINS ${prefix}) endif() file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/qt.conf" @@ -251,9 +253,10 @@ if(APPLE) install(CODE "include(BundleUtilities) fixup_bundle(\"${APPS}\" \"${QT_PLUGINS}\" \"${DIRS}\")") - endif() + endif() endif() + # Install our dependencies if using vcpkg if(VCPKG_TOOLCHAIN) x_vcpkg_install_local_dependencies(TARGETS 86Box DESTINATION ".")