Re: Does Fremantle support any Qt Quick Components?

Re: Does Fremantle support any Qt Quick Components?

Kristóf Timur

2011-07-16 09:23 UTC
Hi Kate,

I did the following:
- installed qt-components on my N900
- ran my app (that works on Harmattan) on the N900

I get the following output:

RemoteThemeDaemonClient: Failed to connect to theme server (that's OK if
you're on a PC)
LocalThemeDaemonClient: Looking for assets in
"/usr/share/themes/base/meegotouch"
qrc:/qml/harmattan/main.qml:12:5: Type MainPage unavailable
qrc:/qml/harmattan/MainPage.qml:17:9: Type ToolButton unavailable
file:///usr/lib/qt4/imports/com/meego/ToolButton.qml:46:1: Type Button
unavailable
Button {
^
file:///usr/lib/qt4/imports/com/meego/Button.qml:42:1: module
"Qt.labs.components" is not installed
import Qt.labs.components 1.1
^

Could you please tell me what am I doing wrong?

Cheers,
Timur

From: kate.alhola@nokia.com
Sent: Friday, July 15, 2011 3:05 PM
To: timur@sch.bme.hu
Cc: maemo-developers@maemo.org
Subject: Re: Does Fremantle support any Qt Quick Components?

On Jul 15, 2011, at 2:33 PM, ext timur@sch.bme.hu wrote:


Hello Kate,



Your timing couldn't b better as I was just starting to port my apps to QML
and I began with Harmattan's Qt Components.



So basically you are saying that the same QML code that runs on Harmattan
will run on Fremante too?
Do I need to take any special steps to allow this for my app?


Yes and no, 99.9% yes, but when you read my blog
http://www.developer.nokia.com/Community/Blogs/blog/kate-alholas-forum-nokia-blog/2011/07/08/porting-meego-1.2-harmattan-qt-quick-components

There are some UX differences like toolbar position, close and home buttons
etc.

This Maemo5 port is still experimental and there may be bugs.

Kate





Cheers,
Timur

On Fri Jul 15 13:11:28 2011 kate.alhola@nokia.com wrote:
On Jul 14, 2011, at 11:48 PM, ext Attila Csipa wrote:

On Thursday 14 July 2011 23:15:46 you wrote:


My question is very simple: are any of the Qt Quick Components packaged and


working on Maemo 5?



Not the latest & greatest, but ... http://maemo.org/packages/view/qt-
components/


That package is acually the latest and greatest qt-components
1.0~git20110620-7-1fn
same version than in MeeGo 1.2 and Harmattan. I submitted it to autobuilder
couple of
days ago. I noticed that there is still some bugs and possible core dumps on
Maemo5
Qt version. I have not yet have time to analyze it deeper but the problems
are related
im Maemo5 Qt or OpenGl version because sam code works in MeeGo 1. N900 CE
and
Ubuntu Natty.



Also, the custom branch should be usable directly (i.e. just get the stuff
from
https://qt.gitorious.org/qt-components/qt-components/commits/custom and
shove
it in your qml dir), with the caveat that in the case of Maemo5, you will
have
to use a version from before they switched to QtQuick 1.1.



This qt-components 1.0~git20110620-7-1fn is actually latest version that has
Qt Quick 1.1
support and then my backport patch to Qt Quick 1.0 compatibility.


Kate



Personally, I wouldn't mind if some packaging support came from the
community
side, there are only so many packages and projects I can support myself.

Best regards,
Attila Csipa






On Fri Jul 15 13:11:28 2011 kate.alhola@nokia.com wrote:


On Jul 14, 2011, at 11:48 PM, ext Attila Csipa wrote:


On Thursday 14 July 2011 23:15:46 you wrote:
My question is very simple: are any of the Qt Quick Components packaged and
working on Maemo 5?

Not the latest & greatest, but ... http://maemo.org/packages/view/qt-
components/



That package is acually the latest and greatest qt-components
1.0~git20110620-7-1fn
same version than in MeeGo 1.2 and Harmattan. I submitted it to autobuilder
couple of
days ago. I noticed that there is still some bugs and possible core dumps on
Maemo5
Qt version. I have not yet have time to analyze it deeper but the problems
are related
im Maemo5 Qt or OpenGl version because sam code works in MeeGo 1. N900 CE
and
Ubuntu Natty.



Also, the custom branch should be usable directly (i.e. just get the stuff
from
https://qt.gitorious.org/qt-components/qt-components/commits/custom and
shove
it in your qml dir), with the caveat that in the case of Maemo5, you will
have
to use a version from before they switched to QtQuick 1.1.


This qt-components 1.0~git20110620-7-1fn is actually latest version that has
Qt Quick 1.1
support and then my backport patch to Qt Quick 1.0 compatibility.


Kate



Personally, I wouldn't mind if some packaging support came from the
community
side, there are only so many packages and projects I can support myself.

Best regards,
Attila Csipa




  •  Reply