Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 5.0.2
-
a5970cb00deeb7900bc3fc46e8c59d4aca8aef68 (qt-creator/tqtc-plugin-licensechecker/6.0)
Description
licheck supports QT_LICENSE_FILE to tell it where to actually check the license:
https://doc.qt.io/qt-5/linux-building.html
Qt Creator does not seem support that and refuses to run if the license file is not found in the usual location:
$ export QT_LICENSE_FILE=/tmp/qt-license.txt $ path/to/QtCreator/bin/qtcreator
Produces:
qtaccount.license: Reading Qt Account settings from disk: "/home/user/.local/share/Qt/qtaccount.ini" qtaccount.license: "Qt Account settings file [/home/user/.local/share/Qt/qtaccount.ini] does not exist." qtaccount.license: *** License file does not exist: "/home/user/qt-license" Qt version is no longer known, removing from kit "Qt 5.13.2 (gcc_64) - temporary".
Checking for updates does not work without the qtaccount.ini I guess, but supporting this would at least allow running it in such environments.
Attachments
For Gerrit Dashboard: QTCREATORBUG-26457 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
383796,8 | QtAccount: Add function for reading license from file | master | qtsdk/tqtc-license-managing | Status: MERGED | +2 | 0 |
384340,2 | If QT_LICENSE_FILE is set, read license from it | 6.0 | qt-creator/tqtc-plugin-licensechecker | Status: MERGED | +2 | 0 |
386845,3 | QtAccount: Add function for reading license from file | wip/site_license | qtsdk/tqtc-license-managing | Status: MERGED | +2 | 0 |