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. Qt Installer Framework Persistent variables
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework Persistent variables

Scheduled Pinned Locked Moved Installation and Deployment
qtifwinstallerframeworkpersistent
1 Posts 1 Posters 808 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.
  • C Offline
    C Offline
    circlesquare
    wrote on 28 May 2015, 20:04 last edited by
    #1

    I have created a custom installer page for the user to enter the directory of a an application that my application depends on. Currently, it is possible to access the directory of the supporting application through the installer, but when I need to use it with the updater or package manager, that path is not available. I need that path in order to register my component.addOperation(...).

    I have already tried

    installer.setValue("directory", myDirectory);
    var dir = installer.value("directory");
    

    but the value does not persist after the installer finishes and it becomes empty when I use the updater.

    How can I create a persistent value?

    1 Reply Last reply
    0

    1/1

    28 May 2015, 20:04

    • Login

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