Re: osso_initialize: how to make it work?

2010-06-08 Thread Kimmo Hämäläinen
On Mon, 2010-06-07 at 22:26 +0200, ext maemo.me...@spamgourmet.com wrote: > OK, it's the run-standalone.sh thing. I remember now, that was a > constant irritation when I was trying to fix bugs in Modest. I never > fully understood it. Is that thing documented anywhere, is there any > in-depth

Re: Help with dependencies needed

2010-06-08 Thread daniel wilms
ext Chris Walker wrote: On 02/06/10 13:27, daniel wilms wrote: That has 2 lines of output :- GNU nano 1.2.4 and 5.0update5 Fremantle There is one newer update, but this should contain all the Qt libraries. Can you clarify your first line please? Do you mean that the version I

Re: Something quite amazing (and simple): QtContacts 1.0 on qt Nokia SDK beta

2010-06-08 Thread daniel wilms
Hi, ext Felipe Crochik wrote: I don't know if this was just a happy accident but I just compiled my application using Qt Contacts 1.0 mobility library on qt sdk beta and was able to have it deployed to my phone automatically. As most using qt sdk probably knows the mobility packages included wi

How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Sascha Mäkelä
Hi, In my app I have setAttribute(Qt::WA_Maemo5AutoOrientation, true) in the main.cpp. The auto orientation works fine. However, I have some stacked windows that I want to display only in landscape. I've tried using setAttribute(Qt::WA_Maemo5LandscapeOrientation, true) when creating the window or

Re: Strange problem with Maemo5ShowProgressIndicator

2010-06-08 Thread Daniil Ivanov
Hi Felipe! This is not related to window manager as it's a separate process. Simply changing attributes is done through event mechanism. Consider this application: #include int main (int argc, char **argv) { QApplication app(argc, argv); QMainWindow win; win.show(); Q

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Ram Kurvakat
one way would be to disable the accelerometer, saves battery as well if its not needed. - Original Message - From: Sascha Mäkelä Sent: 06/08/10 09:37 AM To: maemo-developers Subject: How to force landscape mode in Qt 4.6.2? Hi, In my app I have setAttribute(Qt::WA_Maemo5AutoOrientatio

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Ram Kurvakat
sorry my browser acts funny sometimes so my previous message was incomplete... one way would be to disable the accelerometer, saves battery as well if its not needed. QDBusConnection::systemBus().call(QDBusMessage::createMethodCall(MCE_SERVICE, MCE_REQUEST_PATH, MCE_REQUEST_IF, MCE_ACCELEROMET

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Ram Kurvakat
also I think you need to setAttribute(Qt::WA_Maemo5AutoOrientation, true) on a QMainWindow to set that to landscape afterwards. Haven't checked if its a widget/application attribute also. -krk969 - Original Message - From: Ram Kurvakat Sent: 06/08/10 12:10 PM To: Sascha Mäkelä, maemo-d

RE: Strange problem with Maemo5ShowProgressIndicator

2010-06-08 Thread Felipe Crochik
Daniil: Thank you (again) for the clarification. Sascha Mäkelä: this is a simpler way than the QTimer::singleshot. :) Felipe -Original Message- From: Daniil Ivanov [mailto:daniil.iva...@gmail.com] Sent: Tuesday, June 08, 2010 4:55 AM To: Felipe Crochik Cc: Sascha Mäkelä; maemo-develope

Re: Strange problem with Maemo5ShowProgressIndicator

2010-06-08 Thread Robin Burchell
On Tue, Jun 8, 2010 at 1:18 PM, Felipe Crochik wrote: > Daniil: Thank you (again) for the clarification. > Sascha Mäkelä: this is a simpler way than the QTimer::singleshot. :) I should add that both sleeping and using a QTimer aren't really ideal solutions, as the UI will be unresponsive while pr

Re: Strange problem with Maemo5ShowProgressIndicator

2010-06-08 Thread Daniil Ivanov
Hi Robin! The question was how to make indicator to appear, not how to avoid blocking of UI during long synchronous operation. Sleeping was used just as simulation of long blocking operation. Thanks, Daniil. On Tue, Jun 8, 2010 at 3:26 PM, Robin Burchell wrote: > On Tue, Jun 8, 2010 at

Re: Strange problem with Maemo5ShowProgressIndicator

2010-06-08 Thread Robin Burchell
On Tue, Jun 8, 2010 at 1:35 PM, Daniil Ivanov wrote: > Hi Robin! > >   The question was how to make indicator to appear, not how to avoid > blocking of UI >   during long synchronous operation. Sleeping was used just as > simulation of long blocking >   operation. Yes, I know what the question wa

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Kimmo Hämäläinen
On Tue, 2010-06-08 at 10:37 +0200, ext Sascha Mäkelä wrote: > Hi, > > > In my app I have setAttribute(Qt::WA_Maemo5AutoOrientation, true) in > the main.cpp. The auto orientation works fine. However, I have some > stacked windows that I want to display only in landscape. I've tried > using setAttr

Re: Help with dependencies needed

2010-06-08 Thread Chris Walker
On 08/06/10 08:15, daniel wilms wrote: ext Chris Walker wrote: On 02/06/10 13:27, daniel wilms wrote: That has 2 lines of output :- GNU nano 1.2.4 and 5.0update5 Fremantle There is one newer update, but this should contain all the Qt libraries. Can you clarify your first line please? Do yo

RE: How to get kinetic scrolling working using Qt creator

2010-06-08 Thread Sudheer K .
I think my previous message was not posted because of attachments. So, posting again with the link to the source code in garage page. https://garage.maemo.org/plugins/ggit/browse.php/?p=vicar;a=tree;f=src/vicar-config/uis;h=3e2e395c649bd1d5d92490fb2e959b734c77ab1a;hb=af05031713c05157ffb173

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Daniil Ivanov
Hi Kimmo! It sets in case Qt::WA_Maemo5PortraitOrientation true Qt::WA_Maemo5LandscapeOrientation false _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 _HILDON_PORTRAIT_MODE_REQUEST(CARDINAL) = 1 I just wonder what will happen if to set _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 _HILDON_PORTRAIT_MO

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Kimmo Hämäläinen
On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: > Hi Kimmo! > > It sets in case Qt::WA_Maemo5PortraitOrientation true > Qt::WA_Maemo5LandscapeOrientation false > _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 > _HILDON_PORTRAIT_MODE_REQUEST(CARDINAL) = 1 What about in the case that you

Re: How to get kinetic scrolling working using Qt creator

2010-06-08 Thread Daniil Ivanov
Hi Sudheer! Can you try this sample application #include int main (int argc, char **argv) { QApplication app(argc, argv); QPixmap pixmap(1000, 1000); pixmap.fill(Qt::green); QLabel *label = new QLabel; label->setPixmap(pixmap); QScrollArea *scroll = new QScrollArea;

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Daniil Ivanov
Hi Kimmo! 2010/6/8 Kimmo Hämäläinen : > On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: >> Hi Kimmo! >> >> It sets in case Qt::WA_Maemo5PortraitOrientation true >>  Qt::WA_Maemo5LandscapeOrientation false >> _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 >> _HILDON_PORTRAIT_MODE_REQUEST(C

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Kimmo Hämäläinen
On Tue, 2010-06-08 at 16:05 +0200, ext Daniil Ivanov wrote: > Hi Kimmo! > > 2010/6/8 Kimmo Hämäläinen : > > On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: > >> Hi Kimmo! > >> > >> It sets in case Qt::WA_Maemo5PortraitOrientation true > >> Qt::WA_Maemo5LandscapeOrientation false > >>

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Daniil Ivanov
Hi Kimmo! You convinced me to report a bug ;) Thanks, Daniil. 2010/6/8 Kimmo Hämäläinen : > On Tue, 2010-06-08 at 16:05 +0200, ext Daniil Ivanov wrote: >> Hi Kimmo! >> >> 2010/6/8 Kimmo Hämäläinen : >> > On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: >> >> Hi Kimmo! >> >> >> >> It

Maemo/Nokia n900

2010-06-08 Thread fluke box
Hi All, Are N900 propriety libraries API available for developers ? If Yes, where can i find the documentation for the same ? Thanks &Regards, flukebox ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/list

Re: Maemo/Nokia n900

2010-06-08 Thread Andre Klapper
Hi, Am Dienstag, den 08.06.2010, 20:50 +0530 schrieb fluke box: >Are N900 propriety libraries API available for developers ? > If Yes, where can i find the documentation for the same ? Either http://library.maemodocs.nokia.com/fremantle/index.jsp or http://maemo.org/api_refs/5.0/5.0-final/

RE: How to get kinetic scrolling working using Qt creator

2010-06-08 Thread Sudheer K .
Daniil, Yes, both horizontal and vertical scrolling are working with your code. Now how do we get this to work in my case? :) In my case, I have a scrollAreaWidgetContents (QWidget) 798 x 476 added to scrollArea. I can not resize this object using Qt creator. Even if I try to change the ui he

Re: Maemo/Nokia n900

2010-06-08 Thread fluke box
Thanks Andre. Sorry for cross posting. I wasn't sure where to ask this question. Thanks, flukebox On Tue, Jun 8, 2010 at 9:08 PM, Andre Klapper wrote: > Hi, > > Am Dienstag, den 08.06.2010, 20:50 +0530 schrieb fluke box: > >Are N900 propriety libraries API available for developers ? > > I