OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Gtk And Qt Have To Work Using Same X Server..
apulu
post Apr 18 2008, 08:19 PM
Post #1





Group: Members
Posts: 4
Joined: 18-April 08
Member No.: 21,650



hi all..
I am able to run gtk applications with x server and qt applications with qpe separatly..(for ARM )..
Is it possible to run both gtk and qt applications using single server..??
I am using jffs2 filesystem..
Is it possible to use X/QT jumbo package for my filesystem..??Anyone having idea abt this..??

Thank you.......
Go to the top of the page
 
+Quote Post
ofels
post Apr 20 2008, 09:16 PM
Post #2





Group: Members
Posts: 142
Joined: 4-December 06
From: Lake Constance, Germany
Member No.: 13,087



QUOTE(apulu @ Apr 19 2008, 06:19 AM) *
hi all..
I am able to run gtk applications with x server and qt applications with qpe separatly..(for ARM )..
Is it possible to run both gtk and qt applications using single server..??
I am using jffs2 filesystem..
Is it possible to use X/QT jumbo package for my filesystem..??Anyone having idea abt this..??

Thank you.......


Currently you can not run Opie and X together because Opie is using qt/e directly on the framebuffer.
I once had build Opie with Qt for X but it eg. lacks the qcop communication part and is only partialy usable.
So there is a lot of work needed before this will work.

There are several solutions available, one it so use X/Qt, the other to run Opie and X on different virtual framebuffer terminals.
Both require a lot of heap memory and personally I did not find them to be rather convenient.

Oliver
Go to the top of the page
 
+Quote Post
apulu
post Apr 22 2008, 10:55 PM
Post #3





Group: Members
Posts: 4
Joined: 18-April 08
Member No.: 21,650



Ok..I will give a try to workout X/QT..
Right now I installed " xqt-server_0.0.9_arm.ipk " for my system..(one package from xqt-jumbo package)
When I gave strartx I got errors like this..

CODE
[root@51Board ~]# /opt/QtPalmtop/bin/startx
hostname: 51Board: Unknown host
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

/opt/QtPalmtop/bin/Xqt: relocation error: /opt/QtPalmtop/bin/Xqt: undefined symbol: _7QString.shared_null
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.


Can you tel me what it means..??
Why I am not able to run X server..??
My filesystem is jffs2,,This ipkg willnt work for this..??
Go to the top of the page
 
+Quote Post
apulu
post Apr 23 2008, 11:29 PM
Post #4





Group: Members
Posts: 4
Joined: 18-April 08
Member No.: 21,650



When I tried to run only Xqt I got..

CODE
Xqt: relocation error: Xqt: undefined symbol: _7QString.shared_null


When I straced it.. i got..

CODE
[root@51Board ~]# strace Xqt
execve("/usr/bin/Xqt", ["Xqt"], [/* 18 vars */]) = 0
brk(0) = 0xdf324
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=7948, ...}) = 0
old_mmap(NULL, 7948, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
close(3) = 0
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\|r\004"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=297404, ...}) = 0
old_mmap(NULL, 327884, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40066000, 45260, PROT_NONE) = 0
old_mmap(0x40069000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x40000) = 0x40069000
close(3) = 0
open("/opt/QtPalmtop/lib/libqpe.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\L\40"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1458768, ...}) = 0
old_mmap(NULL, 1312132, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40072000
mprotect(0x401a0000, 75140, PROT_NONE) = 0
old_mmap(0x401a2000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x128000) = 0x401a2000
old_mmap(0x401b2000, 1412, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401b2000
close(3) = 0
open("/opt/QtPalmtop/lib/libqte.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\X]\r04"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=3854458, ...}) = 0
old_mmap(NULL, 3307684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401b3000
mprotect(0x404b9000, 137380, PROT_NONE) = 0
old_mmap(0x404bb000, 122880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x300000) = 0x404bb000
old_mmap(0x404d9000, 6308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x404d9000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\10;\00"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=671432, ...}) = 0
old_mmap(NULL, 695972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x404db000
mprotect(0x4057d000, 32420, PROT_NONE) = 0
old_mmap(0x40583000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa0000) = 0x40583000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\250}\10"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1252508, ...}) = 0
old_mmap(NULL, 1269560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40585000
mprotect(0x406ad000, 57144, PROT_NONE) = 0
old_mmap(0x406ad000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x120000) = 0x406ad000
old_mmap(0x406b9000, 7992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x406b9000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
open("/work/qtopia-1.7.0/lib/v5l/fast-mult/half/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\304\31\"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=9020, ...}) = 0
old_mmap(NULL, 40364, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x406bb000
mprotect(0x406bd000, 32172, PROT_NONE) = 0
old_mmap(0x406c3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x406c3000
close(3) = 0
open("/work/qtopia-1.7.0/lib/v5l/fast-mult/half/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\244\n\00"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=19280, ...}) = 0
old_mmap(NULL, 210528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x406c5000
mprotect(0x406ca000, 190048, PROT_NONE) = 0
old_mmap(0x406cd000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x406cd000
old_mmap(0x406d2000, 157280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x406d2000
close(3) = 0
open("/work/qtopia-1.7.0/lib/v5l/fast-mult/half/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\\\\\3(\1\\340\22\"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=35019, ...}) = 0
old_mmap(NULL, 58472, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x406f9000
mprotect(0x40700000, 29800, PROT_NONE) = 0
old_mmap(0x40701000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40701000
close(3) = 0
mprotect(0x406c5000, 20480, PROT_READ|PROT_WRITE) = 0
mprotect(0x406c5000, 20480, PROT_READ|PROT_EXEC) = 0
mprotect(0x406bb000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0x406bb000, 8192, PROT_READ|PROT_EXEC) = 0
mprotect(0x40585000, 1212416, PROT_READ|PROT_WRITE) = 0
mprotect(0x40585000, 1212416, PROT_READ|PROT_EXEC) = 0
mprotect(0x404db000, 663552, PROT_READ|PROT_WRITE) = 0
mprotect(0x404db000, 663552, PROT_READ|PROT_EXEC) = 0
mprotect(0x401b3000, 3170304, PROT_READ|PROT_WRITE) = 0
mprotect(0x401b3000, 3170304, PROT_READ|PROT_EXEC) = 0
mprotect(0x40072000, 1236992, PROT_READ|PROT_WRITE) = 0
mprotect(0x40072000, 1236992, PROT_READ|PROT_EXEC) = 0
writev(2, [{"Xqt", 3}, {": ", 2}, {"relocation error", 16}, {": ", 2}, {"Xqt", 3}, {": ", 2}, {"undefined symbol: _7QString.shar"..., 39}, {"", 0}, {"", 0}, {"\n", 1}], 10Xqt: relocation error: Xqt: undefined symbol: _7QString.shared_null
) = 68
_exit(127) = ?


Can anyone help me to resolve this..
Why I am not able to run Xqt server..??

Thank you..
Go to the top of the page
 
+Quote Post
ofels
post Apr 24 2008, 09:16 PM
Post #5





Group: Members
Posts: 142
Joined: 4-December 06
From: Lake Constance, Germany
Member No.: 13,087



QUOTE(apulu @ Apr 23 2008, 08:55 AM) *
Ok..I will give a try to workout X/QT..
Right now I installed " xqt-server_0.0.9_arm.ipk " for my system..(one package from xqt-jumbo package)
When I gave strartx I got errors like this..

CODE
[root@51Board ~]# /opt/QtPalmtop/bin/startx
hostname: 51Board: Unknown host
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

/opt/QtPalmtop/bin/Xqt: relocation error: /opt/QtPalmtop/bin/Xqt: undefined symbol: _7QString.shared_null
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.


You XQt ipkg and your libqte have been built based on different versions. That happens if you eg. try to run a XQt package for Cacko or Sharp ROM with an Angstrom libqte.
In short terms: Your base system is not compatible with that XQt package so XQt has to be rebuild for your actual target system.

Oliver

Go to the top of the page
 
+Quote Post
apulu
post Apr 25 2008, 07:41 PM
Post #6





Group: Members
Posts: 4
Joined: 18-April 08
Member No.: 21,650



Thank you for ur reply..
Can you tel me from where I will get XQT server source..??Do you know any links..??

Thanks again..
Go to the top of the page
 
+Quote Post
rolf
post May 20 2008, 03:39 AM
Post #7





Group: Members
Posts: 108
Joined: 5-October 04
Member No.: 4,884



Sonkei distribution has a dualGUI image with Opie and X, but there are still rough edges.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 08:16 AM