change: Switch to offical OpenFX Support. Still can't compile.

This commit is contained in:
Mike Solar
2025-09-03 21:14:56 +08:00
parent 7ff76427f9
commit b649b5e1bd
198 changed files with 57444 additions and 980 deletions
+10 -1
View File
@@ -52,7 +52,7 @@ extern "C" {
#ifdef USE_CRASHPAD
#include "common/crashpadinterface.h"
#endif // USE_CRASHPAD
#include "OlivePlugin.cpp"
int decompress_project(const QString &project)
{
if (project.isEmpty()) {
@@ -214,6 +214,11 @@ int main(int argc, char *argv[])
QStringLiteral("project"),
QCoreApplication::translate("main", "Project to open on startup"));
auto no_plugin = parser.AddOption(
{ QStringLiteral("-no-plugin") },
QCoreApplication::translate("main", "Don't load plugins")
);
// Qt options re-implemented (add to this as necessary)
//
// Because we don't use QCommandLineParser, we must filter out Qt's arguments ourselves. Here,
@@ -280,6 +285,10 @@ int main(int argc, char *argv[])
}
}
if (!no_plugin->IsSet()) {
olive::plugin::loadPlugins("plugins");
}
if (crash_option->IsSet()) {
startup_params.set_crash_on_startup(true);
}