QT 4.5 segmentation fault with 7" and VGA

Post Reply
fabianpie
Posts: 7
Joined: Sat Jan 24, 2009 12:08 pm

QT 4.5 segmentation fault with 7" and VGA

Post by fabianpie » Sat Jul 11, 2009 1:36 am

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

Harborseal
Posts: 9
Joined: Wed Apr 22, 2009 1:23 am
Location: USA
Contact:

Re: QT 4.5 segmentation fault with 7" and VGA

Post by Harborseal » Sun Aug 30, 2009 7:15 pm

DId you solve this yet? What are your comiler options?

JTY
Posts: 1
Joined: Sun Sep 20, 2009 3:12 am

Re: QT 4.5 segmentation fault with 7" and VGA

Post by JTY » Sat Sep 26, 2009 3:18 pm

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.
:mrgreen:

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests