Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Getting "Qt license file was not found" error with Desktop 5.5 kit
Qt 6.11 is out! See what's new in the release blog

Getting "Qt license file was not found" error with Desktop 5.5 kit

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 2 Posters 17.6k Views 2 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.
  • vikramgV Offline
    vikramgV Offline
    vikramg
    wrote on last edited by
    #1

    I installed Qt 5.5 with the Maintenance tool, but get the following error when building with the Desktop 5.5.1 GCC 64-bit kit:

    Error: Qt license file was not found!
    Project ERROR: License check failed! Giving up ...
    

    I don't get the error with Desktop 5.6.0. Does the 5.5 build system think I am on a commercial version of Qt? Why?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you check that you have the license file matching your installed Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • vikramgV Offline
        vikramgV Offline
        vikramg
        wrote on last edited by
        #3

        Well, I have the open source version of Qt installed, so I should not need a license file? My suspicion is that Maintenance Tool is grabbing the commercial version. Is there a way to ensure/force Maintenance Tool to install the open source version?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Are you sure you are using your OpenSource Qt Version + Kit in your project ? Both can coexist on your system without any problem.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • vikramgV Offline
            vikramgV Offline
            vikramg
            wrote on last edited by
            #5

            I configured a kit with the Qt 5.5 version that Maintenance Tool downloaded, and I get the license error with that. How can I find out if my 5.5 version is opensource or not?

            Some more details:

            1. I downloaded and installed the opensource version of Qt Creator with Qt 5.5. This was working fine.
            2. After 5.6 was released, I downloaded that via Maintenance Tool and got rid of 5.5.
            3. Unfortunately 5.6 does not work because of a missing platform plugin on my old linux distribution, so I decided to go back to 5.5.
            4. Downloaded 5.5 via Maintenance Tool.

            That's when the license error emerged.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Call /path/to/qmake -project . in a dummy folder. If it's an open source qmake it should not have any problem. If not you'll have the license check warning.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • vikramgV Offline
                vikramgV Offline
                vikramg
                wrote on last edited by
                #7

                I do indeed get the license warning with 5.5 in a temp folder:

                $ ~/Development/Qt/5.5/gcc_64/bin/qmake -project .
                
                Error: Qt license file was not found!
                Project ERROR: License check failed! Giving up ...
                

                So now how do I force Maintenance Tool to download the open source version?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  You can do so by not giving any credentials when running the installer.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • vikramgV Offline
                    vikramgV Offline
                    vikramg
                    wrote on last edited by
                    #9

                    The MaintenanceTool does not ask for any credentials anyway..? I just go to "Add or remove components", then select Qt 5.5, and let it do its thing. Note that the original Qt install was indeed (verifiably) open source. It is just the updates that I'm running into problems with.

                    Perhaps I should just start from scratch and reinstall? Thanks, and I appreciate your patience!

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      On the first screen, doesn't it ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • vikramgV Offline
                        vikramgV Offline
                        vikramg
                        wrote on last edited by
                        #11

                        No, Maintenance Tool was not asking for sign-in. There was no go - had to resort to the nuclear option of uninstalling everything and then reinstalling 5.5.1 from the qt.io archive. Now 5.5 works as before.

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          That's strange… Anyway, glad you could get it to work again.

                          Since everything is ok now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0

                          • Login

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