Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error: Qt license file was not found!
Forum Updated to NodeBB v4.3 + New Features

Error: Qt license file was not found!

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MichalF
    wrote on last edited by
    #1

    Hello,
    I recently bought a license from QT, but while I'm trying to install the software, I encounter the following error: (a picture is also attached)

    de9feae3-9f5a-41f7-a95d-611ba860e3ad-image.png

    I work on a Linux system. (using Virtual box - debian)

    I have a correct license file on my computer,.
    maybe someone has an idea how to solve this?
    Maybe tell me where the software looks for this file and change the PATH there?

    Thanks,
    Michal

    sierdzioS M JonBJ 3 Replies Last reply
    0
    • M MichalF

      Hello,
      I recently bought a license from QT, but while I'm trying to install the software, I encounter the following error: (a picture is also attached)

      de9feae3-9f5a-41f7-a95d-611ba860e3ad-image.png

      I work on a Linux system. (using Virtual box - debian)

      I have a correct license file on my computer,.
      maybe someone has an idea how to solve this?
      Maybe tell me where the software looks for this file and change the PATH there?

      Thanks,
      Michal

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @MichalF You need to do this:

      export QT_LICENSE_FILE=/path/to/qt-license.txt
      

      Then you can proceed with configure and it should work.

      (Z(:^

      M 1 Reply Last reply
      2
      • M MichalF

        Hello,
        I recently bought a license from QT, but while I'm trying to install the software, I encounter the following error: (a picture is also attached)

        de9feae3-9f5a-41f7-a95d-611ba860e3ad-image.png

        I work on a Linux system. (using Virtual box - debian)

        I have a correct license file on my computer,.
        maybe someone has an idea how to solve this?
        Maybe tell me where the software looks for this file and change the PATH there?

        Thanks,
        Michal

        M Offline
        M Offline
        MichalF
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • sierdzioS sierdzio

          @MichalF You need to do this:

          export QT_LICENSE_FILE=/path/to/qt-license.txt
          

          Then you can proceed with configure and it should work.

          M Offline
          M Offline
          MichalF
          wrote on last edited by
          #4

          @sierdzio thank you for the reply.
          I've done this before and it didn't help, the problem repeats itself.

          1 Reply Last reply
          0
          • M MichalF

            Hello,
            I recently bought a license from QT, but while I'm trying to install the software, I encounter the following error: (a picture is also attached)

            de9feae3-9f5a-41f7-a95d-611ba860e3ad-image.png

            I work on a Linux system. (using Virtual box - debian)

            I have a correct license file on my computer,.
            maybe someone has an idea how to solve this?
            Maybe tell me where the software looks for this file and change the PATH there?

            Thanks,
            Michal

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @MichalF said in Error: Qt license file was not found!:

            Maybe tell me where the software looks for this file and change the PATH there?

            Just wondering: given that you have written this saying that you do not where the licence file is located, how did you manage to set the environment to point to it as per @sierdzio's suggestion?

            M 1 Reply Last reply
            0
            • JonBJ JonB

              @MichalF said in Error: Qt license file was not found!:

              Maybe tell me where the software looks for this file and change the PATH there?

              Just wondering: given that you have written this saying that you do not where the licence file is located, how did you manage to set the environment to point to it as per @sierdzio's suggestion?

              M Offline
              M Offline
              MichalF
              wrote on last edited by
              #6

              @JonB I know where this folder is located on my computer.
              I'm asking, maybe the software is looking for it in a different Path than QT_LICENSE_PATH....

              sierdzioS 1 Reply Last reply
              0
              • M MichalF

                @JonB I know where this folder is located on my computer.
                I'm asking, maybe the software is looking for it in a different Path than QT_LICENSE_PATH....

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                @MichalF said in Error: Qt license file was not found!:

                @JonB I know where this folder is located on my computer.
                I'm asking, maybe the software is looking for it in a different Path than QT_LICENSE_PATH....

                It's QT_LICENSE_ FILE not PATH. You need to set it in the same terminal session where you run configure:

                export QT_LICENSE_PATH=/path/to/your/license/file
                configure -something -blah
                

                And the variable needs to point to the file itself, not the folder where it's located.

                (Z(:^

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved