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. Windeployqt application running just in the background.(Shows only in task manager)
QtWS25 Last Chance

Windeployqt application running just in the background.(Shows only in task manager)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
windeployqtvs2017
8 Posts 2 Posters 990 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.
  • J Offline
    J Offline
    Janani
    wrote on 27 May 2021, 21:38 last edited by Janani
    #1

    Re: Deployment Problems Again

    I tried deploy a windows application using windeployqt. I used the qmldir switch along with it and it copying all the dependencies to the exe directory and it is working perfectly fine in my system but the application is not loading in another pc. It does not show any errors for it and it has redistributables(2015,2017) installed too and yet the application is not at all loading. Iam pretty sure that all the qt platform plugins and other dll's are also installed but still tough luck the application doesnt work in a different pc. Can someone help me as to what could be the issue. It is a very urgent project that needs to be completed before this weekend. Please help.

    eddffd05-356c-4eb7-ab55-7aa129753b00-image.png

    1ae1fa6d-2664-4e4f-9038-fe88e23cceb2-image.png

    80cba9a1-1b02-4455-84f8-6ad073baeb88-image.png

    J 1 Reply Last reply 28 May 2021, 06:51
    0
    • J Janani
      27 May 2021, 21:38

      Re: Deployment Problems Again

      I tried deploy a windows application using windeployqt. I used the qmldir switch along with it and it copying all the dependencies to the exe directory and it is working perfectly fine in my system but the application is not loading in another pc. It does not show any errors for it and it has redistributables(2015,2017) installed too and yet the application is not at all loading. Iam pretty sure that all the qt platform plugins and other dll's are also installed but still tough luck the application doesnt work in a different pc. Can someone help me as to what could be the issue. It is a very urgent project that needs to be completed before this weekend. Please help.

      eddffd05-356c-4eb7-ab55-7aa129753b00-image.png

      1ae1fa6d-2664-4e4f-9038-fe88e23cceb2-image.png

      80cba9a1-1b02-4455-84f8-6ad073baeb88-image.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 May 2021, 06:51 last edited by
      #2

      @Janani If you start the deployed application on another PC from a terminal - do you see any warnings/errors? Also, you can use https://www.dependencywalker.com/ to check what is missing.

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

      J 1 Reply Last reply 28 May 2021, 06:54
      0
      • J jsulm
        28 May 2021, 06:51

        @Janani If you start the deployed application on another PC from a terminal - do you see any warnings/errors? Also, you can use https://www.dependencywalker.com/ to check what is missing.

        J Offline
        J Offline
        Janani
        wrote on 28 May 2021, 06:54 last edited by
        #3

        @jsulm No I dont see any errors, that is the issue.

        J 1 Reply Last reply 28 May 2021, 06:55
        0
        • J Janani
          28 May 2021, 06:54

          @jsulm No I dont see any errors, that is the issue.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 28 May 2021, 06:55 last edited by
          #4

          @Janani Then use Dependency Walker on the machine where the app does not work.

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

          J 1 Reply Last reply 28 May 2021, 07:05
          0
          • J jsulm
            28 May 2021, 06:55

            @Janani Then use Dependency Walker on the machine where the app does not work.

            J Offline
            J Offline
            Janani
            wrote on 28 May 2021, 07:05 last edited by
            #5

            @jsulm I tried the dependency walker to check where have I gone wrong but again it showed on api-win*.dll's missing, most of the forums tells me to ignore those dependencies. I downloaded the redistributables also but in vain. I dont know why is this happening. Sitting in this issue for more than a week now.

            J 1 Reply Last reply 28 May 2021, 07:07
            0
            • J Janani
              28 May 2021, 07:05

              @jsulm I tried the dependency walker to check where have I gone wrong but again it showed on api-win*.dll's missing, most of the forums tells me to ignore those dependencies. I downloaded the redistributables also but in vain. I dont know why is this happening. Sitting in this issue for more than a week now.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 28 May 2021, 07:07 last edited by
              #6

              @Janani Did you also try to disable anti-virus software?

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

              J 1 Reply Last reply 28 May 2021, 07:24
              0
              • J jsulm
                28 May 2021, 07:07

                @Janani Did you also try to disable anti-virus software?

                J Offline
                J Offline
                Janani
                wrote on 28 May 2021, 07:24 last edited by
                #7

                @jsulm I tried that also, no use. I have this doubt, using windeployqt did not actually install msvcp140.dll and vcruntime140.dll automatically. I added them manually and deployed it in a different pc and checked it still did not work. I have no clue on why is this happening. Its difficult to debug without any errors also.

                J 1 Reply Last reply 28 May 2021, 07:32
                0
                • J Janani
                  28 May 2021, 07:24

                  @jsulm I tried that also, no use. I have this doubt, using windeployqt did not actually install msvcp140.dll and vcruntime140.dll automatically. I added them manually and deployed it in a different pc and checked it still did not work. I have no clue on why is this happening. Its difficult to debug without any errors also.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 28 May 2021, 07:32 last edited by
                  #8

                  @Janani I would also check the Windows event log - maybe you find some hints there?

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

                  1 Reply Last reply
                  0

                  8/8

                  28 May 2021, 07:32

                  • Login

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