Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26457

Qt Creator does not use QT_LICENSE_FILE

    XMLWordPrintable

Details

    • 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

        Activity

          People

            con Eike Ziller
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes