⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

[Qt IFW] How to read command line parameter

  • Hello,

    I am using Qt IFW to provide a setup installer to our end users.
    I'd like to know if there was a way to read from the controller script a parameter given with the command line.

    I'd like to override the target directory:

    Controller.prototype.TargetDirectoryPageCallback = function()
        // Here, specific code to update the target directory, based
        // on a parameter given in the command line of the installer.
        // The installer could be started with such a command line:
        // my_app_setup.exe --target-directory=/path/to/the/install/directory

    Thank you in advance for your answers!

Log in to reply