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.
  • P ProgrammerAtHeart3344

    @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.

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by mrjj
    #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 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 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.

        mrjjM 1 Reply Last reply
        0
        • P ProgrammerAtHeart3344

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

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

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on 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
          0
          • P Offline
            P Offline
            ProgrammerAtHeart3344
            wrote on last edited by
            #8

            I'll try to use windeploy.

            mrjjM 1 Reply Last reply
            0
            • P ProgrammerAtHeart3344

              I'll try to use windeploy.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #9

              @ProgrammerAtHeart3344
              Good plan. it should help :)

              1 Reply Last reply
              0
              • mrjjM mrjj

                @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 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.

                mrjjM 1 Reply Last reply
                0
                • P ProgrammerAtHeart3344

                  @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.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #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
                  0
                  • mrjjM mrjj

                    @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 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
                    • mrjjM mrjj

                      @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 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

                      • Login

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