[vtkusers] VTK with Qt 4.2.1

Anja Ende anja.ende at googlemail.com
Fri Nov 24 12:15:16 EST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061124/d3c3b6a5/attachment.htm>


More information about the vtkusers mailing list