[vtkusers] VTK with Qt 4.2.1

Anja Ende anja.ende at googlemail.com
Sat Nov 25 20:24:06 EST 2006


Hey,

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.

Cheers,
Anja


On 25/11/06, Clinton Stimpson <clinton at elemtech.com> wrote:
>
>
> I ran into the same problem.
> It is a bug in Qt 4.2.0 and 4.2.1.  Trolltech has a fix in the soon to
> be released 4.2.2.  The latest snapshots have the fix too.
> I've got more details about the problem if you need to know more.
>
> Clint
>
> > Hi all,
> >
> > I just installed Qt 4.2.1 along side my 4.1.4 version and ran a very
> simple
> > program. I am using VTK along with Qt and this worked without any
> problems
> > before.
> >
> > However, when I run the program now, I get the following error:
> >
> > X Error: BadWindow (invalid Window parameter) 3
> >  Major opcode: 3 (X_GetWindowAttributes)
> >  Resource id:  0x0
> > X Error: BadValue (integer parameter out of range for operation) 2
> >  Major opcode: 1 (X_CreateWindow)
> >  Resource id:  0x0
> > X Error: BadWindow (invalid Window parameter) 3
> >  Major opcode: 20 (X_GetProperty)
> >  Resource id:  0x0
> > X Error: BadWindow (invalid Window parameter) 3
> >  Major opcode: 3 (X_GetWindowAttributes)
> >  Resource id:  0x3c00002
> > Segmentation fault
> >
> > This happens when I call the QVTKWidget SetRenderWindow method. Has
> anything
> >
> > substantial changed that could cause this error?
> >
> > Anyone else here using Qt 4.2.1 successfully with VTK?
> >
> > Cheers,
> >
> > Anja
>
>
>


-- 
Cheers,

Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061126/5ae1fe85/attachment.htm>


More information about the vtkusers mailing list