From c6aae47d500c816d12d8eb621479524c5ffcd5fb Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Thu, 15 Apr 2021 19:53:57 -0400 Subject: [PATCH] Don't use OpenShot.h in ExampleHtml.cpp When `#include`-ing the whole mess, building the file was leading to what looked like out-of-memory errors. Replacing the monolithic header with just the necessary ones cleared it up. --- examples/ExampleHtml.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/ExampleHtml.cpp b/examples/ExampleHtml.cpp index 928a05fe..852543ae 100644 --- a/examples/ExampleHtml.cpp +++ b/examples/ExampleHtml.cpp @@ -35,7 +35,10 @@ #include #include -#include "OpenShot.h" +#include "QtHtmlReader.h" +#include "FFmpegWriter.h" +#include "Fraction.h" +#include "Enums.h" // for GRAVITY_BOTTOM_RIGHT #include "CrashHandler.h" using namespace openshot;