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. QT Creator hangs on opening a file or project
QtWS25 Last Chance

QT Creator hangs on opening a file or project

Scheduled Pinned Locked Moved Solved General and Desktop
32 Posts 5 Posters 6.7k 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.
  • D Offline
    D Offline
    dashthird
    wrote on 23 Jun 2020, 19:25 last edited by
    #1

    Hi!

    My previously installed QT SDK 1.2.1 was working fine.

    Then, I tried to upgrade it to QT OpenSource 5.6.1. It was working fine.
    One day, it started hanging on clicking "File--->Open a New File or Project".

    I have reinstalled QT 5.6.1 multiple times, but it still hangs on that.
    I tried the same for QT OpenSource 4.9.2 and 5.3.0, but they also show the same issue.

    Have attached the screenshot whenever I click on "Open a File or Project"
    9446ce30-5370-48ce-a1c1-852a39e26b3e-image.png

    Please help
    Thanks

    1 Reply Last reply
    0
    • H Online
      H Online
      hskoglund
      wrote on 25 Jun 2020, 19:29 last edited by
      #22

      So most likely some Qt Creator plugin is the culprit.
      To find which one(s), start Qt Creator (you can start it normally), open the Help\About Plugins dialog box.

      Try deselecting (making the plugin not Load) some of the plugins, try first with all the plugins listed under Utilities. Then exit Qt Creator, start it again and try Open File or Project and see if it hangs. If it still hangs, try deselecting more plugins. If it does not hang, then try selecting a few plugins to see which one is the bad boy :-)

      J 1 Reply Last reply 25 Jun 2020, 19:32
      1
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 23 Jun 2020, 20:19 last edited by
        #2

        Hi and welcome to the forums

        No other app has any issues with their "File open" ?

        I have seen network shares and disconnected disks do this but then its also for say notepad.

        You could try the last reinstall. ( yeah we always say that on windows :)

        Uninstall - Remove all.

        Then clean files in

        %APPDATA%\QtProject
        and
        %LOCALAPPDATA%\QtProject

        ( you can paste to explorer to go there )
        This will wipe out ALL Creators settings. (just so you are prepared for that)

        then reboot the system.

        Then install again.

        I know it sucks but not sure what else to try.

        D 1 Reply Last reply 24 Jun 2020, 19:41
        0
        • M mrjj
          23 Jun 2020, 20:19

          Hi and welcome to the forums

          No other app has any issues with their "File open" ?

          I have seen network shares and disconnected disks do this but then its also for say notepad.

          You could try the last reinstall. ( yeah we always say that on windows :)

          Uninstall - Remove all.

          Then clean files in

          %APPDATA%\QtProject
          and
          %LOCALAPPDATA%\QtProject

          ( you can paste to explorer to go there )
          This will wipe out ALL Creators settings. (just so you are prepared for that)

          then reboot the system.

          Then install again.

          I know it sucks but not sure what else to try.

          D Offline
          D Offline
          dashthird
          wrote on 24 Jun 2020, 19:41 last edited by dashthird
          #3

          @mrjj
          Hi!

          No other app has any issues with their "File open"

          I tried all your methods. There was no QTProject folder in my %LOCALAPPDATA%.
          I even deleted the Nokia folder in APPDATA (related to old QT SDK files) & restarted + reinstalled the Qt5.6.1

          But, the issue is still there

          I just discovered that it also hangs on "File->Open File With ..."

          Further, it shows no issue on "File->New Project"
          However, when I choose, say, Widgets---->OK---->Browse for project folder location, it stucks there also.

          So, basically anything related to opening my filesystem from QT causes hangs without even opening a new window for opening file/project

          No other menu option click has any such issues

          I wonder if I need to edit registry setting

          QT is such a wonderful software, I wonder why that is happening.
          Kindly help

          M 1 Reply Last reply 24 Jun 2020, 19:51
          0
          • D dashthird
            24 Jun 2020, 19:41

            @mrjj
            Hi!

            No other app has any issues with their "File open"

            I tried all your methods. There was no QTProject folder in my %LOCALAPPDATA%.
            I even deleted the Nokia folder in APPDATA (related to old QT SDK files) & restarted + reinstalled the Qt5.6.1

            But, the issue is still there

            I just discovered that it also hangs on "File->Open File With ..."

            Further, it shows no issue on "File->New Project"
            However, when I choose, say, Widgets---->OK---->Browse for project folder location, it stucks there also.

            So, basically anything related to opening my filesystem from QT causes hangs without even opening a new window for opening file/project

            No other menu option click has any such issues

            I wonder if I need to edit registry setting

            QT is such a wonderful software, I wonder why that is happening.
            Kindly help

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Jun 2020, 19:51 last edited by
            #4

            @dashthird
            Ok that is super weird. I never saw it be stuck in this way before. Just Creator.
            For test, did you try run it as admin ?

            alt text

            D 1 Reply Last reply 24 Jun 2020, 20:01
            0
            • M mrjj
              24 Jun 2020, 19:51

              @dashthird
              Ok that is super weird. I never saw it be stuck in this way before. Just Creator.
              For test, did you try run it as admin ?

              alt text

              D Offline
              D Offline
              dashthird
              wrote on 24 Jun 2020, 20:01 last edited by
              #5

              @mrjj
              I tried "Run as administrator"
              Even after that, the issue is still same :(

              Please see: After the fresh install, the hanging of QT screen is different in the sense as I now get "Not responding" when QT freezes.

              16e7ad63-3112-40d2-a3f6-eac02c8498bd-image.png

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 24 Jun 2020, 20:53 last edited by
                #6

                Hi
                im out of ideas.
                Do you have any scanners installed?
                Its win 7 right so no windows defender.

                D 1 Reply Last reply 24 Jun 2020, 20:54
                0
                • M mrjj
                  24 Jun 2020, 20:53

                  Hi
                  im out of ideas.
                  Do you have any scanners installed?
                  Its win 7 right so no windows defender.

                  D Offline
                  D Offline
                  dashthird
                  wrote on 24 Jun 2020, 20:54 last edited by
                  #7

                  @mrjj
                  I have avg antivirus free edition
                  OS is windows 7

                  M 1 Reply Last reply 24 Jun 2020, 20:59
                  0
                  • D dashthird
                    24 Jun 2020, 20:54

                    @mrjj
                    I have avg antivirus free edition
                    OS is windows 7

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 24 Jun 2020, 20:59 last edited by
                    #8

                    @dashthird
                    Hi
                    for test could you try to uninstall it ?

                    D 1 Reply Last reply 24 Jun 2020, 21:04
                    0
                    • M mrjj
                      24 Jun 2020, 20:59

                      @dashthird
                      Hi
                      for test could you try to uninstall it ?

                      D Offline
                      D Offline
                      dashthird
                      wrote on 24 Jun 2020, 21:04 last edited by
                      #9

                      @mrjj
                      OK, I would uninstall it now.
                      Kindly suggest the next steps after that

                      M 1 Reply Last reply 24 Jun 2020, 21:14
                      0
                      • D dashthird
                        24 Jun 2020, 21:04

                        @mrjj
                        OK, I would uninstall it now.
                        Kindly suggest the next steps after that

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 24 Jun 2020, 21:14 last edited by mrjj
                        #10

                        @dashthird
                        reboot
                        Then just try to run Creator.
                        (i pray for a bit of luck)

                        D 1 Reply Last reply 25 Jun 2020, 15:06
                        0
                        • H Online
                          H Online
                          hskoglund
                          wrote on 24 Jun 2020, 21:33 last edited by
                          #11

                          To add to @mrjj, in case the uninstallation of AVG didn't help, there's one more thing you could try, start a CMD window, type set path= to clear the path and then in that same CMD try start Qt Creator manually, eg:

                          set path=
                          C:\qt\tools\qtcreator\bin\qtcreator.exe
                          

                          If you can Browse for project folder location now, then there's something spooky in your path settings. However, when starting Qt Creator this way, you will most likely not be able to compile from inside Qt Creator :-(

                          D 1 Reply Last reply 25 Jun 2020, 15:18
                          1
                          • M mrjj
                            24 Jun 2020, 21:14

                            @dashthird
                            reboot
                            Then just try to run Creator.
                            (i pray for a bit of luck)

                            D Offline
                            D Offline
                            dashthird
                            wrote on 25 Jun 2020, 15:06 last edited by
                            #12

                            @mrjj
                            Even after AVG uninstall + reboot, the issue is still there :(

                            1 Reply Last reply
                            0
                            • H hskoglund
                              24 Jun 2020, 21:33

                              To add to @mrjj, in case the uninstallation of AVG didn't help, there's one more thing you could try, start a CMD window, type set path= to clear the path and then in that same CMD try start Qt Creator manually, eg:

                              set path=
                              C:\qt\tools\qtcreator\bin\qtcreator.exe
                              

                              If you can Browse for project folder location now, then there's something spooky in your path settings. However, when starting Qt Creator this way, you will most likely not be able to compile from inside Qt Creator :-(

                              D Offline
                              D Offline
                              dashthird
                              wrote on 25 Jun 2020, 15:18 last edited by
                              #13

                              @hskoglund
                              Tried your method also, set the path & also ran the QTCreator from CMD.
                              Still then, on "File->Open project/file", the issue is same :(

                              I would record a small video of the same & post it here

                              1 Reply Last reply
                              0
                              • H Online
                                H Online
                                hskoglund
                                wrote on 25 Jun 2020, 15:23 last edited by
                                #14

                                Ok one more : try disconnect from internet, pull out the wire or disconnect the WiFi

                                D 1 Reply Last reply 25 Jun 2020, 16:38
                                1
                                • H hskoglund
                                  25 Jun 2020, 15:23

                                  Ok one more : try disconnect from internet, pull out the wire or disconnect the WiFi

                                  D Offline
                                  D Offline
                                  dashthird
                                  wrote on 25 Jun 2020, 16:38 last edited by
                                  #15

                                  @hskoglund Even after disconnecting from the internet, the issue is same

                                  @hskoglund @mrjj Please find the video link attached

                                  QTIssue.avi

                                  1 Reply Last reply
                                  0
                                  • H Online
                                    H Online
                                    hskoglund
                                    wrote on 25 Jun 2020, 17:21 last edited by
                                    #16

                                    Hi, saw the video, 2 things you can try:

                                    1. try reinstalling Qt 5.6.1 on C: (not E:)
                                    2. go to Control Panel and create a new user, log out and log in as that new user, then try Qt Creator
                                    D 1 Reply Last reply 25 Jun 2020, 17:50
                                    1
                                    • H hskoglund
                                      25 Jun 2020, 17:21

                                      Hi, saw the video, 2 things you can try:

                                      1. try reinstalling Qt 5.6.1 on C: (not E:)
                                      2. go to Control Panel and create a new user, log out and log in as that new user, then try Qt Creator
                                      D Offline
                                      D Offline
                                      dashthird
                                      wrote on 25 Jun 2020, 17:50 last edited by
                                      #17

                                      @hskoglund The issue is still the same!

                                      M 1 Reply Last reply 25 Jun 2020, 17:53
                                      0
                                      • D dashthird
                                        25 Jun 2020, 17:50

                                        @hskoglund The issue is still the same!

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 25 Jun 2020, 17:53 last edited by
                                        #18

                                        @dashthird
                                        so even with new user, and Qt install on C:
                                        it still does it ?
                                        (OMG)

                                        1 Reply Last reply
                                        0
                                        • H Online
                                          H Online
                                          hskoglund
                                          wrote on 25 Jun 2020, 18:12 last edited by
                                          #19

                                          Oh, forgot one thing you can test: open a CMD window and start Qt Creator with 2 switches, like this:

                                          C:\qt\Tools\QtCreator\bin\qtcreator.exe -noload all -load Core
                                          

                                          You will have a stripped down UI but Open File or Project is still present...

                                          D 1 Reply Last reply 25 Jun 2020, 18:55
                                          3
                                          • D Offline
                                            D Offline
                                            dashthird
                                            wrote on 25 Jun 2020, 18:39 last edited by
                                            #20

                                            @mrjj

                                            I had tried 2 approaches:
                                            created a new user "test"

                                            1. in new user, simply tried opening QT Creator of E:(installed by old user) & then "File->Open project/file"
                                              Still the same issue

                                            2. in old user, deleted the QT from E:
                                              in new user, installed QT at C: & then "File->Open project/file"
                                              Still the same issue

                                            @hskoglund
                                            Would try your latest CMD method & would let you know the output

                                            1 Reply Last reply
                                            0

                                            4/32

                                            24 Jun 2020, 19:51

                                            topic:navigator.unread, 28
                                            • Login

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