Hi and welcome to devnet,
Why not use a script to start your application ?
By the way, shouldn't it rather be launched by your init manager (systemd, init, etc.) ?
In any case, qputenv could be used to set the environment variables and you would have to modify by hand argc and argv before passing them to your QApplication instance.