Details
-
Task
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
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
For Gerrit Dashboard: QTQAINFRA-4486 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
425708,5 | IFW: New test added to commandline tests | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
428159,4 | IFW: refactor manual license BDD tests for normal python | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
428644,2 | IFW: add test for CLI install without license files | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
428870,2 | IFW: add test for cli - license as parameter | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
428899,3 | IFW: tests for license from previous install and from credentials | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
429362,3 | IFW: add test for install with JWT web token | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
429558,3 | IFW: add check for logs when JWT token is used as credentials | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
429826,2 | IFW: one new test and fixes for other cases | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
430025,2 | IFW: new test for testing install with 2 valid license keys | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
430029,2 | IFW: test for invalid license key | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |
430083,7 | IFW: add test for installing with expired license | master | qtqa/tqtc-qt-rta | Status: MERGED | +2 | 0 |