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.