find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets QUIET)

if (Qt${QT_VERSION_MAJOR}Widgets_FOUND)
  project(SimpleVVizViewer)

  set(CMAKE_AUTOMOC ON)
  set(CMAKE_INCLUDE_CURRENT_DIR ON)

  add_oiv_runtest_parameter("$OIVHOME/data/models/chair.iv")

  add_oiv_qt_executable(${PROJECT_NAME} simpleVvizViewer.cxx)
	target_link_libraries(${PROJECT_NAME}
		${VolumeViz_LIBRARIES}
		${OpenInventorQt_LIBRARIES}
		Qt::Widgets
		)
endif()
