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 on Windows 7

Deployment on Windows 7

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 6 Posters 3.9k 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.
  • B Offline
    B Offline
    BonRouge
    wrote on last edited by
    #1

    Hi. All my searching for answers is getting me nowhere, so I hope you can help.

    I've made a simple application and now I want to stick all the necessary bits in an .exe file. That's normal, isn't it?

    This seems like the obvious place to go: http://doc.qt.nokia.com/4.4/deployment-windows.html

    Now, it says, "cd C:\path\to\qt".

    Mine looks like this: C:\QtSDK
    After I go there, there are many different directories. I'm not sure what the path should be. I looked for a file called 'configure' or 'configure.exe' but I couldn't find one.

    Erm... any pointers would be appreciated.

    Thanks a lot.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Welcome to the forum

      How did you get the SDK to your machine?
      If you have installed the SDK it is already everything done. If you have copied from someone, you need to install it properly. "Best go to":http://qt.nokia.com/downloads were you have the choices.

      You may install the SDK. It propably comes with the qt creator already included.

      I typically download the Qt lib source and do a compilation. There you would need to do a configure.

      so, have you done a proper installation?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        See "Deploying an Application on Windows":http://doc.qt.nokia.com/latest/deployment-windows.html.

        You have basically two options:

        • Link your application statically: requires you to build static versions of all your dependencies, including Qt and the C++ runtime; usually requires you to buy a commercial Qt license
        • Link your application dynamically: requires you to deploy dependencies along with your application (various threads on how to do this), usually using an "installer":http://developer.qt.nokia.com/wiki/BuildingQtInstallers; usually does not require you to buy a commercial Qt license
        1 Reply Last reply
        0
        • G Offline
          G Offline
          gedd
          wrote on last edited by
          #4

          How have you made a simple application ? (IDE or not , compiler)
          which version of Qt is used ? (your link is about 4.4)
          Give us detail for better help

          Gedd

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thisisbhaskar
            wrote on last edited by
            #5

            In your case if you are planning to deploy for Windows, the path will be.
            C:\QtSDK1.1.2\Desktop\Qt\4.7.3

            You don't have configure or configure.exe as Qt is already built for your ( and no source is distributed to you) and you can not build it again.

            Choose mingw or msvc2008 depending up on how you are building your application.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              BonRouge
              wrote on last edited by
              #6

              Thanks for the responses.

              I tried to run the application and it said a certain .dll was missing, so I found it and put that in the 'release' folder. Then there were two more like that. When I had those three, it worked.

              I can do that again in future, but I thought there must be a more simple way.

              1 Reply Last reply
              0
              • U Offline
                U Offline
                ucomesdag
                wrote on last edited by
                #7

                [quote author="BonRouge" date="1313193841"]Thanks for the responses.

                I tried to run the application and it said a certain .dll was missing, so I found it and put that in the 'release' folder. Then there were two more like that. When I had those three, it worked.

                I can do that again in future, but I thought there must be a more simple way.

                [/quote]
                That't the normal way to do it, when you link dynamically you have to ship your .exe with the qt and mingw dll's it depends on. To have just one .exe you will have to build it statically, but you probably also need to acquire a commercial license.

                Write “Qt”, not “QT” (QuickTime).

                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