[vtkusers] Building QVTK Examples

Clinton Stimpson clinton at elemtech.com
Tue Jul 5 12:23:30 EDT 2005


> Date: Mon, 04 Jul 2005 21:32:01 -0400
> From: "Erica Sullivan" <cardsfan1995 at hotmail.com>
> Subject: [vtkusers] Building QVTK Examples
> To: vtkusers at vtk.org
> 
> I have tried to build the events and the simpleview examples found in 
> Examples/GUI/Qt using Qt 3.2 and VTK 4.2 in a Windows XP environment.  Both 
> examples produce the same build error: "-o is not recognized as an internal 
> or external command...".  The error occurred with the SimpleView example 
> while building the QT Wrapped file for moc_SimpleView.cxx.rule.  The error 
> occurred with the Events example while building gui.h.rule.  I am using MS 
> Visual Studio 6 to build both examples.  I was unable to figure out where 
> the -o option is coming from.  Is it possible that I built the QVTK files 
> wrong? Any advise?
> 
> Thks, Erica

Check that the QT_UIC_EXECUTABLE variable is set correctly in your CMakeCache.txt file.
If that variable is empty, you can get a  "-o ...." for a rule instead of  "uic -o ...."

Clint






More information about the vtkusers mailing list