News for hackers. Stuff that matters.
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @04:00PM (#7600205)
Has anyone used the new Qt to create Android and iOS apps? What has been your experience like?

What does this llvm support mean?

Re:Qt Creator 3.1.0 released by turrini on Wednesday April 16, 2014 @04:17PM (#7600284)
Yes, I'm using Qt both on Android and iOS. Both work without glitches or quirks.

The same application I compile for Linux, Windows, OSX and Mobile Devices (only tablets, for big enterprise stuff) without significative changes on code (only a couple of #ifdefs for fullscreen and alike).

Re:Qt Creator 3.1.0 released by panzi on Wednesday April 16, 2014 @05:24PM (#7600626)
Did you try (native) sailfish?
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @05:09PM (#7600549)
This is exciting to hear!

Did you use one codebase to write the application?

Do you need Mac OSX to compile for iOS or run emulator?

Did you use C++ or is there a workaround to it?

Basically I'm hoping that new Qt can replace Intel XDK, RoboVM, Xamarin. However, the biggest hurdle is developing for iOS on a non-Mac machine.

Re:Qt Creator 3.1.0 released by turrini on Wednesday April 16, 2014 @05:20PM (#7600601)
> This is exciting to hear!

Thanks!

> Did you use one codebase to write the application?

Yes, only one codebase

> Do you need Mac OSX to compile for iOS or run emulator?

Unfortunately yes. I hope that in the future Apple will allow some sort of cross-compiling.

> Did you use C++ or is there a workaround to it?

Only C++ and Qt Widgets (no QML yet)

> Basically I'm hoping that new Qt can replace Intel XDK, RoboVM, Xamarin. However, the biggest hurdle is developing for iOS on a non-Mac machine.

It can replace (at least for my needs), but you will always need a Mac OSX to compile for iOS as far as I know (because of XCode dependency and licensing stuff)

Re:Qt Creator 3.1.0 released by rat87 on Wednesday April 16, 2014 @06:10PM (#7600840)
Unreal Development Kit can deploy from windows to ios without buying a mac. I'm not sure if they made a deal with apple or if its possible without their approval.
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @08:05PM (#7601315)
that would be very interesting to see. I'd subscribe to their monthly plan just for this.
Re:Qt Creator 3.1.0 released by blub on Thursday April 17, 2014 @04:07AM (#7602477)
How do you handle the iOS theme? When I tried 5.2 it looked like Linux widgets ported straight to iOS.
Re:Qt Creator 3.1.0 released by turrini on Thursday April 17, 2014 @08:26AM (#7603139)
Hi,

I use Qt StyleSheet extensively (globally) to mimick iOS lines & colors. Isn't hard, in fact, it is very easy to do.

Re:Qt Creator 3.1.0 released by zanny on Wednesday April 16, 2014 @06:04PM (#7600819)
> Did you use C++ or is there a workaround to it?

I've been having fun writing apps in strict QML, intentionally. About every weekend I just take a traditional app use case and try writing it from scratch.

And surprisingly, the shortcoming is always documentation shortfalls. It took me digging through code samples to find out activeFocusItem is a thing, for example.

Just note you can't deploy QML only apps to mobile, you need a system with qmlscene installed already, but it is trivial to have a small C++ layer, and removing the JS only restriction gives you a huge amount more power over QML itself (building your own components in C++ vs combining them in JS).