PDA

View Full Version : Cross-Compiling Question / Sanity Check



igor
20th November 2008, 21:31
:confused:
On the huge assumption that I can get MinGW running properly on my Mac, would I then need a Mac compiled Qt and a MinGW compiled Qt ?

As I would be using two different compilers, I suspect the answer to be yes.
:p

Thanks

ktk
2nd December 2008, 21:28
:confused:
On the huge assumption that I can get MinGW running properly on my Mac, would I then need a Mac compiled Qt and a MinGW compiled Qt ?

As I would be using two different compilers, I suspect the answer to be yes.
:p

Thanks

MinGW is just an incarnation of gcc running on Windows and targeting "native" Windows. It won't run on Mac.

There is, however, gcc on Mac, targeting Mac. It might be possible to set up a gcc cross compiler Mac -> Windows, but I have not heard of it. What "kind of Qt" you need depends on the trargeted platform.

igor
3rd December 2008, 00:28
MinGW is just an incarnation of gcc running on Windows and targeting "native" Windows. It won't run on Mac.

There is, however, gcc on Mac, targeting Mac. It might be possible to set up a gcc cross compiler Mac -> Windows, but I have not heard of it. What "kind of Qt" you need depends on the trargeted platform.

:rolleyes:
I do not want to RUN it on a Mac, I want to BUILD it on a Mac to run on a PC
:eek: