Results 1 to 2 of 2

Thread: Qt with DirectFB won't display properly.

  1. #1
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt with DirectFB won't display properly.

    Hi,

    I'm developping an embedded app for PowerPc with Qt 4.6.0 on a SUSE 11.2 host.
    Cross-compilation works fine, but when I run my Hallo World app on the powerPC development board characters are barely legible and the lines around labels and boxes are not solid.
    The display on the development board is 640*480 with depth of 16.
    I've tested the DirectFB driver with the test tol fbtest and it functions fine.
    It must be something to do with the configuration with Qt, but I haven't been able to find it yet.

    Thanks for any tips.

    This is my configuration for Qt:

    ./configure -confirm-license -release -no-fast -no-largefile -no-accessibility -no-sql-ibase -no-sql-mysql -no-sql-odbc
    -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-qt3support -no-mmx -no-3dnow -no-sse -no-sse2 -no-optimized-qmake
    -no-nis -no-cups -no-iconv -pch -force-pkg-config -embedded ppc -qt-decoration-styled -depths 8,16,24,32
    -prefix /usr -no-armfpa -xplatform qws/linux-ptx-g++ -make libs -make tools -nomake examples
    -nomake demos -plugin-gfx-directfb -plugin-gfx-linuxfb -no-gfx-transformed -no-gfx-qvfb -no-gfx-vnc -no-gfx-multiscreen
    -qt-kbd-tty -qt-kbd-usb -no-kbd-sl5000 -no-kbd-yopy -no-kbd-vr41xx -no-kbd-qvfb -qt-mouse-pc -qt-mouse-bus -qt-mouse-linuxtp
    -no-mouse-yopy -no-mouse-vr41xx -qt-mouse-tslib -no-mouse-qvfb -system-libpng -no-libmng -no-libtiff -no-gif -no-libjpeg
    -system-zlib -system-freetype -I/home/collins/links/OS_Dir/platform-phyCORE-MPC5121e/sysroot-target/usr/include/freetype2
    -big-endian -stl -no-glib -no-openssl -dbus -shared -xmlpatterns -exceptions -no-phonon -no-webkit -no-scripttools

  2. #2
    Join Date
    Sep 2010
    Posts
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt with DirectFB won't display properly.

    I'd just like to chime in that I'm also seeing this issue (or something very similar) in 4.6.3. I'm using an OpenSUSE 11.3 host and cross compiling for ARM. I have my physical screen dimensions set correctly in QWS_DISPLAY, but my text characters are either offset very high in their respective containers, or not visible at all, and I'm having various other display glitches.

    I can post a picture of my screen if it helps, but does anyone have any idea what could be causing these general display issues?

    My configure line is:
    ./configure -opensource -confirm-license -no-qt3support -no-javascript-jit -no-script -no-scripttools -no-webkit -qt-gfx-linuxfb -release -nomake examples -nomake demos -static -embedded arm -xplatform qws/linux-arm-g++ -little-endian -prefix /usr/local/Trolltech/Qt-arm-4.6.3


    Thanks,
    Chris

    Edit: I realized that I'm not using directfb, so we may not be having the same issue. However, the problem description sounds extremely similar, and i can't find any other posts which describe a similar graphical error.
    Last edited by chrisr_co; 16th September 2010 at 20:57.

Similar Threads

  1. Problem with Qt embedded 4.4.0 static & directfb
    By anselmolsm in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 3rd February 2012, 10:20
  2. Configuring Qt-Embedded with directFB
    By eduluz in forum Qt for Embedded and Mobile
    Replies: 9
    Last Post: 9th February 2011, 03:42
  3. qt-embedded + DirectFB
    By afybc in forum Qt Programming
    Replies: 0
    Last Post: 5th March 2010, 06:34
  4. Replies: 0
    Last Post: 4th November 2009, 18:15
  5. Qt Desiger don't display the Form properly
    By bzyx in forum Qt Tools
    Replies: 4
    Last Post: 8th December 2008, 15:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.