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. question about windeployqt.exe
QtWS25 Last Chance

question about windeployqt.exe

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 4 Posters 1.1k 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.
  • D Offline
    D Offline
    DeveloperDeveloper35
    wrote on last edited by
    #1

    Hello

    I'm pretty new to QT and have a question about windeployqt.exe. This app found all dependencies for one of my applications, so it starts fine.

    Just for fun, I let it run over another application which already starts without problems on computers where qt is not installed. After this application finished it told me I would need the folder bearer with the file qgenericbearer.dll and the folder translations. For what are these files? It seems that windeployqt thinks I need them but the application is running without them too.

    thanks in advance
    Anna

    S 1 Reply Last reply
    0
    • S Offline
      S Offline
      Sowjanya
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • D DeveloperDeveloper35

        Hello

        I'm pretty new to QT and have a question about windeployqt.exe. This app found all dependencies for one of my applications, so it starts fine.

        Just for fun, I let it run over another application which already starts without problems on computers where qt is not installed. After this application finished it told me I would need the folder bearer with the file qgenericbearer.dll and the folder translations. For what are these files? It seems that windeployqt thinks I need them but the application is running without them too.

        thanks in advance
        Anna

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

        @DeveloperDeveloper35

        To create that, You need to open Qt command prompt,in that give windeployqt.exe.
        And copy .exe file alone in one folder,go to that folder and run windeployqt.exe --quick .

        D 1 Reply Last reply
        0
        • S Sowjanya

          @DeveloperDeveloper35

          To create that, You need to open Qt command prompt,in that give windeployqt.exe.
          And copy .exe file alone in one folder,go to that folder and run windeployqt.exe --quick .

          D Offline
          D Offline
          DeveloperDeveloper35
          wrote on last edited by DeveloperDeveloper35
          #4

          @Sowjanya thats what I did and then I discovered, that windeployed genereates more files than I seem to need and I'm wondering why and if there is a way only to get the files that I really need. From 60 files I deleted 51 files that it copied to my folder and the application is still running.

          S 1 Reply Last reply
          0
          • D DeveloperDeveloper35

            @Sowjanya thats what I did and then I discovered, that windeployed genereates more files than I seem to need and I'm wondering why and if there is a way only to get the files that I really need. From 60 files I deleted 51 files that it copied to my folder and the application is still running.

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

            @DeveloperDeveloper35
            To run exe file alone in other computers requires dlls .

            jsulmJ 1 Reply Last reply
            0
            • S Sowjanya

              @DeveloperDeveloper35
              To run exe file alone in other computers requires dlls .

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

              @Sowjanya The question was: why does windeployqt add DLLs which are not required/used by the application...

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

              D 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Sowjanya The question was: why does windeployqt add DLLs which are not required/used by the application...

                D Offline
                D Offline
                DeveloperDeveloper35
                wrote on last edited by
                #7

                @jsulm Thank you yes thats what I want to know. I tried my reduced set of files on another computer and it runs fine, so I need 51 files not but why are they collected by the tool

                jsulmJ 1 Reply Last reply
                0
                • D DeveloperDeveloper35

                  @jsulm Thank you yes thats what I want to know. I tried my reduced set of files on another computer and it runs fine, so I need 51 files not but why are they collected by the tool

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

                  @DeveloperDeveloper35 I'm not sure. One possibility is that some of the DLLs your app is using use that one bearer DLL.

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

                  D 1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Hi,

                    The bearer plugin is used to manage the connectivity state.

                    More information here.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @DeveloperDeveloper35 I'm not sure. One possibility is that some of the DLLs your app is using use that one bearer DLL.

                      D Offline
                      D Offline
                      DeveloperDeveloper35
                      wrote on last edited by
                      #10

                      @jsulm But if this dll would be really used, then my software shouldn't work proper when I delete the dll. But it runs fine which indicates, that the dll is unused

                      jsulmJ 1 Reply Last reply
                      0
                      • D DeveloperDeveloper35

                        @jsulm But if this dll would be really used, then my software shouldn't work proper when I delete the dll. But it runs fine which indicates, that the dll is unused

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

                        @DeveloperDeveloper35 It depends. If a lib is loaded at runtime then your app can work without it as long as it is not used. This is how plug-ins work: the app is not linked at link time against the plug-ins, instead plug-ins are loaded at runtime dynamically.

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

                        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