Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. "License check failed! Giving up..." in Qt Design Studio COMMUNITY EDITION
QtWS25 Last Chance

"License check failed! Giving up..." in Qt Design Studio COMMUNITY EDITION

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
design studiolicensing
15 Posts 11 Posters 12.4k Views
  • 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.
  • E Offline
    E Offline
    eliezedeck
    wrote on last edited by
    #1

    Hi,

    I expect a "Community Edition" to not do anything with Licensing, yet, I'm seeing "License check failed! Giving up..." when trying Show Live Preview of a ".ui.qml" file. The project is a project form Qt Creator, and thus, I opened the ".pro" file.

    I'm using Design Studio 1.2.0 on the mac. Anyone is having this issue or is this an un-supported use-case? Thanks for the help.

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

      Hi,

      Do you have any license installed ?

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

      E 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Do you have any license installed ?

        E Offline
        E Offline
        eliezedeck
        wrote on last edited by
        #3

        @SGaist said in "License check failed! Giving up..." in Qt Design Studio COMMUNITY EDITION:

        Do you have any license installed ?

        I do not have any license: Open-source Qt. Works fine if opening examples, but not Qt Creator .pro files.

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

          Are you first starting Qt Creator and then the project or do you double click on the .pro file ?

          Also, which version of Qt Creator are you running ?
          How did you install your setup ?

          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
          -1
          • E eliezedeck

            @SGaist said in "License check failed! Giving up..." in Qt Design Studio COMMUNITY EDITION:

            Do you have any license installed ?

            I do not have any license: Open-source Qt. Works fine if opening examples, but not Qt Creator .pro files.

            C Offline
            C Offline
            closx
            wrote on last edited by closx
            #5

            @eliezedeck
            If you are on Linux
            I used to have 2 Qt builds in one Ubuntu OS. One for root, one for main user (I know, I was so noob). And for root, It was giving the same license error for the starting of Qt Creator. If there are two builds of Qt, try to execute Qt Creator with sudo, and try the opposite!

            sudo qtcreator
            qtcreator
            

            If any of both does not work, check if is there a license file in your home folder. If there is, try to remove it (with a backup) and run again!

            cd
            ls -a   //check if is .qt-license file here
            mv .qt-license .qt-license.bak
            qtcreator   //or "sudo qtcreator"
            

            If this does not helps too, try to install Qt Creator with apt commands.

            sudo apt-get update
            sudo apt-get upgrade
            sudo apt-get install qtcreator
            qtcreator     //or "sudo qtcreator"
            

            If any of these helps, maybe you have installed the commercial version by a reading mistake as "community version". You should install the "Open Source Version". If so, you should remove everything you have installed, and check the Installation of Qt 5 on Ubuntu topic!

            If you are on Windows
            You can basically just remove everything you have installed, and download it again from here by choosing the version! It should solve your issue completely!
            By using the link, you can basically just remove Qt Creator from your computer, download Qt Creator from the link and configure Qt Creator later. Or you can remove everything including Qt libraries, plugins and stuff. If you so, you should select the "qt" from download list. Not the "qtcreator".

            Direct Links
            qt-creator-opensource-windows-x86_64-4.9.2.exe (Latest version [4.9.2], 168M)
            qt-opensource-windows-x86-5.13.0.exe (Latest version [5.13.0], 3.7G)

            I hope you can solve your issue soon!
            Cheers!

            bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
            tag me (like @closx) if you are answering to me, so I can notice :D

            1 Reply Last reply
            -1
            • B Offline
              B Offline
              BrookCronin
              wrote on last edited by
              #6

              There seems to be a lot of replies here but none address the point that OP makes, you are trying to use the Community Edition of Design Studio and not Creator, correct?

              The community version of Design Studio should not even require any kind of license afaik, you can skip the license check entirely. I have personally never seen this error message here, so if it is repeatable then it would warrant a bug report. However what is confusing me is that it happened while opening a Creator project ".pro" file. Design Studio is qml only and the project files are .qmlproject so i don't know what would be supposed to happen when opening a Creator Project. Can you answer a few questions? 1. Does Design Studio launch as expected? 2. Do you see the community edition text on the splash screen / welcome page? Can you open and example project / create a new project and then launch the live preview?

              If the answer to those is no then a bug report would be a good idea - https://bugreports.qt.io in the Design Studio Project.

              Regards

              Brook.

              1 Reply Last reply
              1
              • E Offline
                E Offline
                eliezedeck
                wrote on last edited by
                #7

                Indeed, this is repeatable in the 1.2.0 version of Designer Studio, but only when opening a ".pro" file, opening one of the project's QML file, and then running Live Preview.

                In fact, I have the same exact problem on everything: Windows, Linux and macOS.

                I do not have any .qt-license file in any of these above OSes. I'll post a bug as I suspect this is indeed a bug.

                aha_1980A B 2 Replies Last reply
                2
                • E eliezedeck

                  Indeed, this is repeatable in the 1.2.0 version of Designer Studio, but only when opening a ".pro" file, opening one of the project's QML file, and then running Live Preview.

                  In fact, I have the same exact problem on everything: Windows, Linux and macOS.

                  I do not have any .qt-license file in any of these above OSes. I'll post a bug as I suspect this is indeed a bug.

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @eliezedeck please add a link to the report here so others can follow. Thanks!

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  1
                  • E eliezedeck

                    Indeed, this is repeatable in the 1.2.0 version of Designer Studio, but only when opening a ".pro" file, opening one of the project's QML file, and then running Live Preview.

                    In fact, I have the same exact problem on everything: Windows, Linux and macOS.

                    I do not have any .qt-license file in any of these above OSes. I'll post a bug as I suspect this is indeed a bug.

                    B Offline
                    B Offline
                    BrookCronin
                    wrote on last edited by
                    #9

                    @eliezedeck Did you create the bug report? I can't see it in the tracker yet.

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      poucz
                      wrote on last edited by
                      #10

                      Hello,
                      same problem,
                      I installed qtdesignstudio via MaintenanceTool (Qt Design Studio 1.5.0-community).

                      Do you know how to solve problem?
                      Thank you.!!

                      screen2.png
                      screen.png

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mkotzjan
                        wrote on last edited by
                        #11

                        I just stumbled across the same issue and found this still open bug report:
                        https://bugreports.qt.io/browse/QDS-2549

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          Cire
                          wrote on last edited by
                          #12

                          I'm having the same issue. I'm trying to evaluate Design Studio (open source) to see if we want to use it for a future project but I cant even get your built in example loading properly.

                          When I click on a ui.qml file in any of your examples I get the following in the form editor. (or just a simple blank project)

                          Error1.png

                          Checking the error output file shows there is some issue with the license file.

                          I just want to ask to be sure. The "Qt Design Studio - community" version is the open source version? I've looked everywhere else and I can't find a version labeled "open source".

                          I have completely uninstalled all QT components, reinstalled most recent without any resolution to this.

                          You can build and run just fine. However the "form editor" component is just dead.

                          Any thoughts/solutions before I write up my recommendations on DS.

                          Thanks,
                          -Eric

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            plinioandrade
                            wrote on last edited by
                            #13

                            As of today (11/24/2022) this issue is still present on Qt Design Studio Community latest version available for installation via Maintenance Tool.

                            I reinstalled the whole Qt a couple times and every time I tried opening a .pro project file it gave me the same error message mentioned in this post.

                            I see others saying the Qt Design Studio should open .qmlproject files only but when clicking the Open Project button it gives you two extensions options: .pro and . qmlproject. Therefore, I do not think this has to deal with us trying to open the .pro file on Qt Design Studio instead of Qt Creator.

                            If anyone found the solution for this issue please reply here so others can learn how to solve it.

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Thomas Hartmann
                              wrote on last edited by
                              #14

                              Users are not supposed to open .pro files in Qt Design Studio. It is still possible using the Open Project Button from the Welcome Page. This will be fixed in the next release.

                              1 Reply Last reply
                              0
                              • E Offline
                                E Offline
                                emad
                                wrote on last edited by
                                #15

                                i have the same problem ...
                                if you have education license you can sign in to your qt account and download qt-license file and save it to home directory this worked for me.

                                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