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. Application not starting on other computers even after using windeployqt

Application not starting on other computers even after using windeployqt

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 2 Posters 790 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.
  • S Offline
    S Offline
    Surviv0r
    wrote on last edited by
    #1

    So my issue is the following: I made an application with Qt, compiled it, it ran fine. Then I ran Windeployqt on the application and it fetched almost all the required .dlls and made the directory look like it should in my opinion. It missed one, the Qt5Widgets.dll so I added that and tried running it. Now the application is giving the error 0xc000007b. I have no clue how to fix it and I've browsed a bunch of other threads and tried to make sense of some Wiki articles on the Qt Wiki.

    Help appreciated, thank you :)

    jsulmJ 1 Reply Last reply
    0
    • S Surviv0r

      So my issue is the following: I made an application with Qt, compiled it, it ran fine. Then I ran Windeployqt on the application and it fetched almost all the required .dlls and made the directory look like it should in my opinion. It missed one, the Qt5Widgets.dll so I added that and tried running it. Now the application is giving the error 0xc000007b. I have no clue how to fix it and I've browsed a bunch of other threads and tried to make sense of some Wiki articles on the Qt Wiki.

      Help appreciated, thank you :)

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

      @Surviv0r said in Application not starting on other computers even after using windeployqt:

      Qt5Widgets.dll

      From where did you copy it? You have to copy it from the Qt version you used to build your app.

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

      S 1 Reply Last reply
      4
      • jsulmJ jsulm

        @Surviv0r said in Application not starting on other computers even after using windeployqt:

        Qt5Widgets.dll

        From where did you copy it? You have to copy it from the Qt version you used to build your app.

        S Offline
        S Offline
        Surviv0r
        wrote on last edited by Surviv0r
        #3

        @jsulm Damn, that's unlucky. I'm pretty sure the version I built it with was 5.11.2 and the current (where I copied the .dll from) is 5.12.2. I have the project file available on this computer, though. I wanted to refrain from recompiling it, because I wouldn't get accurate results then (I assume?), but I guess that's my only choice unless there is a repository for the .dlls

        jsulmJ 1 Reply Last reply
        0
        • S Surviv0r

          @jsulm Damn, that's unlucky. I'm pretty sure the version I built it with was 5.11.2 and the current (where I copied the .dll from) is 5.12.2. I have the project file available on this computer, though. I wanted to refrain from recompiling it, because I wouldn't get accurate results then (I assume?), but I guess that's my only choice unless there is a repository for the .dlls

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

          @Surviv0r said in Application not starting on other computers even after using windeployqt:

          unless there is a repository for the .dlls

          You can install more than one Qt version :-)

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

          S 2 Replies Last reply
          2
          • jsulmJ jsulm

            @Surviv0r said in Application not starting on other computers even after using windeployqt:

            unless there is a repository for the .dlls

            You can install more than one Qt version :-)

            S Offline
            S Offline
            Surviv0r
            wrote on last edited by
            #5

            @jsulm Thank you, I didn't realize. I'm new to this stuff, since I am only a student. Really appreciate it, I'll report back with the results!

            1 Reply Last reply
            3
            • jsulmJ jsulm

              @Surviv0r said in Application not starting on other computers even after using windeployqt:

              unless there is a repository for the .dlls

              You can install more than one Qt version :-)

              S Offline
              S Offline
              Surviv0r
              wrote on last edited by Surviv0r
              #6

              Final Edit! Got it working thanks to you. The subdirectories got completely wiped for some reason, but after rebuilding the file with the correct Qt version for the project and using the proper version of Windeployqt, the application works! Thank you so much :)

              @jsulm By the looks of things, copying the Qt5Widgets.dll from the 5.11.2 version did not resolve the issue. Now it does not give out the same error, though. It says "No Qt platform plugin could be initialized" I could build the project again and re-do the deployment process. I'd just need to get another computer to test it on (which shouldn't be an issue). What do you think?

              Edit: It seems as if though for some reason the subdirectories got wiped? I'll investigate.

              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