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. KDSoap deployment on Windows
Qt 6.11 is out! See what's new in the release blog

KDSoap deployment on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 794 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.
  • B Offline
    B Offline
    Benjamien
    wrote on last edited by
    #1

    Hi,

    How can I deploy a windows application with KDSoap ?
    I am able to build it without errors, but I cannot deploy it.
    When I try to run the application it shows a message saying kdsoap.dll is missing.

    Thanks,
    Benjamien

    Christian EhrlicherC 1 Reply Last reply
    0
    • B Benjamien

      Hi,

      How can I deploy a windows application with KDSoap ?
      I am able to build it without errors, but I cannot deploy it.
      When I try to run the application it shows a message saying kdsoap.dll is missing.

      Thanks,
      Benjamien

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Benjamien said in KDSoap deployment on Windows:

      When I try to run the application it shows a message saying kdsoap.dll is missing.

      Then copy over this dll to the directory with your executable.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Benjamien
        wrote on last edited by
        #3

        The release build of KDSoap only has a kdsoap2.dll, not the kdsoap.dll
        Copying the kdsoap2.dll does not change anything

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you run your release executable on your development PC? If so then there is also a kdsoap.dll somewhere.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Benjamien
            wrote on last edited by
            #5

            I can't even run it in QT Creator. I get the same message when I try to debug the project.
            How can I link my project so I uses the kdsoap.dll library ? I have a kdsoap.dll in my release folder of KDSoap.

            1 Reply Last reply
            0
            • Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              How do you link against this library? What import lib do you use?
              Try renaming the dll.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Benjamien
                wrote on last edited by
                #7

                I have changed the Target name for the release build to kdsoap instead of kdsoap2
                So now I have a kdsoap.dll but it still doesn't work.
                I link to the library with "LIBS += -L/C:\Users\info\Documents\Source\Repos\KDSoap\build\lib\Release\ -lkdsoap"
                When I try to run now I get a message "Cannot start (0xc00007b) ..."

                Christian EhrlicherC JonBJ 2 Replies Last reply
                0
                • B Benjamien

                  I have changed the Target name for the release build to kdsoap instead of kdsoap2
                  So now I have a kdsoap.dll but it still doesn't work.
                  I link to the library with "LIBS += -L/C:\Users\info\Documents\Source\Repos\KDSoap\build\lib\Release\ -lkdsoap"
                  When I try to run now I get a message "Cannot start (0xc00007b) ..."

                  Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Benjamien said in KDSoap deployment on Windows:

                  When I try to run now I get a message "Cannot start (0xc00007b) ..."

                  Use Dependency Walker to see which dll is missing

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  1
                  • B Benjamien

                    I have changed the Target name for the release build to kdsoap instead of kdsoap2
                    So now I have a kdsoap.dll but it still doesn't work.
                    I link to the library with "LIBS += -L/C:\Users\info\Documents\Source\Repos\KDSoap\build\lib\Release\ -lkdsoap"
                    When I try to run now I get a message "Cannot start (0xc00007b) ..."

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on last edited by JonB
                    #9

                    @Benjamien
                    As @Christian-Ehrlicher says. Under Windows if you do have a DLL needed by a program, but some dependent DLLs for that DLL are missing, Windows has a way of reporting that the first DLL is "missing", which is a bit misleading. Your "cannot start" error can also be caused by wrong/incompatible versions of various DLLs.

                    On a separate point. Since you say your code does link OK it should not be the issue you are seeing at runtime, but are you sure your

                    LIBS += -L/C:\Users\info\Documents\Source\Repos\KDSoap\build\lib\Release\ -lkdsoap
                    

                    really is what you have? I am surprised that would work with the / you show in it, but maybe it accepts that in front of C:.....

                    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