Qt-interest Archive, March 2002
loading a qt ui as a shared object?
Message 1 in thread
I've been trying to load a ui done with QT. It will load and show correctly
but on shutdown it will crash in a strtok() call... (somewhere in qt).
The traceback from gdb doesn't make too much sence, but here it is:
(gdb) run
Starting program: /home/moose/.projects/onetoo/src/./onetoo
[New Thread 1024 (LWP 933)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 933)]
0x406f0077 in strtok () from /lib/libc.so.6
(gdb) bt
#0 0x406f0077 in strtok () from /lib/libc.so.6
#1 0x08057b64 in _IO_stdin_used ()
#2 0x00736e69 in ?? ()
Cannot access memory at address 0x67756c70
Before I moved the QT code into a shared object (.so) it worked fine.
I know its possible to load QT code as a .so, Is there anything special you
must do with QT code to make sure it works in a .so?
--
[ signature omitted ]
Message 2 in thread
Please ignore my previous post... It seemed at one point to be a result of
the change I made to load the ui as a .so... but it seems now that it isn't.
--
[ signature omitted ]