Deploying Qt Application
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.
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).
Can you please tell me how to cross-compile for windows using Fedora 14 or any other Linux Distribution?
You could ask google:
use the second post or look for more results
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.
Thanks for the answer:-)
Now I am going on track..
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.
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:
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:-)