Active Topics

 


Reply
Thread Tools
detronizator's Avatar
Posts: 28 | Thanked: 3 times | Joined on Sep 2009 @ London
#1
Hello guys.

I recently started to move from the Symbian wagon to the Maemo wagon, but I'm still in a very preliminary stage.

Being Qt the framework that Nokia is going to endorse across their platform, for me it represent the obvious choice to go forward.

Now, I set up my Fremantle SDK, installed Qt packages from "Extras" and "Extras-devel" etc... and arrived to compile apps written in Qt on Maemo and run within the Scratchbox environment. I have to say: piece of cake (thanks to Linux, not me :P).

Problem is: Qt doesn't seems to be properly working.
I followed a bit of discussions about Qt, the fact that the Hildon Widgets are not written (yet) etc, but I'm facing problems that are very "weird".

For example:
1) I don't really manage to go online: one of my test app is a self-cooked browser and it doesn't seems to get a network connection.
2) The UI is unresponsive and looks like whatever I click nothing happens (or, worse, crashes)
3) I saw that without running Hildon within the Xypher, somehow the app works... but the absence of a DBUS session makes it crash straight after.

So, I'm wondering:
is the Qt4 lib available on the repositories stable?
is it advisable to compile Qt from the Git repository and try again with a fresh build of it?
If yes, which branch?

From the GIT repository of Qt Maemo looks like a guy, Antonio Aloisio, is doing a lot of work and it would be great to have his idea here as well (Antonio, se ci sei batti un colpo - PS Ma sei di Napoli?).

Hope anyone can give me some hints.
In the meantime: thanks in advance.

Ivan
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#2
Originally Posted by detronizator View Post
Problem is: Qt doesn't seems to be properly working.
The most important question - are you running apps under the ARMEL or X86 target ? ARMEL is for compiling only, if you try to run stuff you get problems like you described.

I followed a bit of discussions about Qt, the fact that the Hildon Widgets are not written (yet) etc, but I'm facing problems that are very "weird".
Important note - some, Fremantle specific widgets are not implemented yet. Most of them (especially those present in Diablo) are present and usable.

1) I don't really manage to go online: one of my test app is a self-cooked browser and it doesn't seems to get a network connection.
Make sure that your scratchbox has network connectivity. If it doesn't work for it, it won't work for your app either.

2) The UI is unresponsive and looks like whatever I click nothing happens (or, worse, crashes)
Don't forget, you're running a fair number of emulation layers in there, so it's not really representative of the speed of things on real devices.

is the Qt4 lib available on the repositories stable?
is it advisable to compile Qt from the Git repository and try again with a fresh build of it?
If yes, which branch?
If you want the latest features, go for the git version. I would, however recommend to go for the Diablo edition for now as the Fremantle one is pretty fluid - unless you need specific Fremantle functionality. The base Qt version in both is the same.

From the GIT repository of Qt Maemo looks like a guy, Antonio Aloisio, is doing a lot of work and it would be great to have his idea here as well (Antonio, se ci sei batti un colpo - PS Ma sei di Napoli?).
Antonio follows the lists but have not seen him here recently. If you have specific questions, best to ask them on the qt4-devel mailing list.
 

The Following 3 Users Say Thank You to attila77 For This Useful Post:
gnuton's Avatar
Posts: 18 | Thanked: 12 times | Joined on Nov 2007 @ Taranto, ITALY
#3
Ciao Ivan,
the packages in extras-devel are a bit outdated.
They worked fine in scratchbox...but looks like that them are not working there anymore

I m going to upload new packages as soon as I've a bit of time...
So far the best way to use Qt is compile them from git.

You won't have those problem anymore....

ps: non sono Napoletano.

Ciao,
Antonio
 

The Following User Says Thank You to gnuton For This Useful Post:
Posts: 362 | Thanked: 109 times | Joined on May 2009
#4
This is the status of this community... nothing actually working, but it will be uploaded tomorrow... pathetic.

I posted few questions about C++ IDE if there is any, about Java and almost no answer, or nothing useful.

Someone posted that not even a simple combo-box is running on Maemo from Qt (he said it worked only on the emulator but not on the device)... and what the leaders of the community , at least the council candidates... (qole, zerojay, texrat, etc) are doing here? Just kick butts of people re-posting something from Eldar or other things... this shows me how BAD is this community and how BAD are the people that are their "council". Maybe Quimm Gil comments a bit on how good is this community, and where are the simple steps or guides if anybody wants to write a small application...
 

The Following User Says Thank You to Architengi For This Useful Post:
Posts: 11 | Thanked: 27 times | Joined on Nov 2007 @ Manchester
#5
 

The Following 2 Users Say Thank You to pat For This Useful Post:
detronizator's Avatar
Posts: 28 | Thanked: 3 times | Joined on Sep 2009 @ London
#6
Originally Posted by attila77 View Post
The most important question - are you running apps under the ARMEL or X86 target ? ARMEL is for compiling only, if you try to run stuff you get problems like you described.
X86, don't worry

Important note - some, Fremantle specific widgets are not implemented yet. Most of them (especially those present in Diablo) are present and usable.
I don't have (yet, I could get lucky today) a Diablo device.
I have only an N900 prototype with broken telephony stack. Will get an N900 soon.

Make sure that your scratchbox has network connectivity. If it doesn't work for it, it won't work for your app either.
Lynx works pretty well in FREMANTLE_X86
Taking a look at the console output of Qt apps, I think there is something related to DBUS.

Don't forget, you're running a fair number of emulation layers in there, so it's not really representative of the speed of things on real devices.
When I say "unresponsive" I mean that I click and nothing happens, not even slowly.
I tried also the application "minitube": it compiled but nothing more.

If you want the latest features, go for the git version. I would, however recommend to go for the Diablo edition for now as the Fremantle one is pretty fluid - unless you need specific Fremantle functionality. The base Qt version in both is the same.
I think I'll go for that.
Compiling right now with default "configure" parameters.
If you think it needs particular params, please advice

Thanks
 
detronizator's Avatar
Posts: 28 | Thanked: 3 times | Joined on Sep 2009 @ London
#7
Originally Posted by gnuton View Post
Ciao Ivan,
the packages in extras-devel are a bit outdated.
They worked fine in scratchbox...but looks like that them are not working there anymore

I m going to upload new packages as soon as I've a bit of time...
So far the best way to use Qt is compile them from git.

You won't have those problem anymore....
What branch do you advice me to compile between:
- master
- 4.5
- 4.5-fremantle
- qt-fremantle
???

ps: non sono Napoletano.
I got congused by your surname: it sounded to me very Napolitan

Thanks

Ah, once I'm here, I'd like to know if there is any specific channel (wikipage/blog/twitter/whatever) to follow the progresses of Qt on Maemo, apart of course from reading the log on Gitorious.
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#8
Originally Posted by Architengi View Post
This is the status of this community... nothing actually working, but it will be uploaded tomorrow... pathetic.

I posted few questions about C++ IDE if there is any, about Java and almost no answer, or nothing useful.

Someone posted that not even a simple combo-box is running on Maemo from Qt (he said it worked only on the emulator but not on the device)... and what the leaders of the community , at least the council candidates... (qole, zerojay, texrat, etc) are doing here? Just kick butts of people re-posting something from Eldar or other things... this shows me how BAD is this community and how BAD are the people that are their "council". Maybe Quimm Gil comments a bit on how good is this community, and where are the simple steps or guides if anybody wants to write a small application...
Hey guy.
Go out to the street a bit, breathe deeply, count until three, and return later.

This community is AWESOME.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 

The Following User Says Thank You to yerga For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#9
Originally Posted by yerga View Post
Hey guy.
Go out to the street a bit, breathe deeply, count until three, and return later.

This community is AWESOME.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#10
Originally Posted by Architengi View Post
This is the status of this community... nothing actually working, but it will be uploaded tomorrow... pathetic.

I posted few questions about C++ IDE if there is any, about Java and almost no answer, or nothing useful.

Someone posted that not even a simple combo-box is running on Maemo from Qt (he said it worked only on the emulator but not on the device)...
Please refrain from anecdotal evidence, it's not helping anyone. There are Qt based apps even in extras (not -devel) that are working just fine (like Qt mapper), and my own dev experience show that Qt is quite usable even in it's current state. Scratchboxing is not for the faint hearted, but let's not FUD folks.

people that are their "council". Maybe Quimm Gil comments a bit on how good is this community, and where are the simple steps or guides if anybody wants to write a small application...
Take a look at the wiki or some sources from extras - for example if you're interested in qt and C++, you should analyze qt-maemo-example. The biggest problem newbies face is the potential unfamiliarity with the linux/debian workflow, not Maemo itself (apart from some scratchbox magic, of course, but if that bothers you, just use Python until your linux skills sharpen).
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:01.