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. during startup program exited with code 0xc0000139
Forum Updated to NodeBB v4.3 + New Features

during startup program exited with code 0xc0000139

Scheduled Pinned Locked Moved Unsolved General and Desktop
19 Posts 5 Posters 3.1k 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.
  • Z Offline
    Z Offline
    Zunneh
    wrote on 28 May 2019, 14:04 last edited by
    #1

    Hello guys, i'm working on project in Qt , i uninstalled Qt (version 4.8) and installed it another time (i take the version 4.9.1 and 5.3.0 Mingw compiler the same as the version that i uninstalled it ) and now when i try to run my program , it shows this message and the program don't start, in release mode i can run my program , someone can help me pelase ? thanks!

    0_1559052130122_bug.png

    my english is average, please use simple words and try to be the most explicit, thank you

    J 1 Reply Last reply 29 May 2019, 04:38
    0
    • Z Zunneh
      28 May 2019, 14:04

      Hello guys, i'm working on project in Qt , i uninstalled Qt (version 4.8) and installed it another time (i take the version 4.9.1 and 5.3.0 Mingw compiler the same as the version that i uninstalled it ) and now when i try to run my program , it shows this message and the program don't start, in release mode i can run my program , someone can help me pelase ? thanks!

      0_1559052130122_bug.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 May 2019, 04:38 last edited by jsulm
      #2

      @Zunneh First: I guess you mean QtCreator 4.8/4.9.1 (there is no Qt 4.9.1)?
      Qt and QtCreator are not the same.
      Second: without providing more information hardly anybody will be able to answer you question.
      Which exact Qt version are you using?

      Most probably a library is missing. Does your app use any libraries?

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

      K Z 2 Replies Last reply 29 May 2019, 06:48
      3
      • J jsulm
        29 May 2019, 04:38

        @Zunneh First: I guess you mean QtCreator 4.8/4.9.1 (there is no Qt 4.9.1)?
        Qt and QtCreator are not the same.
        Second: without providing more information hardly anybody will be able to answer you question.
        Which exact Qt version are you using?

        Most probably a library is missing. Does your app use any libraries?

        K Offline
        K Offline
        KroMignon
        wrote on 29 May 2019, 06:48 last edited by KroMignon
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • J jsulm
          29 May 2019, 04:38

          @Zunneh First: I guess you mean QtCreator 4.8/4.9.1 (there is no Qt 4.9.1)?
          Qt and QtCreator are not the same.
          Second: without providing more information hardly anybody will be able to answer you question.
          Which exact Qt version are you using?

          Most probably a library is missing. Does your app use any libraries?

          Z Offline
          Z Offline
          Zunneh
          wrote on 29 May 2019, 07:53 last edited by
          #4

          @jsulm i'm using QtCreator 4.9.1 , before i was in Qt 4.8 but i use 5.3.0 Mingw compiler for the two versions, how to know if a library is missing ?

          my english is average, please use simple words and try to be the most explicit, thank you

          J K 2 Replies Last reply 29 May 2019, 07:54
          0
          • Z Zunneh
            29 May 2019, 07:53

            @jsulm i'm using QtCreator 4.9.1 , before i was in Qt 4.8 but i use 5.3.0 Mingw compiler for the two versions, how to know if a library is missing ?

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 29 May 2019, 07:54 last edited by
            #5

            @Zunneh On Linux you can use ldd command line tool on Windows http://www.dependencywalker.com/

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

            1 Reply Last reply
            0
            • Z Zunneh
              29 May 2019, 07:53

              @jsulm i'm using QtCreator 4.9.1 , before i was in Qt 4.8 but i use 5.3.0 Mingw compiler for the two versions, how to know if a library is missing ?

              K Offline
              K Offline
              KroMignon
              wrote on 29 May 2019, 09:02 last edited by KroMignon
              #6

              @Zunneh I don't be sure that I understand your problem:
              with QtCreator 4.8 and Qt 5.3.0/MinGW, your are able to build and run the project.
              But as you have upgraded QtCreator to last release (4.9.1) and not Qt Kit (still Qt 5.3.0/MinGW) you can build but not run the project.

              Is this correct?

              Are you sure Qt Kit have not be changed while upgrade QtCreator version?
              Have you tried to rebuild the project?

              Z 1 Reply Last reply 29 May 2019, 12:40
              0
              • K KroMignon
                29 May 2019, 09:02

                @Zunneh I don't be sure that I understand your problem:
                with QtCreator 4.8 and Qt 5.3.0/MinGW, your are able to build and run the project.
                But as you have upgraded QtCreator to last release (4.9.1) and not Qt Kit (still Qt 5.3.0/MinGW) you can build but not run the project.

                Is this correct?

                Are you sure Qt Kit have not be changed while upgrade QtCreator version?
                Have you tried to rebuild the project?

                Z Offline
                Z Offline
                Zunneh
                wrote on 29 May 2019, 12:40 last edited by Zunneh
                #7

                @KroMignon
                before this post i didn't know that Qt != Qtcreator , now i installed Qt creator 4.9.1 (the last one ) and i want to install the Qt 5.3 and Qt 5.6.3 components , how can i do it ? thanks

                my english is average, please use simple words and try to be the most explicit, thank you

                K 1 Reply Last reply 29 May 2019, 12:44
                0
                • Z Zunneh
                  29 May 2019, 12:40

                  @KroMignon
                  before this post i didn't know that Qt != Qtcreator , now i installed Qt creator 4.9.1 (the last one ) and i want to install the Qt 5.3 and Qt 5.6.3 components , how can i do it ? thanks

                  K Offline
                  K Offline
                  KroMignon
                  wrote on 29 May 2019, 12:44 last edited by
                  #8

                  @Zunneh said in during startup program exited with code 0xc0000139:

                  i want to install the Qt 5.3 and Qt 5.6.3 components

                  You cannot "panache" the Qt version, if you want to use Qt Component 5.6.3, you must also use Qt 5.6.3.
                  Qt components need Qt libs.

                  Z 1 Reply Last reply 29 May 2019, 12:47
                  0
                  • K KroMignon
                    29 May 2019, 12:44

                    @Zunneh said in during startup program exited with code 0xc0000139:

                    i want to install the Qt 5.3 and Qt 5.6.3 components

                    You cannot "panache" the Qt version, if you want to use Qt Component 5.6.3, you must also use Qt 5.6.3.
                    Qt components need Qt libs.

                    Z Offline
                    Z Offline
                    Zunneh
                    wrote on 29 May 2019, 12:47 last edited by Zunneh
                    #9

                    @KroMignon i can use the last Qt (4.9.1 ) with an older libraries , i want to use the 5.6.3 and 5.3 libraries ? can i ? instead of using Qt desktop 5.11.3 (see the screen shot ) i want to use Qt desktop 5.3 and Qt desktop 5.6.3 (auto detected) 0_1559134274159_qt.png

                    my english is average, please use simple words and try to be the most explicit, thank you

                    K 2 Replies Last reply 29 May 2019, 12:57
                    0
                    • Z Zunneh
                      29 May 2019, 12:47

                      @KroMignon i can use the last Qt (4.9.1 ) with an older libraries , i want to use the 5.6.3 and 5.3 libraries ? can i ? instead of using Qt desktop 5.11.3 (see the screen shot ) i want to use Qt desktop 5.3 and Qt desktop 5.6.3 (auto detected) 0_1559134274159_qt.png

                      K Offline
                      K Offline
                      KroMignon
                      wrote on 29 May 2019, 12:57 last edited by
                      #10

                      @Zunneh Once again QtCreator 4.9.1 is an IDE (integrated development environment), this have not link with the Qt version you will use to create your project.

                      QtCreator 4.9.1 have been build with Qt 5.12.3, you can see it in the about dialog
                      0_1559134333745_f6af6c16-8269-48d5-b581-6ed8fa68e9d4-image.png

                      You can use QtCreator 4.9.1 to build a project that use Qt 5.3.x or Qt 5.12.x, thats doesn't mather.
                      The Qt Kit you will use are those you have installed on your development PC.
                      0_1559134596224_d05f87d7-d68f-4f3a-a323-a4f6e3da6416-image.png

                      Then in projects, you can select which kit you want to use to build you project:
                      0_1559134662626_ed2840c9-8fb1-45e0-b62d-99f4bea8cb0a-image.png

                      1 Reply Last reply
                      2
                      • Z Zunneh
                        29 May 2019, 12:47

                        @KroMignon i can use the last Qt (4.9.1 ) with an older libraries , i want to use the 5.6.3 and 5.3 libraries ? can i ? instead of using Qt desktop 5.11.3 (see the screen shot ) i want to use Qt desktop 5.3 and Qt desktop 5.6.3 (auto detected) 0_1559134274159_qt.png

                        K Offline
                        K Offline
                        KroMignon
                        wrote on 29 May 2019, 13:02 last edited by
                        #11

                        @Zunneh Perhaps should take a look at this introduction to QtCreator: https://resources.qt.io/slideshare-all-slideshows/introduction-to-qt-creator

                        Z 1 Reply Last reply 29 May 2019, 13:42
                        0
                        • K KroMignon
                          29 May 2019, 13:02

                          @Zunneh Perhaps should take a look at this introduction to QtCreator: https://resources.qt.io/slideshare-all-slideshows/introduction-to-qt-creator

                          Z Offline
                          Z Offline
                          Zunneh
                          wrote on 29 May 2019, 13:42 last edited by Zunneh
                          #12

                          @KroMignon now i have the version Qt creator 4.9.1 (with Qt 5.11.3 ) and my project was made with Qt 5.3 Kits, so how to install Qt 5.3 Kits in Qt creator 4.9.1 ?

                          my english is average, please use simple words and try to be the most explicit, thank you

                          K 1 Reply Last reply 29 May 2019, 13:53
                          0
                          • Z Zunneh
                            29 May 2019, 13:42

                            @KroMignon now i have the version Qt creator 4.9.1 (with Qt 5.11.3 ) and my project was made with Qt 5.3 Kits, so how to install Qt 5.3 Kits in Qt creator 4.9.1 ?

                            K Offline
                            K Offline
                            KroMignon
                            wrote on 29 May 2019, 13:53 last edited by KroMignon
                            #13

                            @Zunneh Which Qt Kit you want to use is up to you.

                            If you want to build project with Qt 5.3, you have to install a Qt 5.3 kit (MinGW, MSVC or someting else). But you could also build the project with a new Qt Kit, like the Qt 5.11.3 you have already available.

                            You only have to open your project (PRO file if it is qmake base) and select the right Qt Kit, then build.
                            Have you take a look to the QtCreator presentation?

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              arsinte_andrei
                              wrote on 29 May 2019, 21:45 last edited by
                              #14

                              ok.. if you want to install a different version of Qt framework you can do that by using the MaintenanceTool from the Qt folder. there do not select update but install new components and select which version do you want from your left frame. Any way as already suggested you can use the new Qt and you should make your source compatible with the latest version of Qt.
                              Also after a bit of googling for the error 0xc0000139 - it seems that this error is from windows 10 (anyway windows - I'm using GNU/Linux) and some drivers or updates -
                              try to put some breakpoints and see what debug say

                              Z 1 Reply Last reply 30 May 2019, 08:39
                              0
                              • A arsinte_andrei
                                29 May 2019, 21:45

                                ok.. if you want to install a different version of Qt framework you can do that by using the MaintenanceTool from the Qt folder. there do not select update but install new components and select which version do you want from your left frame. Any way as already suggested you can use the new Qt and you should make your source compatible with the latest version of Qt.
                                Also after a bit of googling for the error 0xc0000139 - it seems that this error is from windows 10 (anyway windows - I'm using GNU/Linux) and some drivers or updates -
                                try to put some breakpoints and see what debug say

                                Z Offline
                                Z Offline
                                Zunneh
                                wrote on 30 May 2019, 08:39 last edited by
                                #15

                                @arsinte_andrei Thank you , the problem is that the components that i want to add (5.3 and 5.6.3 ) are not in the list (because they are old ) of the Maintenance Tool, the oldest one available on the list is Qt 5.9

                                my english is average, please use simple words and try to be the most explicit, thank you

                                mrjjM 1 Reply Last reply 30 May 2019, 08:58
                                0
                                • Z Zunneh
                                  30 May 2019, 08:39

                                  @arsinte_andrei Thank you , the problem is that the components that i want to add (5.3 and 5.6.3 ) are not in the list (because they are old ) of the Maintenance Tool, the oldest one available on the list is Qt 5.9

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 30 May 2019, 08:58 last edited by
                                  #16

                                  @Zunneh
                                  Hi
                                  Take them from the archive.
                                  https://download.qt.io/archive/qt/5.3/5.3.2/
                                  https://download.qt.io/archive/qt/5.6/5.6.3/

                                  1 Reply Last reply
                                  1
                                  • Z Offline
                                    Z Offline
                                    Zunneh
                                    wrote on 30 May 2019, 10:47 last edited by
                                    #17

                                    I installed Qt creator 4.9.1 and i added component Qt 5.6.3 but its not detected ? any solution ? thanks

                                    0_1559213176461_regarde.png

                                    my english is average, please use simple words and try to be the most explicit, thank you

                                    J 1 Reply Last reply 3 Jun 2019, 07:31
                                    0
                                    • A Offline
                                      A Offline
                                      arsinte_andrei
                                      wrote on 30 May 2019, 10:52 last edited by
                                      #18

                                      I can see that you build your kit manual.. can you send some pictures from Qt version tab and Compiler time and qmake tab..

                                      1 Reply Last reply
                                      0
                                      • Z Zunneh
                                        30 May 2019, 10:47

                                        I installed Qt creator 4.9.1 and i added component Qt 5.6.3 but its not detected ? any solution ? thanks

                                        0_1559213176461_regarde.png

                                        J Offline
                                        J Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 3 Jun 2019, 07:31 last edited by
                                        #19

                                        @Zunneh said in during startup program exited with code 0xc0000139:

                                        i added component Qt 5.6.3

                                        Using offline installer from the link @mrjj provided?
                                        If it is not detected you can add that Qt version manually in the "Qt Versions" tab and then create a Kit with this Qt version.

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

                                        1 Reply Last reply
                                        1

                                        4/19

                                        29 May 2019, 07:53

                                        topic:navigator.unread, 15
                                        • Login

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