Why can’t I pass arguments with QProcess when launching blender?

By LetTheWritersWrite

Try to run this code in the main function of a console app in QT but it only starts up the Blender GUI. These arguments should be starting a background render.

I tested the arguments to be correct and they work fine on CMD.

QProcess myProcess;
QString blender = "C:/Program Files/Blender Foundation/Blender/blender.exe";
QStringList arguments;
  arguments << "blender" << " -b" << " E:/my/file.blend" << " -o" << " E:/my/output/folder/"<< " -a";

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273