![]() PySide Wiki: http/developer.qt./wiki/PySideįirst, make sure to have MeeGo Netbook installed-either directly on your netbook or in a virtual machine. Later on, youjust exchange the Python backend with a C++ backend and can reuse the QML files from the Python app.ĭevelopment on the go: As Python is an interpreted language, the runtime already contains all the necessary tools to develop applications, so you don't have to install a compiler, development libraries and header files just to create apps-it's instant, and some people even develop Python GUl apps directly on handset devices like the N900. Prototyping: Even if you plan on writing a C++ Qt application, Python and PySide are a great combination for quickly prototyping your ideas.This could be useful to prototype a C++ backend of your QML application. Shorter code: In my experience, C++ applications using Qt have about 3 times as much lines of code as the equivalent Python applications-using the same libraries and Qt classes! And because it uses the native Qt libraries, library functions run at native (compiled) speed. Full access to the Qt libraries: PySide bindings allow access to all modules of Qt. ![]() This is especiallyimportant on low-powered netbooks. No compiling: Python is an interpreted language, so you can run your application right after saving the source in an editor. Garbage collection:You don't have to manually manage the memory of the objects you create-the Python garbage collector takes care of removing no longer needed objects Low barrier to entry: Python is a very easy to learn language, so you can get quickly up to speed- independent of whether or not you are already familiar with other languages Why should Iuse Python to develop MeeGo apps? ![]() #Gpodder variable speed how to#This tutorial will guide you through how to set up a PySide environment on your MeeGo Netbook and then show you some basics through examples, and finally well create a QML UI for an existing application (gPodder) that can be used on MeeGo Netbook and MeeGo Handset. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |