Compare commits

...

1 Commits

Author SHA1 Message Date
Antonio Rojas
6e27680e36 Blacklist MLT Qt5 module when building against Qt6
Otherwise the Qt5 module is loaded by default if both are installed, crashing the application


(cherry picked from commit b4ea9b9b5e)
2024-01-14 20:15:38 +00:00

View File

@@ -97,6 +97,11 @@ int main(int argc, char *argv[])
#endif
#endif
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
// blacklist MLT Qt5 module to prevent crashes
qputenv("MLT_REPOSITORY_DENY", "libmltqt:libmltglaxnimate");
#endif
#if defined(Q_OS_WIN)
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);
#endif