On Tuesday 05 May 2009 01:48:55 Jey Han Lau wrote: >We are currently trying to build a GUI application on Maemo, and after > listening to suggestions from a few Maemo developers we started > prototyping it with Python and Qt.
> Python and Qt seems easy since the UI code designed from Qt designer can > be converted into python automatically. But soon we came to realize that > only the UI code (in xml) is converted, any functions, methods or code > written in C++ for the original Qt application has to be manually > translated into Python. Seems reasonable but now we aren't so sure if > this is the best approach anymore... Could you elaborate what do you have to translate manually ? The PyQt development process is fully rounded in python, you don't have to touch C++ at any point unless you're using libraries without python bindings. The generic PyQt workflow is: - make your forms in qt designer - compile the forms via pyuic - compile any included resources via pyrrc - import results in your own python code - debug - make deb (either manually or via py2deb or some other tool) > Before we move on to spend more time using Python and Qt to develop our > program, we'd like to hear some comments from you developers : ) It gives you all the goods Qt has (not just GUI-wise) with a language that is very quick to develop in. The only downside is that it doesn't come by default in Maemo and many users who have not cloned to mmc are short on space to install it. Also, the fact that most of the packages in Maemo use GTK means you'll have to keep them both in memory and somewhat longer startup times for your qt app, but that's not critical, really.
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers