Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. The application was unable to start correctly (0xc000007b)
Forum Updated to NodeBB v4.3 + New Features

The application was unable to start correctly (0xc000007b)

Scheduled Pinned Locked Moved Solved Installation and Deployment
23 Posts 6 Posters 14.5k Views 3 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.
  • sneubertS Offline
    sneubertS Offline
    sneubert
    wrote on last edited by
    #7

    There should be a lot more dlls (Qt5Core.dll, Qt5Gui.dll, ...) after running windeployqt. Do you have more than one version of prebuild qt binaries installed?
    You have to run the windeployqt.exe from the bin directory matching the compiler you used for creating the application.

    N 1 Reply Last reply
    1
    • sneubertS sneubert

      There should be a lot more dlls (Qt5Core.dll, Qt5Gui.dll, ...) after running windeployqt. Do you have more than one version of prebuild qt binaries installed?
      You have to run the windeployqt.exe from the bin directory matching the compiler you used for creating the application.

      N Offline
      N Offline
      neda
      wrote on last edited by neda
      #8

      @sneubert

      Thank you
      I run "windeployqt.exe" from "C:\Windows\System32\cmd.exe /A /Q /K C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qtenv2.bat"
      and create application by Qt 5.5.1 ("C:\Qt\Qt5.5.1\Tools\QtCreator\bin\qtcreator.exe").

      I have "Qt5Core.dll, Qt5Gui.dll" after running windeployqt.
      pic

      @sneubert said:

      Do you have more than one version of prebuild qt binaries installed?

      Maybe
      I am not sure.
      I have only Version 5.5.1 In the list of programs.

      @sneubert said:

      There should be a lot more dlls

      For example?

      1 Reply Last reply
      0
      • sneubertS Offline
        sneubertS Offline
        sneubert
        wrote on last edited by
        #9

        i can´t see your images due to our corporate proxy.
        But my dirs list dlls like:
        D3Dcompiler_47.dll
        libEGL.dll
        libGLESV2.dll
        opengl32sw.dll
        ...
        Qt5Widgets.dll
        Qt5Multimedia.dll

        if it´s a missing dependecy you can check by load your application in DependencyWalker (google for download).

        if you have additional qt binaries, there should be more directories below c:\qt\qt5.5.1\5.5\. can u list them?

        As your application shows up in processexplorer use printing for example to cout to check your actually calling show on a widget.
        BTW did you set any windows flags like translucent background or frameless window ?

        1 Reply Last reply
        1
        • N Offline
          N Offline
          neda
          wrote on last edited by neda
          #10

          Thank you
          Please see this Link

          1 Reply Last reply
          0
          • sneubertS Offline
            sneubertS Offline
            sneubert
            wrote on last edited by sneubert
            #11

            In your first post you say:
            Based on Qt 5.5.1 (MSVC 2013, 32 bit)
            in general the folder C:\Qt\Qt5.5.1\5.5\msvc2013_64 points to the 64bit qt binaries.
            Is there a folder like C:\Qt\Qt5.5.1\5.5\msvc2013_x86 or C:\Qt\Qt5.5.1\5.5\msvc2013
            Can u use the windeployqt from there an give it another try?
            You can see the exact path to qt binaries in kit configuration of creator.

            N jsulmJ 3 Replies Last reply
            1
            • sneubertS sneubert

              In your first post you say:
              Based on Qt 5.5.1 (MSVC 2013, 32 bit)
              in general the folder C:\Qt\Qt5.5.1\5.5\msvc2013_64 points to the 64bit qt binaries.
              Is there a folder like C:\Qt\Qt5.5.1\5.5\msvc2013_x86 or C:\Qt\Qt5.5.1\5.5\msvc2013
              Can u use the windeployqt from there an give it another try?
              You can see the exact path to qt binaries in kit configuration of creator.

              N Offline
              N Offline
              neda
              wrote on last edited by
              #12

              @sneubert said:

              Is there a folder like C:\Qt\Qt5.5.1\5.5\msvc2013_x86 or C:\Qt\Qt5.5.1\5.5\msvc2013

              No

              1 Reply Last reply
              0
              • sneubertS sneubert

                In your first post you say:
                Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                in general the folder C:\Qt\Qt5.5.1\5.5\msvc2013_64 points to the 64bit qt binaries.
                Is there a folder like C:\Qt\Qt5.5.1\5.5\msvc2013_x86 or C:\Qt\Qt5.5.1\5.5\msvc2013
                Can u use the windeployqt from there an give it another try?
                You can see the exact path to qt binaries in kit configuration of creator.

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

                @sneubert

                Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                

                That's the QtCreator version not the Qt version which is @neda uses.

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

                N 2 Replies Last reply
                1
                • jsulmJ jsulm

                  @sneubert

                  Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                  

                  That's the QtCreator version not the Qt version which is @neda uses.

                  N Offline
                  N Offline
                  neda
                  wrote on last edited by neda
                  #14

                  @jsulm

                  I remove all Qt program and install "qt-opensource-windows-x86-msvc2013_64-5.5.1.exe"
                  but I have same specification in window "About Qt Creator".
                  Qt Creator 3.5.1 (opensource)
                  Based on Qt 5.5.1 (MSVC 2013,32 bit)
                  and url "C:\Qt\Qt5.5.1\5.5\msvc2013_64" in my computer.

                  1 Reply Last reply
                  0
                  • jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #15

                    The QtCreator version doesn't matter at all:

                    Qt Creator 3.5.1 (opensource)
                    Based on Qt 5.5.1 (MSVC 2013,32 bit)
                    

                    that means you have QtCreator 3.5.1 which was built with Qt 5.5.1 using MSVC 2013, 32bit.
                    You can use any other Qt version with QtCreator.

                    C:\Qt\Qt5.5.1\5.5\msvc2013_64
                    

                    yes, this one is Qt you installed.

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

                    1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @sneubert

                      Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                      

                      That's the QtCreator version not the Qt version which is @neda uses.

                      N Offline
                      N Offline
                      neda
                      wrote on last edited by neda
                      #16

                      @jsulm said:

                      Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                      That's the QtCreator version not the Qt version which is @neda uses.

                      Thank you
                      I download "Qt 5.6.0 for Windows 64-bit (VS 2015, 836 MB) " from "http://www.qt.io/download-open-source/#section-2"
                      I have this specification in window "About Qt Creator".
                      Based on Qt 5.6.0(MSVC 2013,32 bit).

                      But in my computer:
                      "C:\Qt\Qt5.6.0\5.6\msvc2015_64"

                      Why not change version of MSVC after install?
                      I do not know what to do to solve this problem?

                      1 Reply Last reply
                      0
                      • jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #17

                        Which problem do you mean?
                        There is no problem!
                        "About Qt Creator" dialog shows information about QtCreator not Qt versions you installed.
                        It doesn't matter which Qt version QtCreator uses itself. You can use any other Qt version with QtCreator.
                        To see which Qt version you're currently using check the Kit you're using: go to Tools/Options.../Build & Run/Kits.

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

                        N 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          Which problem do you mean?
                          There is no problem!
                          "About Qt Creator" dialog shows information about QtCreator not Qt versions you installed.
                          It doesn't matter which Qt version QtCreator uses itself. You can use any other Qt version with QtCreator.
                          To see which Qt version you're currently using check the Kit you're using: go to Tools/Options.../Build & Run/Kits.

                          N Offline
                          N Offline
                          neda
                          wrote on last edited by
                          #18

                          @jsulm

                          Thank you

                          1 Reply Last reply
                          0
                          • sneubertS sneubert

                            In your first post you say:
                            Based on Qt 5.5.1 (MSVC 2013, 32 bit)
                            in general the folder C:\Qt\Qt5.5.1\5.5\msvc2013_64 points to the 64bit qt binaries.
                            Is there a folder like C:\Qt\Qt5.5.1\5.5\msvc2013_x86 or C:\Qt\Qt5.5.1\5.5\msvc2013
                            Can u use the windeployqt from there an give it another try?
                            You can see the exact path to qt binaries in kit configuration of creator.

                            N Offline
                            N Offline
                            neda
                            wrote on last edited by
                            #19

                            I installed the qt-opensource-windows-x86-msvc2013-5.6.0.exe.
                            I build project (Release build) and run windeployqt from msvc2013 folder,
                            .exe file run in my computer but in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
                            After add that dll I have this error:
                            The application was unable to start correctly (0xc000007b)

                            kshegunovK 1 Reply Last reply
                            0
                            • N neda

                              I installed the qt-opensource-windows-x86-msvc2013-5.6.0.exe.
                              I build project (Release build) and run windeployqt from msvc2013 folder,
                              .exe file run in my computer but in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
                              After add that dll I have this error:
                              The application was unable to start correctly (0xc000007b)

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

                              @neda said:

                              in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.

                              This means these other computers don't have the VC redistributable installed. Either you have to package those with your application, or rather install them from MS's site:
                              https://www.microsoft.com/en-us/download/details.aspx?id=48145 (the link is for VC 2015)

                              Again, note the compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).

                              Read and abide by the Qt Code of Conduct

                              N 1 Reply Last reply
                              1
                              • kshegunovK kshegunov

                                @neda said:

                                in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.

                                This means these other computers don't have the VC redistributable installed. Either you have to package those with your application, or rather install them from MS's site:
                                https://www.microsoft.com/en-us/download/details.aspx?id=48145 (the link is for VC 2015)

                                Again, note the compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).

                                N Offline
                                N Offline
                                neda
                                wrote on last edited by neda
                                #21

                                @kshegunov said:

                                compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).

                                Thank you
                                I install "Visual C++ Redistributable for Visual Studio 2015 , 2012" but useless.
                                I have several compilers:

                                Compilers

                                Please guide me.
                                Thanks

                                kshegunovK 1 Reply Last reply
                                0
                                • N neda

                                  @kshegunov said:

                                  compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).

                                  Thank you
                                  I install "Visual C++ Redistributable for Visual Studio 2015 , 2012" but useless.
                                  I have several compilers:

                                  Compilers

                                  Please guide me.
                                  Thanks

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

                                  @neda

                                  Here. The video should be enough to get you started. You match the compiler you used to the redistributable version. I don't understand Arabic and have no idea what your link points to (there are no pictures), but watch the video, check your compiler and install the appropriate redistributable package on the computers you're deploying to.

                                  Read and abide by the Qt Code of Conduct

                                  N 1 Reply Last reply
                                  1
                                  • kshegunovK kshegunov

                                    @neda

                                    Here. The video should be enough to get you started. You match the compiler you used to the redistributable version. I don't understand Arabic and have no idea what your link points to (there are no pictures), but watch the video, check your compiler and install the appropriate redistributable package on the computers you're deploying to.

                                    N Offline
                                    N Offline
                                    neda
                                    wrote on last edited by neda
                                    #23

                                    @kshegunov said:

                                    I don't understand Arabic and have no idea what your link points to (there are no pictures)

                                    Thank you.
                                    Excuse me for the wrong link.

                                    I installed Visual C++ Redistributable for Visual Studio 2013 and The problem was solved.

                                    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