View Single Post
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#9
Someone please correct me if I'm wrong. It is my understanding that if you want a Python/Qt app to work on both the N9 and the N900 you will have to use PySide (the version of PyQt created by Nokia). Although you can code your app in a way that it will use whichever of the two is installed:
Code:
try:
    from PyQt import QtCore, QtGui
    import pyqt_utils as utils
except ImportError:
    from PySide import QtCore, QtGui
    import pyside_utils as utils
Also, while applications using Qt widgets written with PyQt/PySide will look native on the N900, they will look a bit retro/desktopish on the N9. For applications to look native (with style applied) on the N9 they need to be written using QML. But, I don't think Python/QML apps will work on the N900, right? How mature is Python/QML on the N900?

Using PyQt you will only be able to write GPL (license) programs, unless you purchase a different license from them. Using PySide you are able to write proprietary programs, but PySide may not be as mature as PyQt, not sure about this.

Any way, hope some of this helps a little.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/

Last edited by rm42; 2012-01-05 at 14:52.