Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Deployment on Windows 7

    Installation and Deployment
    6
    7
    3423
    Loading More Posts
    • 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
      BonRouge last edited by

      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 Reply Quote 0
      • K
        koahnig last edited by

        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 Reply Quote 0
        • L
          lgeyer last edited by

          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 Reply Quote 0
          • G
            gedd last edited by

            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 Reply Quote 0
            • T
              thisisbhaskar last edited by

              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 Reply Quote 0
              • B
                BonRouge last edited by

                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 Reply Quote 0
                • U
                  ucomesdag last edited by

                  [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 Reply Quote 0
                  • First post
                    Last post