0

I work with Qt in Ubuntu. I bought an iPad 2 yesterday and I don't know if I can compile C++/Qt on it. Is it possible?

fbrereto
  • 35,429
  • 19
  • 126
  • 178
fafa
  • 539
  • 2
  • 7
  • 8

3 Answers3

4

You don't. QT is not supported on iOS

To learn more about developing apps for iOS, see apple's dev site:

http://developer.apple.com/devcenter/ios/index.action

Brian Roach
  • 76,169
  • 12
  • 136
  • 161
2

There is a community project that allows to run a Qt app on iPhone using QtLighthouse. But the performance is terrible and it was created only to demonstrate QtLighthouse capabilities. The general answer is: No, its neither officially supported nor legal from Apple license perspective to run Qt app on an iPhone/iPad

Barbaris
  • 1,256
  • 7
  • 7
  • It's not legal? Could you elaborate? – Matt Phillips Apr 15 '11 at 04:47
  • Matt, I'm not an expert in this kind of questions (licensing on Apple platform) but apparently you can't redistribute your iPhone app through Apple App Store if the app is written in Qt. There is something with the API that doesn't allow you to do it – Barbaris Apr 15 '11 at 10:48
  • Wow that is lame. Ok, hello Smartphone/Android. Thanks-- – Matt Phillips Apr 15 '11 at 14:42
1

You can run Objective-C++ applications on the iPad 2. Specifically you'll need some Objective-C boilerplate for the application's essentials but you are free to use C++ in your own code.

As others have stated, Qt development is not supported on iOS.

fbrereto
  • 35,429
  • 19
  • 126
  • 178