Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to add Qt License to a Qt installation, and how to check it.



  • I am configuring my CI pipeline for doing Qt build, I've it working so far; I am doing the installation of of Qt through aqtinstall with this command:

    python -m aqt install --outputdir C:\Qt 5.12.2 windows desktop win32_msvc2017
    

    And then I am adding the Qt licence I have on my desktop at:

    %USERPROFILE%\\.qt-license
    C:\Qt\.qt-license
    

    I am also setting the QT_LICENSE_FILE environment variable pointing to licence file:

    set QT_LICENSE_FILE="C:\Qt\.qt-license"
    

    Then I have the following questions:

    • Is there a command to run to check if my license is properly detected and used?
    • Is correct what I am doing?

Log in to reply