diff --git a/toonz/sources/tconverter/tconverter.cpp b/toonz/sources/tconverter/tconverter.cpp index ede0a42..3a597c6 100644 --- a/toonz/sources/tconverter/tconverter.cpp +++ b/toonz/sources/tconverter/tconverter.cpp @@ -29,6 +29,10 @@ #include "tvectorrenderdata.h" #include "tofflinegl.h" +#if defined(LINUX) +#include +#endif + using namespace std; using namespace TCli; @@ -355,6 +359,10 @@ void convert(const TFilePath &source, const TFilePath &dest, //------------------------------------------------------------------------ int main(int argc, char *argv[]) { +#if defined(LINUX) + QGuiApplication app(argc, argv); +#endif + TEnv::setRootVarName(rootVarName); TEnv::setSystemVarPrefix(systemVarPrefix); TFilePath fp = TEnv::getStuffDir();