Hey, you there!
I’ve seen you coming around here, scoffing at some of them ugly user interfaces. I can tell by the way you carry yourself that you are into making your stuff stand out. Adding extra style, animation, zazz and bling to everything you touch.
Pleased to meet ya, they call me the Widget Pimp. I’ve […]
DirectFB
From Qt Labs
| DirectFB | |||
| |||
| Platforms: | Qtopia Core | ||
| Qt version: | 4.3.0 | ||
| License: | GPL | ||
| Depends on: | DirectFB v1.0.0 | ||
DirectFB blogs | |||
Subversion:
| |||
[edit] DirectFB for Qtopia Core
[edit]
DirectFB is a thin library that provides hardware graphics acceleration on Linux without bindings to X11 or any other windowing system. This makes it popular in smaller systems such as set-top boxes. It is, however, not a GUI toolkit providing you with high level widgets needed for rich graphical applications. The DirectFB screen driver plugin for Qtopia Core enables use of hardware acceleration while still having the full Qt API to work with.
[edit] Quick Start
Before you start you need to have a working installation of DirectFB. Take a look at http://www.directfb.org for downloads and installation instructions.
Of course you also need a build of Qtopia Core.
Download the source code:
svn checkout svn://labs.trolltech.com/svn/qtopia/directfb
The driver relies on so-called private header files within the Qtopia Core source. These are header files that are not available after Qtopia Core has been installed. You must therefore tell qmake to locate headers in the Qtopia Core source directory, and not in the headers installed on your system. The next commands assumes you've downloaded and unpacked the Qtopia Core source in $QTSRCDIR.
cd directfb
${QTSRCDIR}/bin/qmake -recursive -cache ${QTSRCDIR}/.qmake.cache
make && make install
At this point you should find the following files in your Qtopia Core installation directory:
plugins/gfxdrivers/libqdirectfbscreen.so, plugins/kbddrivers/libqdirectfbkeyboard.so, plugins/mousedrivers/libqdirectfbmouse.so
To start an application using the new driver, either set the environment variable QWS_DISPLAY=directfb, or run your application with the -display argument. E.g:
myapp -display directfb
If you're only seeing a message saying "directfb: driver not found" you'll hopefully get some more information about what went wrong by setting the environment variable QT_DEBUG_PLUGINS=1 before running your application.
[edit] Project Status
The driver has been integrated into the Qtopia Core 4.4 source tree and should be available in the 4.4 daily snapshots. The subversion repository is no longer maintained.
[edit] Known issues:
- With Qtopia Core 4.3.0 QPainter::drawImage() doesn't work for the non-trivial cases. This is fixed in Qtopia Core 4.3.1. See the Forum for a patch against 4.3.0.
[edit] Todo:
- Rootless mode: Be able to run non-Qt and Qt applications simultaneously.
- OpenGL support.
[edit]
[edit] Latest 5 Qt Blogs
I’ve been in computers too long, whenever someone talks to me about error codes I think about the very old MacOs releases, or even longer ago the Amiga crash codes.
But I’m afraid you see them still, a dialog giving a very helpful “sorry, error 1234 happened”.
Now, anyone that is a coder knows how difficult it […]
Along with the rebranding of Qtopia to Qt Extended, comes a new url - Qtextended.org! It will take place of qtopia.net (which should soon take you to qtextended.org)
You can use this new site for downloading Qt Extended open source releases, snapshot packages, SDK’s and flash image files. You can post your Qt Extended applications for […]
One of the few remaining complaints against Qt applications using QGtkStyle on GNOME have been about the file dialog. So far it certainly looked like a GTK+ dialog, but it was not exactly the same dialog that other applications had been using. While I’m not really in a position to comment on which dialog is […]
Well, now. The news is out, I can finally talk openly about this. Qtopia has been renamed Qt Extended!
There are new logos in the gui formerly known as Qtopia. Qtopia.net will be rebranded in the very near future, once the dust settles from the main web sites redesign.
Qt Software and Nokia are still committed to […]
