[Qt-interest] How to make .exe file in Windows
André Somers
andre at familiesomers.nl
Sun Nov 1 20:41:10 CET 2009
Ah... OK.
So you *have* the exe already, the problem is just that it doesn't run on
your target system.
You have two options:
1) Distribute the Qt runtime libraries (.dll's) you need together with your
application.
2) Compile your application against a static build of Qt, and link in the
libraries you need. This will give you one (big) .exe.
1 is by far the easiest. If you want 2), search the list archives with the
word "static".
Good luck,
André
-----Oorspronkelijk bericht-----
Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens varun singh
Verzonden: zondag 1 november 2009 13:47
Aan: qt-interest at trolltech.com
Onderwerp: [Qt-interest] How to make .exe file in Windows
hi,
I think I didn't state my problem clearly. I'm using Windows XP and I've Qt
Creator 1.1.1 based on Qt 4.5.1 installed and running on my PC.
I've made a simple game using Qt Creator. Now I want to make an executable
file (.exe) of it. How to do that? I think Ctrl+B or Ctrl+R only compiles
the code for debugging and not for running it independently (without Qt).
And sorry for the blank mail sent by mistake.
-Varun
Now, send attachments up to 25MB with Yahoo! India Mail. Learn how.
http://in.overview.mail.yahoo.com/photos
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list