QLScriptEngine provides API manager for calling Lua and QScript code wia C++ programs (it can work with .lua and .js plugins simultaneously)