Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Installer uninstall checkbox
Qt 6.12 LTS is out! See what's new in the release blog

Qt Installer uninstall checkbox

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k 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
    • Unsolved