Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Qt4 apps are not working properly (linux chroot), possible shared memory problem?

OP lovyagin

25th August 2014, 03:27 PM   |  #1  
OP Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Aug 2014
I'm trying to install linux (Fedora) ARM packages into chroot environment on Android table (rooted). Everything seems to work fine except all of Qt4 applications. Their GUI windows are not displayed properly being luck of most of elements no matter I use android X server or linux VNC server.

Terminal output shows following error messages
QNativeImage: Unable to attach to shared memory segment.
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 56 (X_ChangeGC)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
(and so on).

I suppose the problem is shared memory segment. Either android doesn't support request for it or this segment is too small for Qt4. Is there any solution to enable shared memory?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes