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

Unexpected CDB Exit

Scheduled Pinned Locked Moved Unsolved General and Desktop
msvc2015qtcreatorqt 5.764bitcdb
30 Posts 22 Posters 39.6k 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.
  • B bitlixi

    I got the same error form. Finally found that some DLL needed is missing. You could click the exe file in DEBUG to find which DLL is missing.

    A Offline
    A Offline
    amfasis
    wrote on last edited by
    #7

    @bitlixi thanks for the hint, I indeed checked the .exe in debug folder. Turned out my Qt/bin folder had magically forgot Qt5OpenGLd.dll

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Narada
      wrote on last edited by
      #8

      I had the same problem. I had incorrectly picked the x86 cdb version instead of the x64 version in configuring the kit.

      DiracsbracketD 1 Reply Last reply
      0
      • M mcleary

        I was getting this error yesterday. I found the the CDB version didn't match with the linked UCRT.

        I'm using Qt 5.6 to develop my application I found that I need to manually link against ucrt like this

        INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/ucrt"
        LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.10586.0/ucrt/x64"
        

        And I found that the CDB version need to match the ucrt version. So I am using CDB 10.0.10586.0 now and it is working.

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by
        #9

        @mcleary
        Just for info: using -L before the library path string is wrong on my Windows 7 system with Qt 5.9.1.

        1 Reply Last reply
        0
        • N Narada

          I had the same problem. I had incorrectly picked the x86 cdb version instead of the x64 version in configuring the kit.

          DiracsbracketD Offline
          DiracsbracketD Offline
          Diracsbracket
          wrote on last edited by Diracsbracket
          #10
          This post is deleted!
          1 Reply Last reply
          0
          • Christoph SchaeferC Offline
            Christoph SchaeferC Offline
            Christoph Schaefer
            wrote on last edited by
            #11

            I had the same unexpected CDB Exit since Qt Creator version 4.3. In Qt Creator 4.2.2 CDB works just fine.
            The solution for me was uninstalling Python 2.7. It is still a work around for me, because I need Python 2.7 for compiling Qt WebEngine from source. Does somebody have a working solution for having Python 2.7 and Qt Creator 4.5 and CDB installed in parallel?

            1 Reply Last reply
            0
            • L Offline
              L Offline
              Lio2609
              wrote on last edited by
              #12

              I have the same problem since the big windows 10 update this week.
              I have not find a solution yet.
              If someone have, it would be great to share. Thanks.

              1 Reply Last reply
              0
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #13

                Hi
                Just noticed i have same issue
                alt text

                Thank you windows update \o/

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Sriep
                  wrote on last edited by Sriep
                  #14

                  Yes me too.

                  I switched from 4.5.0-rc1 to 4.5.0 and it went away. Not sure if that was a coincidence.

                  mrjjM 1 Reply Last reply
                  0
                  • S Sriep

                    Yes me too.

                    I switched from 4.5.0-rc1 to 4.5.0 and it went away. Not sure if that was a coincidence.

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

                    @Sriep
                    I reinstalled Qt and it also worked again.

                    L 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @Sriep
                      I reinstalled Qt and it also worked again.

                      L Offline
                      L Offline
                      Lio2609
                      wrote on last edited by
                      #16

                      @mrjj
                      i just ran the " repare " function of Visual studio 2017 installer and it worked again too.

                      1 Reply Last reply
                      2
                      • D Offline
                        D Offline
                        Destructor
                        wrote on last edited by
                        #17

                        My solution of this issue:
                        I've check my exe by Depends, and... I miss some dll, linked by .lib!
                        Then I put this DLL into System32 - et voila! CDB work now.

                        jsulmJ 1 Reply Last reply
                        0
                        • D Destructor

                          My solution of this issue:
                          I've check my exe by Depends, and... I miss some dll, linked by .lib!
                          Then I put this DLL into System32 - et voila! CDB work now.

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

                          @Destructor You should not put them into system32 directory - put them in the same directory where you exe is.

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

                          1 Reply Last reply
                          3
                          • W Offline
                            W Offline
                            WriterBloke
                            wrote on last edited by
                            #19

                            @bitlixi's advice worked for me

                            1 Reply Last reply
                            1
                            • xenovasX Offline
                              xenovasX Offline
                              xenovas
                              wrote on last edited by
                              #20

                              same problem.. could someone provide the steps in order to overcome this issue ?

                              @xen0vas

                              mrjjM 1 Reply Last reply
                              0
                              • xenovasX xenovas

                                same problem.. could someone provide the steps in order to overcome this issue ?

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

                                @xenovas
                                Hi
                                If you are using the visual studio compiler. First step could be to find the entry in
                                Add Remove Programs and ask it to repair and see if that fixes anything.
                                alt text

                                xenovasX 1 Reply Last reply
                                1
                                • mrjjM mrjj

                                  @xenovas
                                  Hi
                                  If you are using the visual studio compiler. First step could be to find the entry in
                                  Add Remove Programs and ask it to repair and see if that fixes anything.
                                  alt text

                                  xenovasX Offline
                                  xenovasX Offline
                                  xenovas
                                  wrote on last edited by
                                  #22

                                  @mrjj thank you for your response.. unfortunately didn't work for me..

                                  @xen0vas

                                  mrjjM 1 Reply Last reply
                                  0
                                  • xenovasX xenovas

                                    @mrjj thank you for your response.. unfortunately didn't work for me..

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

                                    @xenovas
                                    Ok, then you can try start the Qt maintenance tool and use it to reinstall Qt.
                                    Did this happen after you installed visual studio update or similar ?

                                    xenovasX 1 Reply Last reply
                                    1
                                    • mrjjM mrjj

                                      @xenovas
                                      Ok, then you can try start the Qt maintenance tool and use it to reinstall Qt.
                                      Did this happen after you installed visual studio update or similar ?

                                      xenovasX Offline
                                      xenovasX Offline
                                      xenovas
                                      wrote on last edited by xenovas
                                      #24

                                      @mrjj hello again, problem fixed for me.. i was using the wrong pythonpath..to fix it i have deleted the pythonpath pointed to python 2.7 Lib from my env variables and i have only kept the pythonhome variable pointing to python 3.7.2.. Thanks

                                      @xen0vas

                                      1 Reply Last reply
                                      3
                                      • P Offline
                                        P Offline
                                        PenthiusX
                                        wrote on last edited by PenthiusX
                                        #25

                                        For me this pops up when the application executable cannot find the required dlls for the application to run.
                                        First click on the executable/build application in your respective debug/release folder and check what dlls it is asking for.
                                        Find the respective dlls in your external framework files (usually in the bin/relevant architecture) and copy them in the qt application/builds local directory.

                                        1 Reply Last reply
                                        1
                                        • B bitlixi

                                          I got the same error form. Finally found that some DLL needed is missing. You could click the exe file in DEBUG to find which DLL is missing.

                                          N Offline
                                          N Offline
                                          Nikolaz
                                          wrote on last edited by
                                          #26

                                          @bitlixi
                                          Confirmed. I'm disappointed only why this error message is so noninformative :-(

                                          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