Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4486

Installer: Add tests for manual license key set from CLI

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • None
    • None
    • RTA
    • Qt Installer Sprint 63

    Description

      Manual license keys can be set with offline installer using installer versions 4.2.x
      1. Remove qtaccount.ini and qtlicenses.ini from disk
      2. Try installing from CLI -> install should fail with errors
      "Qt Account settings file [C:\\Users\\<username>\\AppData\\Roaming\\Qt\\qtaccount.ini] does not exist."
      "No valid license keys found."
      3. Install from CLI with --lk <license_key>,<license_key2> -> install success and qtlicenses.ini is written
      4. Install from CLI without --lk -> install should success as it reads the qtlicenses.ini written in previous install
      5. Install from CLI with --email <email> --pw <password> or with QT_INSTALLER_JWT_TOKEN env variable -> install success
      6. Remove qtlicenses.ini and install from CLI without --lk and without --email -> install reads qtaccount.ini and logs in if internet connection found -> install success

      Attachments

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

        Activity

          People

            iikkak Iikka Konola
            kamartti Katja Marttila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: