From Issue #153January 2007
Nice article! I'm working right now in some projects with Qt Embedded and it's been good so far, but I'm curious about what specific library did you use to graph the heartbeat with Qtopia.
The only thing I've found that can make anything like this is a library called QWT which is not included in the Qt package.
Has anyone an example code for a graph that is updated continiously?
Using Nano-X is a real headache. Documentation is not good. Though we have no better solution for uClinux we are using in our project (another option is Framebuffer, he-he).
E.g. it's quite unobvious how to setup a regional-specific font.
You have to look into the sources all the time.
This is a nice start article for business and technical people also. This provides the first feel of the technology and the information.
Nano-X is indeed very small and basic but this is exactly why I think it's so worthwhile using it.
Many things can be implemented using simpler means and one has no difficulty looking directly at the Nano-X source code to get a grasp on how things are done there; an insight can be easily gained. I think this gives a developer more freedom of choice how to get things implemented in his own way - at least to some extend.
Also, another advantage arises in my opinion from the conceptual closeness of Nano-X to X. Nano-X might have nothing to do with X11 in any way, however, porting applications that use Xlib by design is very much feasible.
Although it is true that Nano-X lacks widgets to be natively used, there is an extension called TinyWidgets that builds on top of the Nano-X library. In addition to providing most of the elements of a modern graphical user interface it does also come with a graphical designer which I have found helpful so far for my work with Nano-X.
A good effort indeed !
May i note that Qtopia is NOT the embedded version of QT.
Qt library comes in many flavors, mainly for Desktop(development purpose) called Qt/X11 and Embedded(OSrc version for embedded systems) called Qt/Emb. Qt library makes use of the Frame buffer and Input devices.
Now comes Qtopia. It is more of a server (Palmtop-Environment UI for embedded systems) than a library, which runs _above_ the Qt/Emb(or Qt/X11 with Virtual Framebuffer on a development PC). In a way, Qtopia is itself an application making use of the underslying Qt library.
When you write applications for the final GUI, you usually use Qtopia headers and libraries(which in turn makes use of functions in Qt library).
By the way, i wonder why was OPIE(Open Palmtop Integrated Environment) not worth comparing in this study?
With Best Regards
Engineer Server development group
Samsung India Electronics Pvt. Ltd. (SRI Delhi)
Plot No. 2A, Optimus IT Park, Near Lotus Valley School
Sector - 126, Noida - 201303, U.P., India - 91
I found two on a web search:
you're clearly writing about the first one, but what's up with the second one??
It's the same. centurysoftware is run by Greg Haerr, who is also the main force behind Nano-x, the Nano-X SDK mentioned in your second link is pretty much outdated and abandoned.
Very good article, but I think you should mention that Qtopia Core is more then a GUI, it is an application framework. with a complete set of classes for things such as:
Does your application need to save and restore settings, Qtopia hs this built in
Does your app need to talk to a server. or maybe be a server. QSockets(UDP & TCP) and QTcpServer are nifty classes for doing this.
Do you need to do a heavy process outside the GUI thread, QThreads will aid here, and most classes in Qtopia are now thread safe
Qt comes with SQLite built in, and of course can talk to almost all major databases
If you send data to and from other devices QT will take care of little endian/ big endian. All objects are easy to serialize with QDataStream
Do you need to support more then one language. Qtopia comes with a tool called Linguist which allows you to add multi language support without additional programing. It also supports Asian charactor sets as well as manages right to left languages in every GUI widget
Need to use something like a cancel pixmap in more then one location. Qtopia apps will cache pixmaps so they get stored once no matter how many places you use them. QImage and QPixmaps work hand in hand so images can be scaled on depending how they are to be used.
QDbus makes it very easy for apps to talk to other Qtopia apps.
Want to have multiple looks for your display, perhaps a daytime display and a night time display. QTheme makes this very easy to do
I could have mentioned a lot of things, but as i was writing an article and not a book I had a limit on space, and then some things is left out.
nice to see trolltech salesmen trolling :)
don't forget to mention - the commercial embedded license for QT is ridiculously expensive.
wxWidgets is a viable route for a commercial product - LGPL.
"In Qtopia, I simply made a class, connected some signals and slots, and puff, the magic happened."
:) As for the scolling I check out the scroll function in QWidget. It is probably what you are looking for.
Maybe You think of internet tablets like the Nokia 770. But most of my customers do not have the need for a browser, they need a GUI specific for their device most often with no desktop.
And yes i would have liked to dive into the software availiable on the two platforms. And I would also have liked to research more on the add on libraries, that You can put on top of Nano-x to give you the buttons, textpads a.s.o. that you have in QTopia, but I had to set the limit somewhere or I would still be writing on the article.