Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1456

Script support import module/other script

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.0.0 Pre-Alpha
    • Scripting
    • None
    • All

    Description

      As far as I know, import module/other script in the package install script file is not supported.
      I tried on the recent master branch build (3.2.0), that give output Warning: QFile::remove: Empty or null file name and an exception thrown on the line that execute import.
      I am using import syntax that described on the QJSEngine docs and the one that in old QT 5.7 docs.
      In my use case I would like to integrate the installer with our own license management and validate through http request. So as a user I would like to have import module/other scripts feature to improve modularity and reusability that can also affected to easier maintanance and update.

      Thank you

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            euiko euiko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes