Develop application fully Qt coded for iPhone,iPad,iPod.
-
bq. A bit late to the discussion…
very interesting information, can be seen that the development proceeds in that direction.
I have an application made using Qt that I need to port to iPhone, Android,Blackberry
I do not understand yet how the Lighthouse could be used, how it works, internals.
I do not understand yet how to modify Qt to compile it's code for all of existing platforms, but I think it could be done - it needs effort from financial managers I think...
If you need me to help with Lighthouse, Necessitas - you can contact me pmazniker@gmail.com my help will be downloading, installing tools, looking at the internals, thinking, communications. But there are high probability that I will require money for help , because now I have no job to earn some. -
[quote author="Pavel Mazniker" date="1305315026"]I do not understand yet how the Lighthouse could be used, how it works, internals.
...
I do not understand yet how to modify Qt to compile it's code for all of existing platforms
...
there are high probability that I will require money for help , because now I have no job to earn some.[/quote]You can find out about Lighthouse here: http://labs.qt.nokia.com/category/labs/lighthouse/page/2/
I don't think you'll be able to help much (and I'm pretty sure noone's going to pay you) without a very good understanding of what it takes to build Qt and port it to another platform. So you're probably best off helping yourself: The current Lighthouse distributions have Nokia's proof-of-concept iOS plugin, so start with that. If it doesn't do what you need, you can start adding to it...
There's also a port of Lighthouse to Android, but I'm not aware of one for Blackberry.
-
bq. You can find out about Lighthouse here: http://labs.qt.nokia.com/category/labs/lighthouse/page/2/
I don’t think you’ll be able to help much (and I’m pretty sure noone’s going to pay you) without a very good understanding of what it takes to build Qt and port it to another platform. So you’re probably best off helping yourself: The current Lighthouse distributions have Nokia’s proof-of-concept iOS plugin, so start with that. If it doesn’t do what you need, you can start adding to it…
There’s also a port of Lighthouse to Android, but I’m not aware of one for Blackberry.I've begun to read what is posted about lighthouse.
http://developer.qt.nokia.com/wiki/Getting_Started_With_Lighthouse
I've downloaded from git the project "tree" and built.
lighthouse/src/plugins/platforms/minimal contains different plugins ( also cocoa plugin , iOS).
I work "under" Ubuntu 64 bit. How can I create package ( .apk ) for deploying to Android and also packages deployable to iOS from existing qt project ( .pro file and sources )?What command ( or sequence of commands from toolchain ) to execute ? to create the package? How to use the toolchain?What toolchain within the lighthouse? How plugins interacts with toolchain?Thank you.
-
if it is interesting for you there is some discussion:
"Blackberry for C/C++":http://developer.qt.nokia.com/forums/viewthread/4719/
-
[quote author="Pavel Mazniker" date="1305385461"]
I work "under" Ubuntu 64 bit. How can I create package ( .apk ) for deploying to Android and also packages deployable to iOS from existing qt project ( .pro file and sources )?What command ( or sequence of commands from toolchain ) to execute ? to create the package? How to use the toolchain?What toolchain within the lighthouse? How plugins interacts with toolchain?
[/quote]You won't be able to build or deploy iOS apps from anything other than Mac OSX. The Nokia proof-of-concept plugin is called 'UIKit'. There's a README and an example project in the plugin folder...
-
Is it actually allowed to build iOS apps using anything, but Objective C (with a small exception of scripting languages)?
Technically it is probably possible to port Qt to iOS, but it would be of little fun to discover that all this effort is thrown away when Apple prohibits Qt-based apps.
-
[quote author="artem.marchenko" date="1307181234"]Is it actually allowed to build iOS apps using anything, but Objective C (with a small exception of scripting languages)?
[/quote]You can write iOS apps in whatever language you like (except Flash!), as long as they are built using XCode. You're not allowed to use 'private' APIs or a few other no-nos (like setting environment variables). I've been quite careful to avoid anything that's not allowed by Apple in my port. I am planning to submit a QML-based app to the Apple Store in the near future to find out for sure. The biggest issue I'm facing is executable size - a statically linked full-featured QML app is in the region of 20Mb...
-
You managed to build QML-based thing for iOS?!
I am following Necessitas project lately and to my understanding even for Android Qt Declarative doesn't work yet. Cool, that it is possible for iOS.As for 20MB, that indeed can be a problem. It's a pity you cannot supply a Qt redistributable separately (I assume you tried that).
-
[quote author="artem.marchenko" date="1307183034"]You managed to build QML-based thing for iOS?!
...
As for 20MB, that indeed can be a problem. It's a pity you cannot supply a Qt redistributable separately (I assume you tried that).[/quote]
Yes, I have made an OpenGL based Lighthouse plugin for iOS that lets me run QML 1 & 2, ShaderEffects, QtQuick3D & SceneGraph (as well as normal and GL widgets etc.)
You can see some (older) demos of it here: http://developer.qt.nokia.com/forums/viewthread/1759/
Unfortunately we're not allowed to make dynamic frameworks (libraries) for iOS, nor is there any way to install them on (non-jailbroken) iOS devices. I have built a .dylib version of Qt, but it's much larger anyway.
-
[quote author="artem.marchenko" date="1307183034"]You managed to build QML-based thing for iOS?!
I am following Necessitas project lately and to my understanding even for Android Qt Declarative doesn't work yet. Cool, that it is possible for iOS.As for 20MB, that indeed can be a problem. It's a pity you cannot supply a Qt redistributable separately (I assume you tried that).[/quote]
You are wrong :) QML on Android works ok and worked from at least mid of 2010 (I've made first experiments with ALH at July'10 and qml worked fine even at those days). I've also took part in one project with all UI on QML and this project works on Android platform.
-
The Qt for iOS SDK has been released now, so it's possible to develop Qt apps for iOS as well. However it is easier to develop the app on another platform (eg. desktop) where it's easier to debug. Once the app is up and running, test builds for the iOS device can be done. To get an idea of what changes are needed to port a Qt app to iOS, have a look at the AnimatedTiles, Application, HelloGL_ES2 and FancyBrowser examples at https://qt.gitorious.org/~ianfromafrica/qt/qt-ios-plaszma . For most applications, a 1 line change to the .pro file is needed.
-
i just wanted to add in there already is a toolchain out for ios and its also technically in the xcode sdk make a free developer acconty with apple and download it and get out all the header files and all that etc or google it
heres instructiions on how to do that with one of the OLD sdks
http://www.sultanik.com/Blog:iPhone_development
or theres a toolchain included in openiBoot but i dont think thats one you could use lol , thats binaries from well the bare machine in dfu or recovery not as apps um another source for it is well heres ios 4.2
https://github.com/javacom/toolchain4