PDA

View Full Version : Question: Develop Application with Qt Creator on PC to target Mac OSX



Taurian
4th March 2014, 22:00
Hello,

I was wondering if it was possible to develop an application that targets PC and Mac on a PC with Qt.

If this is possible, do I need to somehow export the Qt project and load it on a Mac and compile? Or is this something that's only possible with Qt Enterprise?

Thanks,

T

ChrisW67
5th March 2014, 00:53
Qt's tag line is "Write once, compile everywhere." You can move the source to another supported platform and expect it to compile with only minor adaptations between platforms.

There is some support for cross-compilation and I know building on Linux/Mac targeting Windows is possible. I have never heard of Windows targeting Mac, probably because of technical issues or having to violate Apple OS X licensing to do it (by copying OS X libraries etc. onto the Windows box to link against).