Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QAxScriptManager not working with MinGW [SOLVED]
scrptMgr = new QAxScriptManager(this);
mainScrpt = scrptMgr->load("path_to_file.vbs", "myvbs");
mainScrpt is NULL after calling "load" function with MinGW. This is not the case when I use MSVC2010 kit!
"The docs":http://qt-project.org/doc/qt-5/qaxscriptmanager.html#details state that QAxScriptManager is not available with MinGW.
Wow! How could I miss it?! :) Thanks. This is solved for now then.
Wanted to share another result.
Under windows, scripts can also be called using
Of course I'm not sure how to return values to my Qt app without writing to file or anything like that. But passing parameters to it is like calling something from the cmd
Maybe you can just create QProcess and call "cscript your_script.vbs" directly. At least this way you'll get access to its stdin/stdout and return value.