How can I add a new Environment Variable to the Qt installer. I know that it should go in the .qs script something like the following:
var path = installer.environmentVariable("PATH") + ";" + installer.value("TargetDir");
component.addElevatedOperation("EnvironmentVariable","PATH",path,true);
I'm trying the above on Linux, but it's complaining about EnvironmentVariable
not existing when I install my program.