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

Unexpected CDB Exit

Scheduled Pinned Locked Moved Unsolved General and Desktop
msvc2015qtcreatorqt 5.764bitcdb
30 Posts 22 Posters 37.5k Views
  • 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.
  • N Offline
    N Offline
    Narada
    wrote on 1 Jul 2017, 04:46 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.

    D 1 Reply Last reply 11 Oct 2017, 05:50
    0
    • M mcleary
      26 Jul 2016, 14:44

      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.

      D Offline
      D Offline
      Diracsbracket
      wrote on 11 Oct 2017, 05:46 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
        1 Jul 2017, 04:46

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

        D Offline
        D Offline
        Diracsbracket
        wrote on 11 Oct 2017, 05:50 last edited by Diracsbracket 10 Nov 2017, 05:50
        #10
        This post is deleted!
        1 Reply Last reply
        0
        • C Offline
          C Offline
          Christoph Schaefer
          wrote on 14 Nov 2017, 16:35 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 15 Dec 2017, 17:19 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
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 15 Dec 2017, 17:23 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 24 Dec 2017, 01:02 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.

                M 1 Reply Last reply 24 Dec 2017, 01:22
                0
                • S Sriep
                  24 Dec 2017, 01:02

                  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.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 24 Dec 2017, 01:22 last edited by
                  #15

                  @Sriep
                  I reinstalled Qt and it also worked again.

                  L 1 Reply Last reply 24 Dec 2017, 02:56
                  0
                  • M mrjj
                    24 Dec 2017, 01:22

                    @Sriep
                    I reinstalled Qt and it also worked again.

                    L Offline
                    L Offline
                    Lio2609
                    wrote on 24 Dec 2017, 02:56 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 31 Jan 2018, 06:03 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.

                      J 1 Reply Last reply 31 Jan 2018, 06:09
                      0
                      • D Destructor
                        31 Jan 2018, 06:03

                        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.

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 31 Jan 2018, 06:09 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 14 Mar 2018, 10:37 last edited by
                          #19

                          @bitlixi's advice worked for me

                          1 Reply Last reply
                          1
                          • xenovasX Offline
                            xenovasX Offline
                            xenovas
                            wrote on 16 Mar 2019, 17:12 last edited by
                            #20

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

                            @xen0vas

                            M 1 Reply Last reply 16 Mar 2019, 22:10
                            0
                            • xenovasX xenovas
                              16 Mar 2019, 17:12

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

                              M Offline
                              M Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on 16 Mar 2019, 22:10 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 17 Mar 2019, 15:54
                              1
                              • M mrjj
                                16 Mar 2019, 22:10

                                @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 17 Mar 2019, 15:54 last edited by
                                #22

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

                                @xen0vas

                                M 1 Reply Last reply 17 Mar 2019, 16:09
                                0
                                • xenovasX xenovas
                                  17 Mar 2019, 15:54

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

                                  M Offline
                                  M Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 17 Mar 2019, 16:09 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 17 Mar 2019, 18:56
                                  1
                                  • M mrjj
                                    17 Mar 2019, 16:09

                                    @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 17 Mar 2019, 18:56 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 7 Aug 2019, 09:25 last edited by PenthiusX 8 Jul 2019, 09:27
                                      #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
                                        8 Nov 2016, 07:23

                                        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 4 Oct 2019, 07:29 last edited by
                                        #26

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

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          azalea
                                          wrote on 28 May 2020, 20:38 last edited by
                                          #27

                                          I fixed it by checking "Force UTF-8 MSVC compiler output" in "Kits" settings. I have no idea why. I think this error message is a symptom of various otherwise unrelated issues.

                                          (Screen Shot 2020-05-28 at 4.35.15 PM.png image url)

                                          C 1 Reply Last reply 29 May 2020, 02:04
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved