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. [solved] Need help running my .exe and deploying app--MinGW 4.8 32 bit
Forum Updated to NodeBB v4.3 + New Features

[solved] Need help running my .exe and deploying app--MinGW 4.8 32 bit

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 1.6k 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.
  • B Offline
    B Offline
    BasicPoke
    wrote on 7 Aug 2014, 14:39 last edited by
    #1

    Hello, First my goal we to get my app running on another Windows 7 PC, but then I discovered that the .exe will not even run on the PC where I do the development, so I need help with both of these issues. Here is what I have:

    Windows 7 Enterprise
    Qt Creator 3.0.1
    "Based on Qt 5.2.1 (MSVC 2010, 32 bit)"

    From my kit:
    Compiler: MinGW 4.8 32 bit
    Qt version: Qt 5.2.1 MinGW 32bit

    I am using Qt Creator, not Visual Studio. When I try to start the .exe, I get "The program can't start because Qt5Core.dll is missing from your computer..." I have searched and found many answers, but don't know which applies to me. Please help. For now I will start copying the dll's it complains about into my .exe folder.
    Thanks
    Ron

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Aug 2014, 15:05 last edited by
      #2

      Hi,

      Have a look this "wiki entry":http://qt-project.org/wiki/Deploy_an_Application_on_Windows for deployment.

      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
      • B Offline
        B Offline
        BasicPoke
        wrote on 7 Aug 2014, 15:12 last edited by
        #3

        Thanks SGaist, I hadn't found that page. I got it working just by copying the DLL's that it complained about from the Qt installation into my release folder, was only 9 of them. I suppose with the Digia-licensed version, you can build an exe with no dependencies, is that how it works?

        Thanks again.
        Ron

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Aug 2014, 19:50 last edited by
          #4

          It depends on what you mean by dependencies (only Qt ?), but you can build a static version of Qt and also your application as static.

          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
          • B Offline
            B Offline
            BasicPoke
            wrote on 7 Aug 2014, 20:30 last edited by
            #5

            You mean only with the fully-licensed version, right? Not with LGPL.

            I just mean dependencies on the Qt libraries. I'm not using any other DLL's or anything. By static binding, does this mean a stand-alone EXE?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Aug 2014, 22:12 last edited by
              #6

              I am not a lawyer so for licensing issues you should either contact one or talk with Digia directly.

              Yes, you'll only have a dependency on VS runtime but it's normal and it's better to keep it so.

              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

              1/6

              7 Aug 2014, 14:39

              • Login

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