Hey,<br><br>Thanks for the information Clint. Is there a workaround? I do not need to upgrade and I have access to the snapshot but I am wondering if the snapshot version is stable enough.<br><br>Cheers,<br>Anja<br><br><br>
<div><span class="gmail_quote">On 25/11/06, <b class="gmail_sendername">Clinton Stimpson</b> &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I ran into the same problem.<br>It is a bug in Qt 4.2.0 and 4.2.1.&nbsp;&nbsp;Trolltech has a fix in the soon to<br>be released 4.2.2.&nbsp;&nbsp;The latest snapshots have the fix too.<br>I've got more details about the problem if you need to know more.
<br><br>Clint<br><br>&gt; Hi all,<br>&gt;<br>&gt; I just installed Qt 4.2.1 along side my 4.1.4 version and ran a very simple<br>&gt; program. I am using VTK along with Qt and this worked without any problems<br>&gt; before.
<br>&gt;<br>&gt; However, when I run the program now, I get the following error:<br>&gt;<br>&gt; X Error: BadWindow (invalid Window parameter) 3<br>&gt;&nbsp;&nbsp;Major opcode: 3 (X_GetWindowAttributes)<br>&gt;&nbsp;&nbsp;Resource id:&nbsp;&nbsp;0x0<br>
&gt; X Error: BadValue (integer parameter out of range for operation) 2<br>&gt;&nbsp;&nbsp;Major opcode: 1 (X_CreateWindow)<br>&gt;&nbsp;&nbsp;Resource id:&nbsp;&nbsp;0x0<br>&gt; X Error: BadWindow (invalid Window parameter) 3<br>&gt;&nbsp;&nbsp;Major opcode: 20 (X_GetProperty)
<br>&gt;&nbsp;&nbsp;Resource id:&nbsp;&nbsp;0x0<br>&gt; X Error: BadWindow (invalid Window parameter) 3<br>&gt;&nbsp;&nbsp;Major opcode: 3 (X_GetWindowAttributes)<br>&gt;&nbsp;&nbsp;Resource id:&nbsp;&nbsp;0x3c00002<br>&gt; Segmentation fault<br>&gt;<br>&gt; This happens when I call the QVTKWidget SetRenderWindow method. Has anything
<br>&gt;<br>&gt; substantial changed that could cause this error?<br>&gt;<br>&gt; Anyone else here using Qt 4.2.1 successfully with VTK?<br>&gt;<br>&gt; Cheers,<br>&gt;<br>&gt; Anja<br><br><br></blockquote></div><br><br clear="all">
<br>-- <br>Cheers,<br><br>Anja