Re: cross platform basics
Quote:
Originally Posted by
tommy
1. I know Qt code is cross platform. Are there any modifications in the code you have to make to compile for other platforms?
No.
Quote:
(Apart from the obvious, like "never use right mouse button on Mac").
Why not? What if I attach a 12 button mouse to a Mac? :)
Quote:
2. Do I really have to aquire a separate computer for each type of compilation?
In theory no.
Quote:
Can my windows machine compile for other platforms?
In theory yes.
Quote:
If yes, what needs to be done? My plan is to compile all of them statically.
Google for "crosscompiling".
Quote:
3. Is there anything Mac-, Unix-, Linux-specific about Qt4.3.3 that I should be aware of? Any pitfalls that you guys are aware of?
Not really. Just forget your Windows habits and let Qt worry about details.
Quote:
4. Windows version of Qt uses MingW. What about the other platforms?
Actually you can use various compilers. For Windows the two most frequently used are MSVC and MinGW, for other platforms GCC has a dominant position.
http://doc.trolltech.com/4.3/compiler-notes.html