Compiling qt4 apps for non-qt4 linux, win, mac
Hi all,
I have written a small qt4 game. I have currently got it working on Linux (with qt4 dev packages installed) I want to compile it to work on linux without the qt4 libs installed, and for mac and windows machines. How would I go about this? I have heard bits and peices about static linked libraries, and so forth, but don't really understand it. Thanks for any help, Rhys |
Use the '-static' flag. I've never done it myself, so post back the results.
|
I'm sorry, is that qmake -static, or make -static?
Rhys |
add -static to the compiler flags in the makefile, for example:
CCFLAGS += -static |
Thanks for that, I'll give it a go and post back the results.
|
All times are GMT -5. The time now is 03:05 AM. |