Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Installer Framework Persistent variables

    Installation and Deployment
    qtifw installer framework persistent
    1
    1
    639
    Loading More Posts
    • 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
      circlesquare last edited by

      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 Reply Quote 0
      • First post
        Last post