Qt Installer uninstall checkbox



  • Greetings Qt Community,

    I'm using the Qt Installer Framework 2.0.1. I'm trying to add a checkbox after uninstall.

    It's working when installing but not when uninstalling.

    I'm using the following component script:

    function Component()
    {
        installer.currentPageChanged.connect(this, Component.prototype.onCurrentPageChanged);
    }
    
    Component.prototype.onCurrentPageChanged = function(page)
    {
        if (systemInfo.productType != "windows") return;
    
        if (page == QInstaller.InstallationFinished)
        {
            installer.addWizardPageItem(component, "checkbox", page);
        }
    }
    

    Has anyone done that before ?

    Thanks ♥.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.