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. I just broke Creator (again)...
Forum Updated to NodeBB v4.3 + New Features

I just broke Creator (again)...

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
16 Posts 5 Posters 3.0k Views 5 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.
  • M Offline
    M Offline
    mchinand
    wrote on last edited by mchinand
    #6

    You might want to delete everything in your build folder and rebuild (or change the build folder). Also, you can try running your program from a command shell. If it's a case of a missing dll, it will probably tell you that. Add the Qt bin folder to the path before running, I think this is correct in your case:
    set PATH=C:\Qt\5.11.1\mingw53_32\bin;%PATH%
    Edit: probably want to include the Qt\Tool\mingw530_32\bin directory too. I use MSVC so am not sure.

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by mzimmers
      #7

      I've tried deleting and rebuilding. It most definitely won't run from a command shell, nor would I expect it to, as the needed .dll files aren't co-resident with the binary. But I've always been able to run the app out of QtCreator until now.

      I think my problem might be related to the selections I made with the maintenance tool. I'm now installing 5.11.1 and not selecting Mingw from the Tools section. Hopefully this will help.

      EDIT:

      No improvement. At this point, I'm fairly confident the problem isn't with my installation; it has to be a setting somewhere that got erased when I uninstalled older versions of Qt.

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

        Hi,

        Did you try to delete the .pro.user file from your project and configure it again ?

        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
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #9

          Hi SGaist - yes, I did...same results.

          I'm wondering if there's something wrong with the maintenance tool...maybe I should try uninstalling, and downloading from the web site?

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

            I'd rather go with checking these setting of Qt Creator before that.

            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
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #11

              I've reviewed the settings exhaustively. I realize I'm probably overlooking something, but it's as though I've inadvertently deleted a library reference or something similar.

              I ran Dependency Walker, but evidently it's far too out of date to be useful here. Any ideas on how to isolate what changed when I reinstalled?

              kshegunovK 1 Reply Last reply
              0
              • mzimmersM mzimmers

                I've reviewed the settings exhaustively. I realize I'm probably overlooking something, but it's as though I've inadvertently deleted a library reference or something similar.

                I ran Dependency Walker, but evidently it's far too out of date to be useful here. Any ideas on how to isolate what changed when I reinstalled?

                kshegunovK Offline
                kshegunovK Offline
                kshegunov
                Moderators
                wrote on last edited by
                #12

                My 2c:
                Open the debugger log and see what went wrong with the startup.

                Read and abide by the Qt Code of Conduct

                mzimmersM 1 Reply Last reply
                2
                • kshegunovK kshegunov

                  My 2c:
                  Open the debugger log and see what went wrong with the startup.

                  mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #13

                  @kshegunov thanks for the suggestion. Note that the app fails whether or not I use the debugger. But here are the last few lines of the debugger log:

                  NOTE: INFERIOR EXITED
                  dState changed from InferiorRunOk(8) to InferiorShutdownFinished(14) [master]
                  dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15) [master]
                  dCALL: SHUTDOWN ENGINE
                  dPLAIN ADAPTER SHUTDOWN 15
                  dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
                  <23python theDumper.exitGdb({"token":23})
                  >22^error,msg="During startup program exited with code 0xc0000135."
                  dCOOKIE FOR TOKEN 22 ALREADY EATEN (EngineShutdownRequested). TWO RESPONSES FOR ONE COMMAND?
                  dNOTE: INFERIOR EXITED
                  dState changed from EngineShutdownRequested(15) to InferiorShutdownFinished(14) [master]
                  dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15) [master]
                  dCALL: SHUTDOWN ENGINE
                  dPLAIN ADAPTER SHUTDOWN 15
                  dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
                  <24python theDumper.exitGdb({"token":24})
                  sExecutable failed: During startup program exited with code 0xc0000135.
                  
                  >&"python theDumper.exitGdb({\"token\":23})\n"
                  dGDB PROCESS FINISHED, status 0, exit code 0
                  dNOTE: ENGINE SHUTDOWN FINISHED
                  dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16) [master]
                  dState changed from EngineShutdownFinished(16) to DebuggerFinished(17) [master]
                  sDebugger finished.
                  

                  I'm trying to approach this logically -- if I keep my .pro and .user files, what does a re-installation of Qt delete besides the platform and tool chain?

                  1 Reply Last reply
                  0
                  • mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #14

                    Well, batspit...for lack of a better approach, I put a hello world line in my main routine and commented everything else out. It worked. I gradually reduced the commented code, waiting for the error to recur, and...poof it just went away on its own.

                    "Solved" seems like a boastful term for this, but I'll mark it so anyway. Thanks to all who looked...

                    JKSHJ 1 Reply Last reply
                    3
                    • mzimmersM mzimmers

                      Well, batspit...for lack of a better approach, I put a hello world line in my main routine and commented everything else out. It worked. I gradually reduced the commented code, waiting for the error to recur, and...poof it just went away on its own.

                      "Solved" seems like a boastful term for this, but I'll mark it so anyway. Thanks to all who looked...

                      JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #15

                      @mzimmers said in I just broke Creator (again)...:

                      Well, batspit...for lack of a better approach, I put a hello world line in my main routine and commented everything else out. It worked. I gradually reduced the commented code, waiting for the error to recur, and...poof it just went away on its own.

                      "Solved" seems like a boastful term for this, but I'll mark it so anyway. Thanks to all who looked...

                      Congratulations, you have found a heisenbug ;)

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      3
                      • mzimmersM Offline
                        mzimmersM Offline
                        mzimmers
                        wrote on last edited by
                        #16

                        @JKSH heisenbug, eh? I wonder if these are most prevalent in Berkeley Unix systems:

                        esse est percipi

                        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