Hi,
I cross compiled QT embedder 4.5 and everything is OK with kernel 2.6.29 compiled to support 3.5 LCD if I replace the kernel and connect 7" I got a segmentation fault, same happens with VGA adapter, obviously qtopia run OK. The framebuffer QT testing program run OK and detect the size of the 7" screen. Any ideas ?
Fabian
QT 4.5 segmentation fault with 7" and VGA
-
Harborseal
- Posts: 9
- Joined: Wed Apr 22, 2009 1:23 am
- Location: USA
- Contact:
Re: QT 4.5 segmentation fault with 7" and VGA
DId you solve this yet? What are your comiler options?
Re: QT 4.5 segmentation fault with 7" and VGA
I have Qt4.5.3 running on 7".
Had a long fight, but now it works.
Problem lies in qt4.x itself, but there is few workarounds.
If you have allready compiled qt4.x, try to remove /tmp/qt*/fonts/fontdb and try run qt app (works almost always).
But if you are just about to compile qt4.x, remove offscreen acceleration from source and lower optimization level to -O1 and add
QMAKE_CFLAGS_RELEASE += -fomit-frame-pointer -finline-functions -funroll-loops -falign-functions=2 -falign-loops=2 -falign-jumps=2
After this all apps work without any problems.

Had a long fight, but now it works.
Problem lies in qt4.x itself, but there is few workarounds.
If you have allready compiled qt4.x, try to remove /tmp/qt*/fonts/fontdb and try run qt app (works almost always).
But if you are just about to compile qt4.x, remove offscreen acceleration from source and lower optimization level to -O1 and add
QMAKE_CFLAGS_RELEASE += -fomit-frame-pointer -finline-functions -funroll-loops -falign-functions=2 -falign-loops=2 -falign-jumps=2
After this all apps work without any problems.
Who is online
Users browsing this forum: No registered users and 4 guests