[vtkusers] Busted Qt Examples

John Drescher drescherjm at gmail.com
Mon Mar 29 12:27:46 EDT 2010


On Mon, Mar 29, 2010 at 12:23 PM, Scott Johnson
<Scott.Johnson at neuwave.com> wrote:
> Hi Folks,
>
>
>
> Thanks for the help.  I’m attempting to build this on Windows under Visual
> Studio 2008.
>
>
>
> It turns out that the ui_SimpleView.h file is being generated, but I had to
> add ‘.’ to the search path for include files for it to compile.  I’m not
> familiar enough with CMake to know how to modify CMakeLists.txt to modify
> the search path from there.
>
>

Hmm. In my copy of the vtk example I have:

# Use the include path and library for Qt that is used by VTK.
INCLUDE_DIRECTORIES(
	  ${QT_INCLUDE_DIR}
	  ${CMAKE_CURRENT_BINARY_DIR}
	  ${CMAKE_CURRENT_SOURCE_DIR}
)

I must have had that problem as well..

John



More information about the vtkusers mailing list