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

Qt Creator crashing on start-up

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
9 Posts 3 Posters 2.9k 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    Last night I installed Qt Creator 4.14.0 with Qt 6.0.0, I then launched the MaintenanceTool and added 5.15.1 and 5.15.2. I left the installation overnight, when I returned there were no errors or warnings as far as I could see everything was ok.

    When I launched Qt Creator it immediately shut down, I tried several times, same thing. I've submitted a bug report and thought I'd post this here to see if anyone has any advice because I cannot continue work until its resolved.

    Bug report:
    https://bugreports.qt.io/browse/QTCREATORBUG-25187

    Kind Regards,
    Sy

    K 1 Reply Last reply
    0
    • KroMignonK KroMignon

      @SPlatten said in Qt Creator crashing on start-up:

      macOS Big Sur Version 11.1

      I've got Linux and Windows, but in documentation there is written:

      On macOS:
      
          Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
      
      
      SPlattenS Offline
      SPlattenS Offline
      SPlatten
      wrote on last edited by SPlatten
      #9

      @KroMignon , thank you, it launched, but does the same, pops up in the launch bar then disappears very quickly.

      I was in the Qt folder which on my system is:

      /Users/sy/Qt
      

      I then typed:

      Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
      

      Result:

      sy@Simons-iMac Qt % Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
      The plugin "core" does not exist.
      Usage: Qt Creator [OPTION]... [FILE]...
      Options:
          -help                         Display this help
          -version                      Display program version
          -client                       Attempt to connect to already running first instance
          -settingspath <path>          Override the default path where user settings are stored
          -installsettingspath <path>   Override the default path from where user-independent settings are read
          -temporarycleansettings       Use clean settings for debug or testing reasons
          -pid <pid>                    Attempt to connect to instance given by pid
          -block                        Block until editor is closed
          -pluginpath <path>            Add a custom search path for plugins
          -load <plugin>                Load <plugin> and all plugins that it requires
          -load all                     Load all available plugins
          -noload <plugin>              Do not load <plugin> and all plugins that require it
          -noload all                   Do not load any plugin (useful when followed by one or more "-load" arguments)
          -profile                      Profile plugin loading
          -no-crashcheck                Disable startup check for previously crashed instance
      
      Plugin: Core
          -color <color>                Override selected UI color
          -theme <default|dark>         Choose a built-in theme or pass a .creatortheme file
          -presentationMode             Enable presentation mode with pop-ups for key combos
      
      Plugin: Debugger
          -debug <pid>                  Attach to local process
          -debug <executable>[,kit=<kit>][,terminal={0,1}][,sysroot=<sysroot>]
                                        Start and debug executable
          -debug [executable,]core=<corefile>[,kit=<kit>][,sysroot=<sysroot>]
                                        Attach to core file
          -debug <executable>,server=<server:port>[,kit=<kit>][,sysroot=<sysroot>]
                                        Attach to remote debug server
          -wincrashevent <eventhandle:pid>
                                        Event handle used for attaching to crashed processes
      
      Plugin: Git
          -git-show <git commit hash>   Show given commit hash
      
      Plugin: ProjectExplorer
          -customwizard-verbose         Verbose loading of custom wizards
          -ensure-kit-for-binary <file path>
                                        Create kit with architecture matching a given application or library
          -lastsession                  Restore the last session
          <session>                     Restore a saved session
      
      Plugin: QmlDesigner
          -capture-puppet-stream <capture file>
                                        Captures the Qml Puppet stream
      
      Plugin: Welcome
          -notour                       Do not ask for taking a UI tour on startup
      

      However, I then tried:

      sy@Simons-iMac Qt % Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load Core
      

      Which fixes the issue, core has to be Core. But the only tab showing is Edit, how do I fix?

      When I tried to open my 'pro' file a dialog with an exclamation icon is displayed with the text:

      Could not open "/users/sy/XMLMPAM/XMLMPAM.pro.user": Cannot open files of type "application/xml".
      

      I then launched the Maintenance Tool then removed everything. Then from my profile I checked for files and folders and found .config, I went into this folder and found the folder QtProject, which contained several Qt Creator specific files, I removed the QtProject folder and its contents then reinstalled Qt.

      That worked!

      Kind Regards,
      Sy

      1 Reply Last reply
      0
      • SPlattenS SPlatten

        Last night I installed Qt Creator 4.14.0 with Qt 6.0.0, I then launched the MaintenanceTool and added 5.15.1 and 5.15.2. I left the installation overnight, when I returned there were no errors or warnings as far as I could see everything was ok.

        When I launched Qt Creator it immediately shut down, I tried several times, same thing. I've submitted a bug report and thought I'd post this here to see if anyone has any advice because I cannot continue work until its resolved.

        Bug report:
        https://bugreports.qt.io/browse/QTCREATORBUG-25187

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #2

        @SPlatten
        Thanks for sharing the bug report link.

        Did you check the common settings as in https://forum.qt.io/topic/76015/qt-creator-crashes-after-startup ?

        Vote the answer(s) that helped you to solve your issue(s)

        SPlattenS 1 Reply Last reply
        2
        • K koahnig

          @SPlatten
          Thanks for sharing the bug report link.

          Did you check the common settings as in https://forum.qt.io/topic/76015/qt-creator-crashes-after-startup ?

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by
          #3

          @koahnig , thank you, how do I do that? I've checked your link, all I have in is the "Qt Creator.app", how do I do the same with that?

          Kind Regards,
          Sy

          KroMignonK 1 Reply Last reply
          0
          • SPlattenS SPlatten

            @koahnig , thank you, how do I do that? I've checked your link, all I have in is the "Qt Creator.app", how do I do the same with that?

            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by KroMignon
            #4

            @SPlatten You have to start QtCreator with command line arguments -noload all -load core

            This will disable all modules and only load the core module
            => As usual you can check this in documentation ;)

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            SPlattenS 1 Reply Last reply
            2
            • KroMignonK KroMignon

              @SPlatten You have to start QtCreator with command line arguments -noload all -load core

              This will disable all modules and only load the core module
              => As usual you can check this in documentation ;)

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by
              #5

              @KroMignon , thank you, I realise that my question is how do I launch Qt Creator with command line arguments, since all I have is "Qt Creator.app" ?

              Kind Regards,
              Sy

              K 1 Reply Last reply
              0
              • SPlattenS SPlatten

                @KroMignon , thank you, I realise that my question is how do I launch Qt Creator with command line arguments, since all I have is "Qt Creator.app" ?

                K Offline
                K Offline
                koahnig
                wrote on last edited by
                #6

                @SPlatten

                What is your OS?

                Vote the answer(s) that helped you to solve your issue(s)

                SPlattenS 1 Reply Last reply
                0
                • K koahnig

                  @SPlatten

                  What is your OS?

                  SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on last edited by
                  #7

                  @koahnig , macOS Big Sur Version 11.1

                  Kind Regards,
                  Sy

                  KroMignonK 1 Reply Last reply
                  0
                  • SPlattenS SPlatten

                    @koahnig , macOS Big Sur Version 11.1

                    KroMignonK Offline
                    KroMignonK Offline
                    KroMignon
                    wrote on last edited by
                    #8

                    @SPlatten said in Qt Creator crashing on start-up:

                    macOS Big Sur Version 11.1

                    I've got Linux and Windows, but in documentation there is written:

                    On macOS:
                    
                        Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
                    
                    

                    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                    SPlattenS 1 Reply Last reply
                    0
                    • KroMignonK KroMignon

                      @SPlatten said in Qt Creator crashing on start-up:

                      macOS Big Sur Version 11.1

                      I've got Linux and Windows, but in documentation there is written:

                      On macOS:
                      
                          Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
                      
                      
                      SPlattenS Offline
                      SPlattenS Offline
                      SPlatten
                      wrote on last edited by SPlatten
                      #9

                      @KroMignon , thank you, it launched, but does the same, pops up in the launch bar then disappears very quickly.

                      I was in the Qt folder which on my system is:

                      /Users/sy/Qt
                      

                      I then typed:

                      Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
                      

                      Result:

                      sy@Simons-iMac Qt % Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load core
                      The plugin "core" does not exist.
                      Usage: Qt Creator [OPTION]... [FILE]...
                      Options:
                          -help                         Display this help
                          -version                      Display program version
                          -client                       Attempt to connect to already running first instance
                          -settingspath <path>          Override the default path where user settings are stored
                          -installsettingspath <path>   Override the default path from where user-independent settings are read
                          -temporarycleansettings       Use clean settings for debug or testing reasons
                          -pid <pid>                    Attempt to connect to instance given by pid
                          -block                        Block until editor is closed
                          -pluginpath <path>            Add a custom search path for plugins
                          -load <plugin>                Load <plugin> and all plugins that it requires
                          -load all                     Load all available plugins
                          -noload <plugin>              Do not load <plugin> and all plugins that require it
                          -noload all                   Do not load any plugin (useful when followed by one or more "-load" arguments)
                          -profile                      Profile plugin loading
                          -no-crashcheck                Disable startup check for previously crashed instance
                      
                      Plugin: Core
                          -color <color>                Override selected UI color
                          -theme <default|dark>         Choose a built-in theme or pass a .creatortheme file
                          -presentationMode             Enable presentation mode with pop-ups for key combos
                      
                      Plugin: Debugger
                          -debug <pid>                  Attach to local process
                          -debug <executable>[,kit=<kit>][,terminal={0,1}][,sysroot=<sysroot>]
                                                        Start and debug executable
                          -debug [executable,]core=<corefile>[,kit=<kit>][,sysroot=<sysroot>]
                                                        Attach to core file
                          -debug <executable>,server=<server:port>[,kit=<kit>][,sysroot=<sysroot>]
                                                        Attach to remote debug server
                          -wincrashevent <eventhandle:pid>
                                                        Event handle used for attaching to crashed processes
                      
                      Plugin: Git
                          -git-show <git commit hash>   Show given commit hash
                      
                      Plugin: ProjectExplorer
                          -customwizard-verbose         Verbose loading of custom wizards
                          -ensure-kit-for-binary <file path>
                                                        Create kit with architecture matching a given application or library
                          -lastsession                  Restore the last session
                          <session>                     Restore a saved session
                      
                      Plugin: QmlDesigner
                          -capture-puppet-stream <capture file>
                                                        Captures the Qml Puppet stream
                      
                      Plugin: Welcome
                          -notour                       Do not ask for taking a UI tour on startup
                      

                      However, I then tried:

                      sy@Simons-iMac Qt % Qt\ Creator.app/Contents/MacOS/Qt\ Creator -noload all -load Core
                      

                      Which fixes the issue, core has to be Core. But the only tab showing is Edit, how do I fix?

                      When I tried to open my 'pro' file a dialog with an exclamation icon is displayed with the text:

                      Could not open "/users/sy/XMLMPAM/XMLMPAM.pro.user": Cannot open files of type "application/xml".
                      

                      I then launched the Maintenance Tool then removed everything. Then from my profile I checked for files and folders and found .config, I went into this folder and found the folder QtProject, which contained several Qt Creator specific files, I removed the QtProject folder and its contents then reinstalled Qt.

                      That worked!

                      Kind Regards,
                      Sy

                      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