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
Forum Updated to NodeBB v4.3 + New Features

QT Creator hangs on opening a file or project

Scheduled Pinned Locked Moved Solved General and Desktop
32 Posts 5 Posters 6.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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on 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
    0
    • mrjjM mrjj

      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 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

      mrjjM 1 Reply Last reply
      0
      • D dashthird

        @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

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on 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
        0
        • mrjjM mrjj

          @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 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
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on 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
            0
            • mrjjM mrjj

              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 last edited by
              #7

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

              mrjjM 1 Reply Last reply
              0
              • D dashthird

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

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

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

                D 1 Reply Last reply
                0
                • mrjjM mrjj

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

                  D Offline
                  D Offline
                  dashthird
                  wrote on last edited by
                  #9

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

                  mrjjM 1 Reply Last reply
                  0
                  • D dashthird

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

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 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
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on 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
                      1
                      • mrjjM mrjj

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

                        D Offline
                        D Offline
                        dashthird
                        wrote on last edited by
                        #12

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

                        1 Reply Last reply
                        0
                        • hskoglundH hskoglund

                          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 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
                          • hskoglundH Offline
                            hskoglundH Offline
                            hskoglund
                            wrote on last edited by
                            #14

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

                            D 1 Reply Last reply
                            1
                            • hskoglundH hskoglund

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

                              D Offline
                              D Offline
                              dashthird
                              wrote on 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
                              • hskoglundH Offline
                                hskoglundH Offline
                                hskoglund
                                wrote on 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
                                1
                                • hskoglundH hskoglund

                                  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 last edited by
                                  #17

                                  @hskoglund The issue is still the same!

                                  mrjjM 1 Reply Last reply
                                  0
                                  • D dashthird

                                    @hskoglund The issue is still the same!

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on 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
                                    • hskoglundH Offline
                                      hskoglundH Offline
                                      hskoglund
                                      wrote on 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
                                      3
                                      • D Offline
                                        D Offline
                                        dashthird
                                        wrote on 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
                                        • hskoglundH hskoglund

                                          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 Offline
                                          D Offline
                                          dashthird
                                          wrote on last edited by
                                          #21

                                          @hskoglund
                                          Yes, Yes, I am able to see the Open Project/file window when I open from CMD using:

                                          C:\Qt\Qt5.6.1\Tools\QtCreator\bin\qtcreator.exe -noload all -load Core

                                          Here's the screenshot:
                                          5d16ef46-bdda-49de-8c3b-7f44628077ea-image.png

                                          :)

                                          Where do you think is the cause?

                                          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