Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Making the exe deployable
Forum Updated to NodeBB v4.3 + New Features

Making the exe deployable

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 4 Posters 1.5k 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.
  • G Offline
    G Offline
    gongdori
    wrote on last edited by
    #1

    Hello,

    I designed a GUI software in qt and made it deployable using "windeployqt.ext". It worked just fine.
    Then, I had to add some control for a ethernet to GPIO board and needed to integrate the dlls provided by the GPIO board manufacturer. Following their example code, I integrated it and it worked fine if I open the GUI in QT creator.
    However, when I generated the deployable version using the same way I did, it did not work. Initially, it complained about some missing DLLs. After I added the missing DLLs, the error pops up when I launch the software saying "The application was unable to start correctly (0xc000007b)"
    I really have no idea why this error is coming out and why it works fine in QT creator.
    Can anyone shed some light to it please?
    Thanks,

    Gonggdori

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gongdori
      wrote on last edited by
      #4

      Thank you all for your help.
      I was able to see that one of the DLLs were different when I used it on the development PC vs when it was used in the deployment system. Copying the DLL from the development PC to the deployment system fixed the issue.
      It was funny that the DLL provided by the manufacturer did not work. :(
      Thanks again for your help

      1 Reply Last reply
      1
      • Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #2

        @gongdori even when you missed to stated your development and runtime environments, I assume both are Windows...

        You may want to use dependency walker tool to check the DLLs "provided by the GPIO board manufacturer" to see what other files these DLLs are depending on that is available on your Qt Creator environment but seems lacking in your runtime environment.

        In any case, it looks ins't related to Qt itself since everything was fine with your application before you did this feature enhancements.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        3
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #3

          Hi, also, usually that error "The application was unable to start correctly (0xc000007b)" occurs when there's a mixup of 32-bit and 64-bit flavors of the same DLL.
          For example, if you manually copied msvcp140.dll etc. you'll find the 32-bit versions in Windows\SysWOW64 and the 64-bit versions in Windows\System32.

          1 Reply Last reply
          2
          • G Offline
            G Offline
            gongdori
            wrote on last edited by
            #4

            Thank you all for your help.
            I was able to see that one of the DLLs were different when I used it on the development PC vs when it was used in the deployment system. Copying the DLL from the development PC to the deployment system fixed the issue.
            It was funny that the DLL provided by the manufacturer did not work. :(
            Thanks again for your help

            1 Reply Last reply
            1
            • tansgumusT Offline
              tansgumusT Offline
              tansgumus
              wrote on last edited by
              #5

              @gongdori said in Making the exe deployable:

              windeployqt.ext

              I didn't read or hear about "windeployqt.ext" may you please tell me what is it? I'm using open source distro of Qt

              Pablo J. RoginaP 1 Reply Last reply
              0
              • tansgumusT tansgumus

                @gongdori said in Making the exe deployable:

                windeployqt.ext

                I didn't read or hear about "windeployqt.ext" may you please tell me what is it? I'm using open source distro of Qt

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #6

                @tansgumus said in Making the exe deployable:

                I didn't read or hear about "windeployqt.ext" may you please tell me what is it? I'm using open source distro of Qt

                Two things please. The post is marked as "solved" so the idea is that no more activity should occur in it. You may want to start a new post with your question. And regarding that, you may want to search for "windeployqt.exe"...

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                1

                • Login

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