AW: [vtkusers] Error compiling VTK Examples/GUI/Qt

Hegenbart, Lars Lars.Hegenbart at hs.fzk.de
Mon Dec 17 03:14:29 EST 2007


Ken,

 

.ui-files need to be treated by the uic3.exe or uic.exe, not the
MS-compiler.

I am not familiar with Qt3.2, since I am using Qt4.

When processing ui-files, "ui_classname"-files are generated. They
probably contain your missing "Form1".

 

Best regards

Lars

 

________________________________

Von: vtkusers-bounces+lars.hegenbart=hs.fzk.de at vtk.org
[mailto:vtkusers-bounces+lars.hegenbart=hs.fzk.de at vtk.org] Im Auftrag
von Ken Urish
Gesendet: Montag, 17. Dezember 2007 06:32
An: vtkusers at vtk.org
Betreff: [vtkusers] Error compiling VTK Examples/GUI/Qt

 

Hey

Having trouble getting vtk/qt examples to compile. I am getting a number
of error messages mostly along the lines of: 
1. "....GUI\Qt\SimpleView\uiSimpleView3.ui(233): error C2501: 'Index' :
missing storage-class or type specifiers" 
2. "....GUI\Qt\SimpleView\uiSimpleView3.ui(41): error C2332: 'class' :
missing tag name"
In general the *.ui file is making the compiler very angry.

For the GUI\Qt\Events, I am getting a number of errors based around not
knowing what "Form1" is: 
1. "....GUI\Qt\Events\main.cxx(36): error C2065: 'Form1' : undeclared
identifier"

Any thoughts? I really appreciate the help.

CMake 2.4  QT 3.2   VTK 5.0   MSVS 7

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071217/ea26ed50/attachment.htm>


More information about the vtkusers mailing list