Tuesday, September 4, 2012

QtQuick 2 is coming to Harmattan

I have made all the basic packaging for Harmattan right after the Qt beta 1 release. Now you can install the following packages from the community repository: qt-3d, qt5-base, qt5-declarative, qt5-jsbackend, qt5-location, qt5-multimedia, qt5-script, qt5-sensors, qt5-xmlpatterns, and qt5-components.

As you can see, there is also a qt5-components package available. Last night I put some effort into porting the qtquick2 branch of the qt-components project to Qt5. Here you can find the steps to start the work on a Qt5/QtQuick2 application for Harmattan:

* echo 'deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free' >> /etc/apt/sources.list.d/nicks.list
* echo 'deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./' >> /etc/apt/sources.list.d/nicks.list
* apt-get update
* fakeroot apt-get install qt5-components

The QtQuick2 port to Qt5 has not yet been thoroughly tested, so runtime issues may be expected. If you would like to contribute, please grab the code from here:
git clone -b qtquick2 git://gitorious.org/+harmattan/qt-components/harmattan-qt-components.git

Contributions still warmly welcome! Thank you for your attention.

7 comments:

  1. Any chance in hell of seeing some KDE apps in MeeGo Harmattan? Calligra Touch in the N9 looks like a dream...

    ReplyDelete
  2. 1) Calligra is the default offite suite on Harmattan.
    2) We have made a few KDE applications ported to Harmattan.
    3) We have had a KDE Harmattan Sprint last year, and we also have a community page.

    http://dot.kde.org/2011/12/01/kde-harmattan-sprint-makes-advances-mobile-space
    http://community.kde.org/KDE_Mobile/Harmattan

    ReplyDelete
    Replies
    1. Good to know... since, with what you said, I'll be getting a N9 surely.

      Delete
  3. Were these packages based on the ones provided by Snowshoe already? I don't see any mention to those packages here... Besides, for those using their repository and yours there are already a few package conflicts going on.

    Are you also providing QtWebKit or planning to?

    ReplyDelete
  4. Nope. I got reported as they were non-working in scratchbox, at least for certain person(s).

    Please also note that, the Community Repository exists for a reason. The reason is to have a community repository.
    https://build.pub.meego.com/project/show?project=home%3Arzr%3Aharmattan

    As you can see we have 700+ projects, and most likely far more than 1000 packages available for only one line addition. Furthermore, we have recently established a better QA than earlier with the stable, testing, and unstable concept. This is something which you can find most likely nowhere else. So much packages and such a QA workflow are really great to have in my opinion.

    In addition I have tried to make a very simple packaging which works in scratchbox and also on the device. Seems to work so far.

    Well, it is a general rule to not mix up two repositories with overlapping content. This is a fairly basic packaging policy on Harmattan for the community repository from the day first. We have seen a lot of trouble about that. I can bravely say it is not worth it.

    I do not plan to provide QtWebKit packages, but patches welcome as usual. It should be simple for someone after it is packaged to add to the community repository.

    ReplyDelete
  5. 1) Calligra is the default offite suite on Harmattan.

    Is development moving forward on an editor version of these applications? The viewers work very well :)

    ReplyDelete
  6. Thank you for your question. Hmm, that I do not know, unfortunately. :)

    Could you please contact the Calligra team about this? At least, I have seen a GSoC task published about that feature. Perhaps, Shantanu or someone else from the Calligra Active project can tell you a bit more than me.

    It may be simpler for contributors to get that up and running for platforms like Plasma Active. The Harmattan community has been getting smaller and smaller from time to time, unfortunately. Albeit, it has been a great journey!

    ReplyDelete