Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Installer uninstall checkbox
Forum Updated to NodeBB v4.3 + New Features

Qt Installer uninstall checkbox

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 604 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bunjee
    wrote on last edited by bunjee
    #1

    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 ♥.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved