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. Qt Creator 4.9.1 does not start on Windows 10
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.9.1 does not start on Windows 10

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
21 Posts 4 Posters 3.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.
  • jsulmJ jsulm

    @chrizbee Try to start QtCreator from a terminal with "-noload all" parameter. It disables all plugins. If it works then you can try to disable one plug-in after another to see which one causes troubles, like "-noload Welcome".

    chrizbeeC Offline
    chrizbeeC Offline
    chrizbee
    wrote on last edited by chrizbee
    #8

    @jsulm
    Following works (did I miss any plugins?):

    qtcreator -noload all -load Core -load Debugger -load Git -load ProjectExplorer -load QmlDesigner -load Welcome
    

    While this still doesn't:

    qtcreator
    

    EDIT:
    Okay, I've tested all plugins that are listed in "--help" (perfprofiler plugin is not?)

    What works:

    qtcreator -noload Debugger
    qtcreator -noload ProjectExplorer
    

    What does not work:

    qtcreator -noload Git
    qtcreator -noload QmlDesigner
    qtcreator -noload Welcome
    
    jsulmJ 1 Reply Last reply
    0
    • chrizbeeC chrizbee

      @jsulm
      Following works (did I miss any plugins?):

      qtcreator -noload all -load Core -load Debugger -load Git -load ProjectExplorer -load QmlDesigner -load Welcome
      

      While this still doesn't:

      qtcreator
      

      EDIT:
      Okay, I've tested all plugins that are listed in "--help" (perfprofiler plugin is not?)

      What works:

      qtcreator -noload Debugger
      qtcreator -noload ProjectExplorer
      

      What does not work:

      qtcreator -noload Git
      qtcreator -noload QmlDesigner
      qtcreator -noload Welcome
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #9

      @chrizbee From the GDB log it is perfprofiler plug-in

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      chrizbeeC 1 Reply Last reply
      0
      • chrizbeeC Offline
        chrizbeeC Offline
        chrizbee
        wrote on last edited by
        #10

        Another Update:
        I've just completely uninstalled Qt 5.13.0 and installed Qt 5.12.4 using the offline installer.
        Same result (as expected, since both are using Qt Creator 4.9.1).

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #11

          Hi, just guessing but maybe your temp environment variables have a bad setting, to check, open a CMD window and type:

          echo %TEMP%
          echo %TMP%
          
          chrizbeeC 1 Reply Last reply
          0
          • hskoglundH hskoglund

            Hi, just guessing but maybe your temp environment variables have a bad setting, to check, open a CMD window and type:

            echo %TEMP%
            echo %TMP%
            
            chrizbeeC Offline
            chrizbeeC Offline
            chrizbee
            wrote on last edited by chrizbee
            #12

            @hskoglund
            Should be fine.

            λ echo %TEMP%
            C:\Users\chrba\AppData\Local\Temp
            
            λ echo %TMP%
            C:\Users\chrba\AppData\Local\Temp
            

            But I'm guessing too, that there's some "bad settings" stored somewhere which I didn't delete yet.
            Because it was working before...

            1 Reply Last reply
            0
            • hskoglundH Offline
              hskoglundH Offline
              hskoglund
              wrote on last edited by
              #13

              Also, what you can try: create another, new user. Switch to that user and start Qt Creator.

              chrizbeeC 1 Reply Last reply
              1
              • chrizbeeC Offline
                chrizbeeC Offline
                chrizbee
                wrote on last edited by
                #14

                Qt 5.9.8 offline installer with Qt Creator 4.8.2 works flawlessly.

                1 Reply Last reply
                0
                • hskoglundH hskoglund

                  Also, what you can try: create another, new user. Switch to that user and start Qt Creator.

                  chrizbeeC Offline
                  chrizbeeC Offline
                  chrizbee
                  wrote on last edited by chrizbee
                  #15

                  @hskoglund I can start Qt Creator from another user without any problems.
                  But what are the differences related to Qt Creator?
                  Environment variables? Registry entries?
                  Why would it work for the new user and not for my default one?

                  jsulmJ 1 Reply Last reply
                  0
                  • chrizbeeC chrizbee

                    @hskoglund I can start Qt Creator from another user without any problems.
                    But what are the differences related to Qt Creator?
                    Environment variables? Registry entries?
                    Why would it work for the new user and not for my default one?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #16

                    @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                    Environment variables? Registry entries?
                    Why would it work for the new user and not for my default one?

                    Because there is probably something broken (like environment variables, registry, entries in the file system,...)

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    aha_1980A 1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                      Environment variables? Registry entries?
                      Why would it work for the new user and not for my default one?

                      Because there is probably something broken (like environment variables, registry, entries in the file system,...)

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

                      @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @chrizbee From the GDB log it is perfprofiler plug-in

                        chrizbeeC Offline
                        chrizbeeC Offline
                        chrizbee
                        wrote on last edited by
                        #18

                        @jsulm said in Qt Creator 4.9.1 does not start on Windows 10:

                        @chrizbee From the GDB log it is perfprofiler plug-in

                        Perfprofiler is not the problem ("only" soft assert). I disabled the plugin and retried with the same result (GDB has no soft assert anymore, but the SIGSEGV is still there).

                        @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                        @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                        Now here comes the strange part:
                        I've installed Qt 5.13.0 and tried the following standalone Qt Creator installers:
                        4.9.2 / 4.9.1 / 4.9.0 / 4.8.2 (both 32 and 64 bit) --> Neither of those worked.

                        So I've figured that the combination is where the problem is coming from.
                        Given this GDB log:

                        Thread 1 received signal SIGSEGV, Segmentation fault.
                        0x6422c807 in Qt5Core!?activate@QMetaObject@@SAXPAVQObject@@HHPAPAX@Z ()
                           from C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll
                        

                        I still do not have a solution to my problem, just a few workarounds which are quite nasty...

                        aha_1980A 1 Reply Last reply
                        0
                        • chrizbeeC chrizbee

                          @jsulm said in Qt Creator 4.9.1 does not start on Windows 10:

                          @chrizbee From the GDB log it is perfprofiler plug-in

                          Perfprofiler is not the problem ("only" soft assert). I disabled the plugin and retried with the same result (GDB has no soft assert anymore, but the SIGSEGV is still there).

                          @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                          @jsulm And given it works with 4.8, probably some new setting introduced in 4.9...

                          Now here comes the strange part:
                          I've installed Qt 5.13.0 and tried the following standalone Qt Creator installers:
                          4.9.2 / 4.9.1 / 4.9.0 / 4.8.2 (both 32 and 64 bit) --> Neither of those worked.

                          So I've figured that the combination is where the problem is coming from.
                          Given this GDB log:

                          Thread 1 received signal SIGSEGV, Segmentation fault.
                          0x6422c807 in Qt5Core!?activate@QMetaObject@@SAXPAVQObject@@HHPAPAX@Z ()
                             from C:\Qt\Qt5.13.0\Tools\QtCreator\bin\Qt5Core.dll
                          

                          I still do not have a solution to my problem, just a few workarounds which are quite nasty...

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

                          @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                          Given this GDB log:

                          Can you go upwards the stack trace and see where this crash originates from?

                          Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                          Just my 2ct.

                          Qt has to stay free or it will die.

                          chrizbeeC 1 Reply Last reply
                          1
                          • aha_1980A aha_1980

                            @chrizbee said in Qt Creator 4.9.1 does not start on Windows 10:

                            Given this GDB log:

                            Can you go upwards the stack trace and see where this crash originates from?

                            Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                            Just my 2ct.

                            chrizbeeC Offline
                            chrizbeeC Offline
                            chrizbee
                            wrote on last edited by
                            #20

                            @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                            Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                            I actually ended up reinstalling the whole system. Still, this should not happen...

                            aha_1980A 1 Reply Last reply
                            1
                            • chrizbeeC chrizbee

                              @aha_1980 said in Qt Creator 4.9.1 does not start on Windows 10:

                              Anyway, if it works in a fresh user account I'd probably rename my account, create a new one and copy over all the things I need. It's a bit of work, but still faster than reinstalling the whole system.

                              I actually ended up reinstalling the whole system. Still, this should not happen...

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

                              @chrizbee I have three or more more instances of Creator open daily, so I'm pretty sure you had really bad luck...

                              This should never happen again.

                              Qt has to stay free or it will die.

                              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