Develop application fully Qt coded for iPhone,iPad,iPod.



  • Hi
    I have application that is developed for Win7 and I've ported it to Symbian.
    I see there is a lot of demand on applications for iPhone,iPad,iPod in the marked.
    Today we have special facilities to develop for smartphones as Android Ministro, Necessitas.
    http://labs.qt.nokia.com/2011/02/28/necessitas/
    Actually I think Nokia devices do the same things but the market is as is and we need strong Qt porting facilities.
    It can contribute a lot.
    So why not to make something like Ministro, Necessitas for iPhone smartphones?
    So I propose to begin to cooperate in opening possibility to full, simple, reliable,approved porting of Qt framework
    for Apple smartphones.
    Is here any developer that have experience in development Qt application for iPhone etc.?
    Pavel
    14.03.2011



  • Well, if you take a look around, you'll see that there are in fact efforts towards this. There are already demo's running QML apps on an iDevice. It is, AFAIK, all still in experimental stages though. I'm sure your contributions would be most welcome.



  • Thank you
    Where can I find the examples regards Qt for iDevices the fact efforts,demo’s running QML apps on an iDevice,?
    I continue to research in the field, perhaps tomorrow I will post here another facts and ideas
    Pavel



  • You might start with a "search query":http://developer.qt.nokia.com/search?search=ios&x=0&y=0 right here on the forum, or you might try "this":http://lmgtfy.com/?q=qt+ios.





  • I was too slow :-(



  • Thanks A LOT.
    but I mean to port any Qt application, not only QML, sorry I do not familar with QML at the moment
    perhaps Qt without/with QML
    Is there any special building tools for Windows platform that I can compile and build Qt code to iOS?
    Pavel
    14.03.2011



  • If you sue my link, the first link is the Qt-IPhone project.
    I don't think that cross compiling from windows works, I think you need an apple for that, but you can check the projects home page for that.

    There is no official port available, it's all community projects...



  • And, as far as I know, you'll need a Mac to develop for i -Phone- Device in any case.

    (Unfortunately, I'd like to develop for my own phone as well!)



  • bq. If you sue my link, the first link is the Qt-IPhone project.
    I don’t think that cross compiling from windows works, I think you need an apple for that, but you can check the projects home page for that.
    There is no official port available, it’s all community projects…

    I took a look... It is not enought - I mean to develop or to build from already existing tools complete TOOLCHAIN that will build from fully cross platform Qt source full featured application for iOS( Apple smartphones ) as it exists for Nokia Symbian and Maemo?



  • [quote author="Pavel Mazniker" date="1300197461"]bq. If you sue my link, the first link is the Qt-IPhone project.
    I don’t think that cross compiling from windows works, I think you need an apple for that, but you can check the projects home page for that.
    There is no official port available, it’s all community projects…

    I took a look... It is not enought - I mean to develop or to build from already existing tools complete TOOLCHAIN that will build from fully cross platform Qt source full featured application for iOS( Apple smartphones ) as it exists for Nokia Symbian and Maemo?[/quote]

    You actually expect a community project in its infancy to produce a complete working toolchain with nice setup packages for you to play around with?



  • Officially, IPhone is not supported.

    There exists the community project to port apps to iPhone, where I send the link.
    Afaik not more, not less. If that is not enough, build it, give it to the community.



  • bq. You actually expect a community project in its infancy to produce a complete working toolchain with nice setup packages for you to play around with?

    Hey NO!
    Not only for me, why do you think so?
    I propose to gather experience and possibilities to cooperate, not necessarily сommunity or commercial project, and of course not only for me, but to develop the tool.



  • [quote author="Pavel Mazniker" date="1300198106"]bq. You actually expect a community project in its infancy to produce a complete working toolchain with nice setup packages for you to play around with?

    Hey NO!
    Not only for me, why do you think so?
    I propose to gather experience and possibilities to cooperate, not necessarily сommunity or commercial project, and of course not only for me, but to develop the tool.[/quote]
    Well, it was you who said:
    [quote]It is not enoughtI mean to develop or to build from already existing tools complete TOOLCHAIN[/quote] (my emphasis).

    Anyway, I don't think this forum is the right channel for cooperation on that project. If you want to contribute, I'm sure the developers of that project would appreciate your patches. It would be nice to see iOs become a first class (ok, perhaps seconds class) citizen in the Qt world and a fully supported build target.



  • A bit late to the discussion...

    I've been working on a port of Qt Lighthouse to iOS, and the demo videos you've probably seen are of that plugin. It does support full Qt GUI, but it's questionable how useful that is (and I would probably compile most of GUI out of any version of Qt I shipped with an app).

    Let me say straight away that you can more or less forget about building iOS apps on anything other than OSX. iOS apps need to be signed (unless you're running a JB device), which needs to be done by XCode. In theory you could modify QtCreator to be able to compile, link etc. the app on OSX, but you'd still need XCode to bundle the app.

    As far as official support for building Qt and Qt apps for iOS, I think we've got as much as we're going to get there... OSX on ARM without CoreServices is an official(ish) build platform for Lighthouse, and Nokia has developed an in-house proof-of-concept plugin for UIKit (the iOS GUI framework) for Lighthouse. Obviously, Nokia is not going to spend a lot of effort supporting Qt on it's (biggest) competitor's hardware...

    As far as 'community' goes, there are 3 separate efforts by (AFAIK) only 3 individuals: There is 1 guy developing qt-iphone (which AFAIK is very far away from being able to run any GUI apps), there is my own plugin (seen in the demos), and there is the proof-of-concept plugin done by 1 guy at Nokia...

    Despite what one may think, there appears to be less interest in an iOS port of Qt than an OS/2 one.



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.