Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, December 2006
Qt drag-n-drop segfault


Message 1 in thread

Hello,

I just posted a question about a problem I'm having, probably due to 
programmer error on my part, to the Qt programming list.  The thread with the 
details is here:

	http://www.qtforum.org/thread.php?threadid=18973

It was suggested to me that I also post to this list.

The details are in the forum thread, including a trivial program that 
demonstrates the segfault; I won't copy them here.  The summary is that I'm 
trying to write a simple app that does drag-n-drop between two QListViews 
using Qt 3.3.6. The original app is in Ruby using Korundum, but converting 
the app to C++ produces the same result of a segfault at the point that Qt 
finishes processing the drop request.

I guess that I'm not freeing some resource, but the one tutorial I can find on 
using drag-n-drop in Qt doesn't go into that much detail.

Any help is appreciated.

Thanks, in advance.

-- 
 [ signature omitted ] 

Attachment: pgpxjheEBsjTL.pgp
Description: PGP signature


Message 2 in thread

Hi,

> I just posted a question about a problem I'm having, probably due to 
> programmer error on my part, to the Qt programming list.  The thread with the 
> details is here:
> 
> 	http://www.qtforum.org/thread.php?threadid=18973

I can reproduce the crash on Fedora Core 6 (with Nvidia drivers). Which 
exact system are you running?

For now I have no clue, I just get lots of these error messages before 
the crash:
	Xlib:  extension "SHAPE" missing on display ":0.0".
	Xlib:  extension "SHAPE" missing on display ":0.0".
Do you see them as well? Indeed 'xdpyinfo' shows that there's no SHAPE 
extension, but I don't know to what extent this is related to the crash:
	$ xdpyinfo
	[...]
	number of extensions:    15
	    Composite
	    DAMAGE
	    GLX
	    MIT-SHM
	    NV-CONTROL
	    NV-GLX
	    RANDR
	    RENDER
	    SECURITY
	    XC-APPGROUP
	    XFIXES
	    XFree86-Bigfont
	    XInputExtension
	    XKEYBOARD
	    XTEST
	[...]
$

--
 [ signature omitted ]