Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installer framework version in config.xml and package.xml
Qt 6.11 is out! See what's new in the release blog

Installer framework version in config.xml and package.xml

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 318 Views
  • 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.
  • M Offline
    M Offline
    michjans
    wrote on last edited by
    #1

    Hi,
    I'm trying make an installer for my application (containing only one package). There are two places in the installer where I have to enter a version number. One in config.xml and another one in package.xml. In my case there is no difference, because there is only one version, but both fields are mandatory.

    What is the difference of both fields in case of just one component?

    Also, I would like to show the version number on the introduction page, but the variable @ProductVersion@ is not replaced in the install script, e.g. this does not work:

    Controller.prototype.IntroductionPageCallback = function()
    {
        var widget = gui.currentPageWidget();
        if (widget != null) {
            widget.title = "Setup"; 
            widget.MessageLabel.setText("This tool will install version @ProductVersion@ on your computer."); 
        }
    }
    

    Is there a way to show the version number in the welcome text using a variable?

    Thanks in advance!

    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