![]() |
Re: I still don't get Maemo development.
Quote:
|
Re: I still don't get Maemo development.
Quote:
Quote:
IMHO PySide at the moment is just too rough on the edges for Maemo dev virgins (unless you *require* LGPL). |
Re: I still don't get Maemo development.
Quote:
Code:
from PyQt4 import QtCore,QtGui |
Re: I still don't get Maemo development.
I did get a long slew of errors when trying to install python2.5-qt4-gui. It probably did not install correctly or at all. When trying to force install the packages (apt-get -f install python2.5-qt4-core python2.5-qt4-gui) it tells me that both packages are already the newest version. However, even outside the virtual N900, on the scratchbox command line, when I launch Python, I cannot import qt.
|
Re: I still don't get Maemo development.
Quote:
Man, that must mean I need some new docs to follow. I am using an old book to refresh my self on PyQt development. But, I guess I need to get new one. :eek: |
Re: I still don't get Maemo development.
A few quick links until you get a proper book :) :
http://www.commandprompt.com/community/pyqt/ (disregard the blackadder stuff) http://lateral.netmanagers.com.ar/stories/BBS47.html http://www.zetcode.com/tutorials/pyqt4/ And of course the examples and docs dirs of http://www.riverbankcomputing.co.uk/...l-4.6.1.tar.gz |
Re: I still don't get Maemo development.
Quote:
from qt import * http://www.commandprompt.com/community/pyqt/x1067 I imagine that the concepts are still similar in PyQt4. I'll check your other links. Thanks a lot. |
Re: I still don't get Maemo development.
And to prove that it works. A screenshot of my first Maemo 5 app!!!
http://i222.photobucket.com/albums/d...helloworld.png Just a big button, but it works! ;):D |
Re: I still don't get Maemo development.
@rm42: why don't you post the source code, to show everyone how easy it is?
I'd post my own PyQt Hello World from Maemo 4, except that I've temporarily misplaced my N810. Regards, Roger |
Re: I still don't get Maemo development.
Sure. The code is adapted to PyQt4 from the book mentioned above.
Code:
import sys |
All times are GMT. The time now is 16:11. |
vBulletin® Version 3.8.8