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. Deployment error on Windows

Deployment error on Windows

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 1.5k 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.
  • S Offline
    S Offline
    seprim
    wrote on last edited by
    #1

    Hello
    I've tried to deploy my first QT Program an this didn't work.
    Ich have tried the methode from the Guide link text but this doesn't work for me.
    0_1531993294179_screenshotDeploymentfolder.png
    The error message i get is "Program can not be started, because QT5Core.dll is not installed on the computer. Please install the Program." or like this, because the error message is on german.
    Could anybody help me with this Problem?
    Thanks a lot
    seprim

    1 Reply Last reply
    0
    • S Offline
      S Offline
      seprim
      wrote on last edited by
      #7

      Hello
      I have solved the problem.
      it was not a problem with the windeployqt.exe but with the compiler. i used mingw and it caused a problem. after I switched to mvsc everything works.

      mrjjM 1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #2

        Hi and welcome to the forums
        Im a little bit unsure how your folder layouts actually looks
        http://www.tripleboot.org/?p=138
        is the subfolders directly next to .exe ?
        alt text

        1 Reply Last reply
        1
        • S Offline
          S Offline
          seprim
          wrote on last edited by
          #3

          0_1531993706598_screenshotDeploymentfolder.png
          This was only the sorting of Windows Explorer

          mrjjM J.HilkJ 2 Replies Last reply
          0
          • S seprim

            0_1531993706598_screenshotDeploymentfolder.png
            This was only the sorting of Windows Explorer

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

            @seprim
            ok.
            it seems to be there. i wonder if its the right version ?
            and you copied the DLLS from the compiler folder ?
            same compiler used to build exe ?

            1 Reply Last reply
            0
            • S seprim

              0_1531993706598_screenshotDeploymentfolder.png
              This was only the sorting of Windows Explorer

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #5

              hi @seprim
              that wiki article is not the best to follow for deploying your application.

              I'll suggest the follwing, as you're on windows, use the windeployqt - tool it is easy to use, and in 90% off all cases does not need additional manuel intervention.

              You'll finde the windeployqt.exe in your Qt-Installation folder. Beware, you may have more than 1 version of it, you need to use the one accompanying the Qt version you used to compile your application.


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              3
              • S Offline
                S Offline
                seprim
                wrote on last edited by
                #6

                I've tried to use the windeploy tool, but with this the application says on an computer where qt isn't installed "QT5Core.dll is missing".

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  seprim
                  wrote on last edited by
                  #7

                  Hello
                  I have solved the problem.
                  it was not a problem with the windeployqt.exe but with the compiler. i used mingw and it caused a problem. after I switched to mvsc everything works.

                  mrjjM 1 Reply Last reply
                  2
                  • S seprim

                    Hello
                    I have solved the problem.
                    it was not a problem with the windeployqt.exe but with the compiler. i used mingw and it caused a problem. after I switched to mvsc everything works.

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

                    @seprim
                    ok, can it be you compiled the APP with msvc ?
                    (and windepoly took from mingw ?)

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      seprim
                      wrote on last edited by
                      #9

                      No, the problem was (in my opinion) that Windows didn't want to work with MinGW.
                      After I switched to MSVC everything works without problems.
                      Thank you for your help.
                      (can someone give me a reputation so I can respond more quickly?)

                      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