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. 0xc000007b error

0xc000007b error

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 13.9k Views 1 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.
  • W Offline
    W Offline
    Wurstinator
    wrote on last edited by
    #1

    Hello,
    I am trying to release my Qt application.
    I compiled it using the "Release" configuration of Visual Studio 2010. It works fine on my own computer but not on others (or virtual machines).
    First, when I tried to execute the application, it said that three needed libraries weren't found: "QtCore4.dll", "QtGui4.dll" and "msvcp100.dll".
    So I copied those files from \Qt\4.8.2\bin and C:\Windows\System32 into the same folder as the application.
    Now, I get another error message when I try to execute it. It says, that the application encountered the error written in the title while running.
    Help me, please.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      KA51O
      wrote on last edited by
      #2

      Have a look at "this thread":http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/f99d3cb8-963e-4a35-afe2-d7b9037a11c4 and the thread linked in that thread.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wurstinator
        wrote on last edited by
        #3

        Thanks for the answer.
        I don't quite understand on what part of the thread you are refering to. Could you be more specific?

        The first topic is similar but still different. The person can't even run his application on his own computer. That is not the case for me, so I think changing the Visual Studio options is unlikely to help.

        The second topic gives two advices:

        1. Link statically - I am trying to do so but encountered several compiler problems. Thus, I can't tell this will be a solution.
        2. Check the required libraries - Dependency Walker shows the three libraries I listed up in my starting post as well as kernel32.dll which is on every Windows machine.
        1 Reply Last reply
        0
        • K Offline
          K Offline
          KA51O
          wrote on last edited by
          #4

          I think your problem is related to missing or incorrect dlls. But there is just not enough information provided to pinpoint the problem. You could either try to remote debug your application or you create a dumpfile and analyze that. I hope this way you can find out what your problem is.

          Another wild guess is that maybe the two PCs (your development Pc and the deployment PC) differ in there setup (for example different service pack versions, or visual studio runtime updates).

          But at first I would advise you to use the dependencywalker and then either remote debug or create a dumpfile.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Wurstinator
            wrote on last edited by
            #5

            I tried to install rdbgsetup_x64.exe so I can debug the application. I start the remote debugger, then I start my own application which crashes, but the debugger shows nothing.

            Same result for creating a dump file. It doesn't give any information about the error.

            Other programs, which don't use Qt, work on both my and the other computer. So it can't be because of different setups.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              KA51O
              wrote on last edited by
              #6

              Did you follow all "these steps":http://msdn.microsoft.com/de-de/library/bt727f1t.aspx for remote debugging ?

              1 Reply Last reply
              0
              • W Offline
                W Offline
                Wurstinator
                wrote on last edited by
                #7

                I found the problem. Apparently, the Visual C++ Redistributable installation was corrupt and therefore the required DLL was damaged.

                Anyway, thanks for trying to help me :)

                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