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. Pb xecuting on windows (seven or xp) built on 5.1
Forum Updated to NodeBB v4.3 + New Features

Pb xecuting on windows (seven or xp) built on 5.1

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 1.8k 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.
  • D Offline
    D Offline
    dmcr
    wrote on last edited by
    #1

    Hello,

    I build a project with a simple windows shown with 5.1 using msvc 2010.
    i run the vcredist_sp1.
    However when i try to install and run on another machine where Qt is not installed, it does not work.
    (i put all the .dll which are in the C:\Qt\Qt5.1.0\5.1.0\msvc2010\bin folder in the same folder than the .exe. )
    It may be one dll that i forget....
    Does someone have a clue ?

    dmcr

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Well, it actually should pop up a dialog that tells you what dll is missing.

      There is the tool "dpendencywalker":http://www.dependencywalker.com/ that can give you some insight into missing dlls.

      Google with "deploy qt applications" brings up a ton of helpful places. I found "this":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html and "this":https://lemirep.wordpress.com/2013/06/01/deploying-qt-applications-on-linux-and-windows-3/

      Not exacly all the dlls in the "bin" folder are required for your application. You are probably missing the "plugins". But a better way to approach this is to use a "qt.conf file as described here.":https://qt-project.org/doc/qt-5.0/qtdoc/qt-conf.html

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

        Hi,

        Did you read the "deployment documentation":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html ?

        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
        0
        • D Offline
          D Offline
          dmcr
          wrote on last edited by
          #4

          thank you for your answers, i didn't get the point thought.
          I've also never built any staticall Qt since i use the given installer.

          dmcr

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

            The deployment guide explains where to put what dependencies of your application (thinking of the platform plugin and the others)

            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
            0

            • Login

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