maemo

[Qt/N900/Maemo5] Strange compilation errors when I use Maemo5 specific Qt classes .. !

Hey guys .. I recently tried to use some Maemo5 specific classes (e.g. QMaemo5ListPickSelector, etc ..), and I'm getting some strange compile time errors .. Here is a small code I was trying out: QMaemo5ValueButton *x = new QMaemo5ValueButton("Hello"); QStandardItemModel model (10,2); int i,j,k; for(j=0;j<=1;j++) { k=0; for(i=0...

[Qt/Maemo5/N900] QMaemoListPickSelector not showing anything ..

Alright I tried using a QMaemo5ListPickSelector together with a QMaemo5ValueButton, but when I click on the button, a popup dialog box does come up, but it doesnt any list .. Here is a picture of what I mean: This is the code I'm using to start up the above mentioned two components and to populate the lists: QMaemo5ValueButton *x = ...

How to make a fancy shortcut on the desktop to my python app?

I've made this nice python app that runs when i use "python main.py" in terminal, but going thru the terminal each time is boring :-) how can i make a nice shortcut button with a img to have on my desktop? ...

[Qt/C++] Need help in setting the background of a QListPickSelector entry to an image ..

Hi all .... I'm using a QListPickSelector in my project and the idea is that it displays a set of images, rather than a list of strings .. Now I have tried using the setIcon() function, which works, but the image displayed is very tiny .. ! Here is the output I get when I use the setIcon() function: As you can see, the image displaye...

How can I package my qt application with Qt Creator in Nokia Qt SDK

I have written a simple qt application with qt creator, I have tested with PC simulation and N900 device, It's OK. Qt Creator created a .deb file in my mobile. but it can't be installed. The installer always complained "incomplete package..." The SDK document says I can modify my application's version, or I can skip the package step in ...

Scrolling area with PyQT on Maemo5

I'm not really accustomed to writing the UI in the code, so I need a few pointers. I'm trying to create a simple, horizontal scrolling dialog on my N900, but I can't figure out how to do this. This is what I have so far: def __init__(self,parent = None): QDialog.__init__(self,parent) #if name == None: self...

Programmatically requesting elevated rights in Linux

(This question has identical title, but question body asks it in scripting point of view, e.g. su -c, don't dupe this to that) I have a Qt GUI app that needs to perform some file operations in /etc based on user input. One option would probably to use system() with sudo, but even that requires messing with sudoers file in some point. I ...

Bring a window to the front in Maemo

I've got a Maemo (Qt) app that does some integration with the built-in media player via D-Bus. All the control functionality I need is complete, but I've got a requirement to show my application window (which gets backgrounded when playback starts) instead of the media player when the playback window is closed (it's a stacked window). I...

Qt: Mobility GeoLocation works on Simulator but not on N900

I use the following code to get GeoLocation for my app QGeoPositionInfoSource *source = QGeoPositionInfoSource::createDefaultSource(this); if (source) { source->setUpdateInterval(1000); // time in milliseconds source->setPreferredPositioningMethods(QGeoPositionInfoSource::AllPositioningMethods); connect(source, SIGNAL(positi...

How to find how old is Nokia n900 Phone?

How can i get details of Nokia n900 Phone? How old it is? how much talk time? ...