maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] QtComponents for Fremantle (https://talk.maemo.org/showthread.php?t=79134)

qwazix 2012-04-07 18:38

Re: [Announce] QtComponents for Fremantle
 
I think it is still not clear what developers should do, if they want to target extras and ovi store. From what I gather:
  • qt-components is available without cssu, to target that we need to import org.maemo.fremantle and use qt 4.7.0, and depend on qt-components10. This should be ok with ovi. What about qt-mobility, can we use 1.2, or that depends on qt 4.7.4?
  • to target cssu users (extras) we should do the same as above but we can use com.nokia.meego and qt 4.7.4

Is this list complete? Have I said anything wrong? I think there should be a wiki page with instructions

inean 2012-04-07 19:48

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by MartinK (Post 1189415)
Well, the end result is still the same - you get get buttons with icons that can't be seen. :) Would a list of icons having this problem help ? :)

A list of missing icons could be fetched from https://gitorious.org/fremantle-qt-c.../generated.txt

Quote:

Well, I'm unfortunately already quite overcommited. There seems to be no shortage of Fremantle theme designers - maybe some of them could step forward for such an important project ?
me too :p

Quote:

So if it's not used & badly broken it might be safe to remove it ? Not sure if there is some easy way of doing that or if you need to tell the super-testers or repo admins.
IMHO, yes. Developers who try QtComponents for the first time on Fremantle usually tries that package and get a bad impression http://thpmaemo.blogspot.com.es/2012...and-today.html . But , IMO i'm not the one who should ask for removing of a package no owned by me

inean 2012-04-07 20:09

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by qwazix (Post 1189421)
I think it is still not clear what developers should do, if they want to target extras and ovi store. From what I gather:

If you want to apply for extras, your app MUST depend only of packages that could reach extras, ie: If you depends of Qt 4.7.4 you are sticked to CSSU users and what's more, your app shouldn't reach even extras devel (You need to cheat with runtime dependences). If you make use of qtm12 and qt-components-10, you satisfy that requirements.

Quote:

qt-components is available without cssu, to target that we need to import org.maemo.fremantle and use qt 4.7.0, and depend on qt-components10. This should be ok with ovi
Ovi is a different beast. Ovi only allows you to depend of STOCK PR1.3 dependences, so if you want to push your app yo need to build a bundle with your app + qt-components-10 + libmaliit1 + qt-components-base-theme for QtComponents and qtm-12 and qtquickcompat for qtm12 (Or any other requirements for qtm12)

This problem also exists with Harmattan, but in that cases you already have QtComponents anf Qtm12 ;)


Quote:

to target cssu users (extras) we should do the same as above but we can use com.nokia.meego and qt 4.7.4
If you target SSU, you are already targetting CSSU. You only need to package a com.nokia.meego based QML files for your app ONLY if you want to benefit of ActionKey functionality with Maliit VKB

Quote:

should be a wiki page with instructions
http://wiki.maemo.org/Special:Search...mponents&go=Go
Wikis are editable by everyone. Feel free to contribute and add/update pages with your experiences. ;)

As I said previously, Take a look to this:
https://qt.gitorious.org/~inean/qt-c...rld/autogen.sh
https://qt.gitorious.org/~inean/qt-c...World/main.cpp

That code generates Fremantle QML code from Meego couterpart and decided at runtime which system graphics and which QML set of files should use based on Qt version

qwazix 2012-04-07 20:33

Re: [Announce] QtComponents for Fremantle
 
Quote:

If you want to apply for extras, your app MUST depend only of packages that could reach extras, ie: If you depends of Qt 4.7.4 you are sticked to CSSU users and what's more, your app shouldn't reach even extras devel (You need to cheat with runtime dependences). If you make use of qtm12 and qt-components-10, you satisfy that requirements.
Sorry to ask again but I want to be sure before editing the wiki. If you make use of qtm12 and qt-components-10 you can reach extras, and no CSSU is required

correct?

ovi does not even pull dependencies from extras even if extras is enabled in peoples devices by default

correct?

inean 2012-04-07 20:38

Re: [Announce] QtComponents for Fremantle
 
Yes to all. Problem with Ovi store is not the requirements but that Ovi will not allow an app in store that depends of non official repositories

marmistrz 2012-06-07 10:48

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1189459)
A list of missing icons could be fetched from https://gitorious.org/fremantle-qt-c.../generated.txt

These icons are most important for MeeGo Harmattan apps. I tested some apps, and many of them require the missing icons.

inean 2012-06-07 11:30

Re: [Announce] QtComponents for Fremantle
 
Harmattan icons aren't open. Feel free to provide good, free and redistributable ones at https://gitorious.org/fremantle-qt-c...commits/master. You can also use qt-components-blanco-theme and copy icons folder from an N9... :p

marmistrz 2012-06-07 11:33

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1218872)
Harmattan icons aren't open. Feel free to provide good, free and redistributable ones at https://gitorious.org/fremantle-qt-c...commits/master. You can also use qt-components-blanco-theme and copy icons folder from an N9... :p

I have qt-components-blanco-theme, qt-components-base-theme, qt-components-10, the -devel version, and still icons are missing. Is there a package which contains icons for N9 (installed on N9)?

EDIT: there's a package
Code:

meegotouchtheme-nokia
which depends on
Code:

meegotouchtheme-nokia-icons
It's where the missing icons are. There's no entry /usr/share/doc/ about the copyright. Can this be uploaded to extras-devel?

The packages can be downloaded from:
http://harmattan-dev.nokia.com/pool/....0+0m6_all.deb


I found it in the repo, the details found somewhere in FMC, don't remember where. Google will help you find it.

marmistrz 2012-06-07 14:00

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1218874)
I have qt-components-blanco-theme, qt-components-base-theme, qt-components-10, the -devel version, and still icons are missing. Is there a package which contains icons for N9 (installed on N9)?

EDIT: there's a package
Code:

meegotouchtheme-nokia-icons
It's where the missing icons are. There's no entry /usr/share/doc/ about the copyright. Can this be uploaded to extras-devel?

The packages can be downloaded from:
http://harmattan-dev.nokia.com/pool/....0+0m6_all.deb


I found it in the repo, the details found somewhere in FMC, don't remember where. Google will help you find it.

After installing this, I tried one app from MeeGo. Icons were missing before, now after
Code:

rm -r /home/user/.cache/meegotouch
All the icons in the toolbar are present.
Installs cleanly

inean 2012-06-08 15:22

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1218874)
It's where the missing icons are. There's no entry /usr/share/doc/ about the copyright. Can this be uploaded to extras-devel?

No.
See http://talk.maemo.org/showpost.php?p...2&postcount=68

marmistrz 2012-06-08 15:49

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1219521)

Sorry, I don't see where the problem is. Is it copyright?
The package meegotouchtheme-nokia-icons installs cleany, the icons are recognized & shown properly.
You just need to clean the meegotouch cache

PS. Can qt-components-10 support com.meego namespace? There are some apps using this.

inean 2012-06-08 19:57

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1219532)
Sorry, I don't see where the problem is. Is it copyright?

Yes

Quote:

PS. Can qt-components-10 support com.meego namespace? There are some apps using this.
That namespace is deprecated. Besides that, org.maemo.fremantle is the required namespace for apps that want to reach extras repo. The only reason to support com.meego namespace is to allow to more elaborated apps to use some 'advanced' features that are only available with CSSU like SipAttributes.

qwazix 2012-06-08 20:26

Re: [Announce] QtComponents for Fremantle
 
I read somewhere that blanco theme became opensource. On the other hand there is Nemo theme, doesn't it contain icons?

inean 2012-06-08 20:50

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by qwazix (Post 1219626)
I read somewhere that blanco theme became opensource. On the other hand there is Nemo theme, doesn't it contain icons?

Nemo theme icons are already merged on qt-components-blanco-theme. Same happens for images of blanco theme. (Follow the link posted 3 posts ago ;) )

qwazix 2012-06-09 10:01

Re: [Announce] QtComponents for Fremantle
 
oops sorry :)

marmistrz 2012-06-09 10:07

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1219619)
That namespace is deprecated. Besides that, org.maemo.fremantle is the required namespace for apps that want to reach extras repo. The only reason to support com.meego namespace is to allow to more elaborated apps to use some 'advanced' features that are only available with CSSU like SipAttributes.


The deprecation of that namespace doesn't mean it shouldn't be included.
I was trying out some Harmattan apps, and they use com.meego. Symlinking
Code:

ln -s /usr/lib/qt4/imports/com/nokia/meego /usr/lib/imports/com/meego
works, but the apps don't work properly. E.g. with qtodo you can't click OK to add the todo/note. pogoda makes the whole system crash.

It's essential in the development to make as many as possible MeeGo apps run on Fremantle. Even though com.nokia.meego is most used, com.meego should be supported too.

Lack of com.meego namespace is one of the 4 main problems slowing down the development of MeeCoLay, the others are: problems with orientation/rotation, lack of libc6 (>=2.9), multitouch problem.
Even the lack of icons from Nokia's meegotouchtheme icons can be worked around as the package installs cleanly.

qwazix 2012-06-10 14:22

Re: [Announce] QtComponents for Fremantle
 
I just made a crappy little web interface to help with the creation of icons here http://play.oob.gr/annasIconMaker/toolbaricons/

You can download the reference inkscape file, edit the "icon" layer, rename the file accordingly and upload it back. The system applies two filters, one for selected and one for disabled, so that we don't have to create 3 of each kind of icons. You have to resize the inkscape canvas manually to the required size.

I also made a page in the wiki (http://wiki.maemo.org/QtComponents/missing_icons) where everybody interested should help reorder the list so that the most needed icons are at the top, and completely unneeded ones are removed. I will update the list on the webapp once in a while to reflect changes in the wiki.

Question. Is there a free service where one can upload a php script to be collaboratively edited and used? ImageMagick is a requirement.

DISCLAIMER: This little script is very hastily coded, because it is a one-off utility to help us gather most needed icons. If anybody is interested in the code I can share it, but don't expect something nice. Also there is no error-checking whatsoever, the script will probably fail silently if it's fed an svg, not based on the one I provide. Also if you upload something with the same name as something existing, it will overwrite it.

I will start a thread with this text, so that the discussion can continue there.

marmistrz 2012-06-10 15:22

Re: [Announce] QtComponents for Fremantle
 
About copyright and Nokia theme:
1. Look at this: http://talk.maemo.org/showpost.php?p...3&postcount=40
2. If it's impossible, why don't you talk with the Council, maybe they can talk with Nokia representatives to allow us use the original icons?

ivgalvez 2012-06-11 11:11

Re: [Announce] QtComponents for Fremantle
 
Marmistrz, Inean.

We will address the question about the use these icons to qgil.

To my understanding it shouldn't be a problem to package these icons to be used in Maemo 5 (as per this post), but in any case we will wait for a clear answer.

inean 2012-06-11 11:36

Re: [Announce] QtComponents for Fremantle
 
Good. Also ask for Nokia Pure Font. IMHO it's even more important than icons because of changes on lines spacing, introduced on PR 1.2, that affect to UI layouts.

qgil 2012-06-11 13:22

Re: [Announce] QtComponents for Fremantle
 
Please just go ahead as explained in my previous posts.

inean 2012-06-11 14:16

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by qgil (Post 1220474)
Please just go ahead as explained in my previous posts.

Thanks, I will push new packages ASAP

ivgalvez 2012-06-11 15:01

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by qgil (Post 1220474)
Please just go ahead as explained in my previous posts.

That was blazing fast!

Thanks again qgil.

marmistrz 2012-06-22 16:29

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1220494)
Thanks, I will push new packages ASAP

Will you include the com.meego namespace in the new release just for the compatibility with MeeGo apps - there are apps, e.g. in apps for meego that use com.meego instead of com.nokia.meego?

inean 2012-06-22 16:44

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1225815)
Will you include the com.meego namespace in the new release just for the compatibility with MeeGo apps - there are apps, e.g. in apps for meego that use com.meego instead of com.nokia.meego?

No. You can't use 'com.meego' and 'com.meego.extras' namespace and pretend that things works smoothly. You may end with QDeclarativeEngine cache failures...
Code:

Cannot assign QObject* to PageStack_QMLTYPE_NN
...if those apps use 'com.meego.extras' namespace. See also http://qt-project.org/forums/viewthread/8279

marmistrz 2012-06-22 16:48

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1225822)
No. You can't use 'com.meego' and 'com.meego.extras' namespace and pretend that things works smoothly. You may end with QDeclarativeEngine cache failures...
Code:

Cannot assign QObject* to PageStack_QMLTYPE_NN
...if those apps use 'com.meego.extras' namespace. See also http://qt-project.org/forums/viewthread/8279

So, what can we do with these Harmattan apps that use com.meego. I can't pretend that "It's okay that Harmattan apps using com.meego aren't working at all". They somehow work on N9, otherwise they wouldn't be in apps for meego.
Creating symlinks so that com.meego = com.nokia.meego results in a very strange behavior: system crashes, button being disabled.

inean 2012-06-22 16:55

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1225825)
So, what can we do with these Harmattan apps that use com.meego. I can't pretend that "It's okay that Harmattan apps using com.meego aren't working at all". They somehow work on N9, otherwise they wouldn't be in apps for meego.
Creating symlinks so that com.meego = com.nokia.meego results in a very strange behavior: system crashes, button being disabled.

Backport apps?. Really, more than a year ago, 'com.meego' namespace was deprecated. Why I should give support for broken stuff? IMHO, If apps depends on obsolete features, it's developers responsability to update their apps.

I prefer to be focused on a qt-components that works properly with quality apps.

marmistrz 2012-06-22 17:13

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by inean (Post 1225828)
Backport apps?. Really, more than a year ago, 'com.meego' namespace was deprecated. Why I should give support for broken stuff? IMHO, If apps depends on obsolete features, it's developers responsability to update their apps.

I prefer to be focused on a qt-components that works properly with quality apps.

So is there any other way to somehow run the apps with the deprecated namespace?

marmistrz 2012-06-24 18:20

Re: [Announce] QtComponents for Fremantle
 
I found a bug in the qt components package. Apps using com.nokia.meego usually get Segmentation fault when the screen is paused. (I guess it's connected with QtLockscreen and because of it the app is minimized)

inean 2012-06-24 18:50

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1226846)
I found a bug in the qt components package. Apps using com.nokia.meego usually get Segmentation fault when the screen is paused. (I guess it's connected with QtLockscreen and because of it the app is minimized)

https://bugs.maemo.org/enter_bug.cgi...=qt-components

pelago 2012-06-25 10:29

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1225844)
So is there any other way to somehow run the apps with the deprecated namespace?

Talk to the developers of the apps? What are these apps, by the way?

marmistrz 2012-07-21 19:08

Re: [Announce] QtComponents for Fremantle
 
Qt Mobility for Qt Components seems to suffer from this bug: https://bugreports.qt-project.org/browse/QTBUG-16901

I'm reporting this to atilla77 too.

imo 2012-09-13 16:57

Re: [Announce] QtComponents for Fremantle
 
any update on this ?? whats up with these qt-components ?

www.rzr.online.fr 2012-12-11 23:10

Re: [Announce] QtComponents for Fremantle
 
Are there any existing opensource app using it ? If not redak can be one of them , just ask ...

inean 2012-12-12 22:24

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1303632)
Are there any existing opensource app using it ? If not redak can be one of them , just ask ...

There shouldn't be any problem as far as you stick to QtComponents 1.0 features (N9 PR 1.1). If you want to give support to stock firmware, a bit of work would be required, IMO.


Salu2

MartinK 2012-12-13 00:09

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1303632)
Are there any existing opensource app using it ?

Mieru & modRana (QML GUI). :)

marmistrz 2012-12-13 17:04

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by MartinK (Post 1303964)
Mieru & modRana (QML GUI). :)


All my gui apps use qt components

int_ua 2012-12-22 04:33

Re: [Announce] QtComponents for Fremantle
 
Can I add layouts to Nemo keyboard? Can't find the answer on maliit.org

marmistrz 2012-12-26 10:50

Re: [Announce] QtComponents for Fremantle
 
inean: Qt Components 1.3 is out. Can you upgrade the qt-components-10 package to 1.3?
https://qt.gitorious.org/qt-componen...bian/changelog

inean 2012-12-27 15:40

Re: [Announce] QtComponents for Fremantle
 
Quote:

Originally Posted by int_ua (Post 1306760)
Can I add layouts to Nemo keyboard? Can't find the answer on maliit.org

IIRC, Mallit guys were working on a keyboard plugin that support layouts, but I don't know if it's used on NemoMobile. Las time I've take a look to Nemo they were using the QML one. Sorry.


All times are GMT. The time now is 16:11.

vBulletin® Version 3.8.8