Search code examples
windowsqtdeploying

Deploy Qt project to Windows From Mac OSX


I am working on MAC OSX Snow Leopard and I want to deploy my project onto Windows

It is a Qt Desktop app

  1. How do I generate the .exe file (+other dependencies if any)
  2. Any method to package all the .exe + dlls into one package for installation

Note: I would rather not install Qt SDK on windows and copy the project files to it and then build it.

Need solution for 1 and better if you answer 1 & 2 questions


Solution

  • Ok after few days of searching and tweaking i compiled a solution for my problem and written in most concise form for my fellow friends who are stuck in similar situation , visit Here

    You would need

    1. mingw-get-inst
    2. Qt libraries 4.8.2 for Windows (or Higher Version)
    3. Your .proj file (Associated .ui, .cpp, .h etc)

    and its a two stage procedure , initially you need to download and install above listed 1 and 2 and setup the required environment and then make and build on the targeted windows system