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. Deploying Qt Application
Forum Updated to NodeBB v4.3 + New Features

Deploying Qt Application

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 6 Posters 5.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.
  • K Offline
    K Offline
    khalidmushtaq65
    wrote on last edited by
    #1

    Hi,

    I hope all of you will be fine.

    I am current facing an issue. I am using Qt SDK 1.1 on Fedora 14. I want to deploy my application for windows.
    Please tell me the way to do it.

    Regards,
    Khalid Mushtaq

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      If you want to deploy (and compile) for windows, you should build on windows.
      It would make it much easier. I'm not sure, whther cross compiling for windows works (and if it's possible i fit works well).

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        khalidmushtaq65
        wrote on last edited by
        #3

        Can you please tell me how to cross-compile for windows using Fedora 14 or any other Linux Distribution?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #4

          You could ask google:

          http://www.google.com/search?q=cross+compile+for+windows+on+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official

          use the second post or look for more results

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mabrand
            wrote on last edited by
            #5

            The "MinGW Cross Compiling Environment":http://mingw-cross-env.nongnu.org/ might be a good solution for you. It comes ready to cross-build Qt applications. It does static linking, which might simplify your deployment.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              khalidmushtaq65
              wrote on last edited by
              #6

              Thanks for the answer:-)

              Now I am going on track..

              Regards,
              Khalid Mushtaq

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #7

                And don't forget to read

                • "Deploying Qt Applications":http://doc.qt.nokia.com/4.7/deployment.html
                • "Deploying an Application on Windows":http://doc.qt.nokia.com/4.7/deployment-windows.html

                of the Qt docs.

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  khalidmushtaq65
                  wrote on last edited by
                  #8

                  Thanks Volker:-)

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    zeFree
                    wrote on last edited by
                    #9

                    Hello Guys,

                    @Khalid,
                    I know this is kinda late to answer exactly one year after the last post, still I'd like to share with you that I do similar thing regularly.

                    I develop, build and run the Qt code on my Ubuntu Linux. When results are satisfactory I compile the code for Windows using the Qt (for Windows) which I've installed on Ubuntu using Wine.

                    I have to admit that it's very slow using Qt on wine - that's why I do all the stuff on Linux version and when all's fine, set and tested, I do a build on Qt on Wine.
                    Till now, I've been doing this for Windows, but haven't found any such way for Mac. Please share if any of you know a similar or better way of doing such (cross-compiling stuff) things.

                    I hope this information is useful to you and others.


                    Also you all might wanna go thru these links:

                    1. http://en.wikibooks.org/wiki/Windows_Programming/Programming_Windows_with_OSS_Tools#MinGW
                    2. http://www.mingw.org/wiki/LinuxCrossMinGW
                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tobias.hunger
                      wrote on last edited by
                      #10

                      I did enable mingw on Linux last week in Qt Creator (master), that might help a bit with your cross-compiling.

                      I did limited testing only though: I was able to build a small hello-world application as a PE32 application for windows, but I did not try for a full Qt app.

                      Please report your findings:-)

                      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