Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
stenzek
GitHub Repository: stenzek/duckstation
Path: blob/master/scripts/deps/qtbase-macdeploy-imageformats.patch
7197 views
1
--- a/src/tools/macdeployqt/shared/shared.cpp
2
+++ b/src/tools/macdeployqt/shared/shared.cpp
3
@@ -1122,14 +1122,8 @@
4
addPlugins(QStringLiteral("networkinformation"));
5
}
6
7
- // All image formats (svg if QtSvg is used)
8
- const bool usesSvg = deploymentInfo.containsModule("Svg", libInfix);
9
- addPlugins(QStringLiteral("imageformats"), [usesSvg](const QString &lib) {
10
- if (lib.contains(QStringLiteral("qsvg")) && !usesSvg)
11
- return false;
12
- return true;
13
- });
14
-
15
+ // All image formats
16
+ addPlugins(QStringLiteral("imageformats"));
17
addPlugins(QStringLiteral("iconengines"));
18
19
// Platforminputcontext plugins if QtGui is in use
20