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. Application not running on other people's PCs.
Forum Updated to NodeBB v4.3 + New Features

Application not running on other people's PCs.

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 2 Posters 2.4k 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.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 5 Jul 2016, 06:14 last edited by
    #2

    Hi
    If this is not a static build, did you give them a
    zip file with deploy dlls and the exe file?
    A debug version is just bigger but should work fine.

    P 1 Reply Last reply 5 Jul 2016, 06:18
    0
    • M mrjj
      5 Jul 2016, 06:14

      Hi
      If this is not a static build, did you give them a
      zip file with deploy dlls and the exe file?
      A debug version is just bigger but should work fine.

      P Offline
      P Offline
      ProgrammerAtHeart3344
      wrote on 5 Jul 2016, 06:18 last edited by
      #3

      @mrjj I didn't know about deploy dlls yet. I found how to do it but for now I'll use debug DLLs for now since it's not that big of a deal. This was just an application as a joke. However, I'll hold on to it for the future.

      M 1 Reply Last reply 5 Jul 2016, 06:21
      0
      • P ProgrammerAtHeart3344
        5 Jul 2016, 06:18

        @mrjj I didn't know about deploy dlls yet. I found how to do it but for now I'll use debug DLLs for now since it's not that big of a deal. This was just an application as a joke. However, I'll hold on to it for the future.

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 5 Jul 2016, 06:21 last edited by mrjj 7 May 2016, 06:22
        #4

        @ProgrammerAtHeart3344
        Hi, you need the such folder with Qt DLLs for the app to work. :)
        (no matter debug or release . DO NOT MIX)

        this is my fav for the info.
        note , it depends on compiler used:
        http://www.tripleboot.org/?p=138

        there is also tools
        http://doc.qt.io/qt-5/windows-deployment.html

        1 Reply Last reply
        0
        • P Offline
          P Offline
          ProgrammerAtHeart3344
          wrote on 5 Jul 2016, 06:30 last edited by
          #5

          So I copied msvcp120d.dll from the windows folder to the debug folder of the application and he got this error: app was unable to start correctly (0xc000007b). click ok to close the app.
          Does he need to install microsoft run time for this to work?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            ProgrammerAtHeart3344
            wrote on 5 Jul 2016, 06:32 last edited by
            #6

            (http://puu.sh/pQOvy/dcf2842d9d.png)

            This is what's in the folder. As you can see, I'm using debug DLLs.

            M 1 Reply Last reply 5 Jul 2016, 06:39
            0
            • P ProgrammerAtHeart3344
              5 Jul 2016, 06:32

              (http://puu.sh/pQOvy/dcf2842d9d.png)

              This is what's in the folder. As you can see, I'm using debug DLLs.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 5 Jul 2016, 06:39 last edited by
              #7

              @ProgrammerAtHeart3344
              yep.
              But you do not have the sub folder platforms with a dll?
              Correct?
              That is normally needed.

              P 1 Reply Last reply 5 Jul 2016, 06:53
              0
              • P Offline
                P Offline
                ProgrammerAtHeart3344
                wrote on 5 Jul 2016, 06:47 last edited by
                #8

                I'll try to use windeploy.

                M 1 Reply Last reply 5 Jul 2016, 06:52
                0
                • P ProgrammerAtHeart3344
                  5 Jul 2016, 06:47

                  I'll try to use windeploy.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 5 Jul 2016, 06:52 last edited by
                  #9

                  @ProgrammerAtHeart3344
                  Good plan. it should help :)

                  1 Reply Last reply
                  0
                  • M mrjj
                    5 Jul 2016, 06:39

                    @ProgrammerAtHeart3344
                    yep.
                    But you do not have the sub folder platforms with a dll?
                    Correct?
                    That is normally needed.

                    P Offline
                    P Offline
                    ProgrammerAtHeart3344
                    wrote on 5 Jul 2016, 06:53 last edited by
                    #10

                    @mrjj Oh I should mention I am using visual studio 2013, I'm not using Qt Creator. I'm not sure if that information was relevant.

                    M 1 Reply Last reply 5 Jul 2016, 06:55
                    0
                    • P ProgrammerAtHeart3344
                      5 Jul 2016, 06:53

                      @mrjj Oh I should mention I am using visual studio 2013, I'm not using Qt Creator. I'm not sure if that information was relevant.

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 5 Jul 2016, 06:55 last edited by mrjj 7 May 2016, 06:55
                      #11

                      @ProgrammerAtHeart3344
                      well Creator is just an IDE, but knowing if u use mingw or VS is helpful as
                      you need some VS runtime dlls too.

                      And just to be sure. Do not ever mix debug and non debug in same folder :)
                      I know u know, but just have to say it :)

                      P 2 Replies Last reply 5 Jul 2016, 07:03
                      0
                      • M mrjj
                        5 Jul 2016, 06:55

                        @ProgrammerAtHeart3344
                        well Creator is just an IDE, but knowing if u use mingw or VS is helpful as
                        you need some VS runtime dlls too.

                        And just to be sure. Do not ever mix debug and non debug in same folder :)
                        I know u know, but just have to say it :)

                        P Offline
                        P Offline
                        ProgrammerAtHeart3344
                        wrote on 5 Jul 2016, 07:03 last edited by
                        #12

                        @mrjj Well, windeployqt was super easy to use... and here I was making it harder than it needed to be...

                        1 Reply Last reply
                        0
                        • M mrjj
                          5 Jul 2016, 06:55

                          @ProgrammerAtHeart3344
                          well Creator is just an IDE, but knowing if u use mingw or VS is helpful as
                          you need some VS runtime dlls too.

                          And just to be sure. Do not ever mix debug and non debug in same folder :)
                          I know u know, but just have to say it :)

                          P Offline
                          P Offline
                          ProgrammerAtHeart3344
                          wrote on 5 Jul 2016, 07:21 last edited by
                          #13

                          @mrjj My friend said he is missing MSVCP120D.dll what should I include in the folder, vcredist_x86.exe or just the DLL itself?

                          1 Reply Last reply
                          0

                          11/13

                          5 Jul 2016, 06:55

                          • Login

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