[Qt-embedded-interest] Qt Embedded with 4 bit-per-pixel
Karl Krach
mailinglists at blueSpirit.la
Thu Mar 19 15:45:37 CET 2009
Hello,
I'm working on an embedded hardware, running a 2.4 kernel with qt 3.3. No I'm
evaluating qt 4.5 on the same device. My problem: A simple demo app with a
single combo box looks on the qt 3.3 quite nice, compiled with qt 4.5 it looks
really ugly.
Two screenshots to compare:
http://www.bluespirit.la/tmp/arm_qt33_combo.jpg
http://www.bluespirit.la/tmp/arm_qt45_combo.jpg
Both is 'out of the box'. Both is compiled with '-depth 4', because I have
only a 4bit grayscale display.
Theses are my qt 4.5 configure flags:
../qt-embedded-linux-commercial-src-4.5.0/configure -prefix
/home/KKrach/programs/arm-qt-embedded-4.5.0 -prefix-install -embedded arm
-xplatform qws/linux-arm-g++ -depths 4 -optimized-qmake -no-armfpa -no-opengl
-no-glib -no-exceptions -no-accessibility -no-qt3support -no-phonon
-no-phonon-backend -no-svg -no-webkit -no-scripttools -no-openssl -no-stl
-no-nis -nomake "examples demos docs" -no-gif -no-libtiff -qt-libpng
-no-libmng -no-sql-sqlite -no-mouse-pc -no-mouse-bus -no-mouse-yopy
-no-mouse-linuxtp -qt-kbd-usb -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-qvfb
-qt-gfx-transformed -no-gfx-multiscreen -confirm-license
and these the qt 3.3 configure flags:
/opt/qt/arm/qt-embedded-commercial-3.3.2-xml/configure -embedded arm -debug
-thread -shared -disable-canvas -disable-sql -disable-opengl -enable-xml
-qt-imgfmt-jpeg -qt-imgfmt-png -no-imgfmt-mng -no-stl -depths 4 -qvfb
-qt-gfx-vnc -qt-gfx-raster -qt-gfx-qvfb -qt-gfx-transformed -qt-kbd-usb
-no-mouse-pc -no-mouse-bus -no-mouse-yopy -no-mouse-linuxtp -no-gfx-mach64
-no-gfx-matrox -no-gfx-vga16-no-gfx-voodoo -no-gfx-snap -no-imgfmt-mng
-no-imgfmt-jpeg -no-cups -no-nis -no-style-platinum -disable-workspace
-no-gfx-snap
If I printf the depth information of QScreen, I get the following output:
./arm-qt-test -qws
QScreen supports 4Bit: true
physicalHeight= 113
physicalWidth = 169
pixelFormat = 0
depth = 4
pixmapDepth = 4
Any suggestions are welcome!
Thanks,
Charly
More information about the Qt-embedded-interest
mailing list