if(OIV_ENABLE_QT_DEMOS)
  find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets QUIET)
  if(Qt${QT_VERSION_MAJOR}Widgets_FOUND)
    set(CMAKE_INCLUDE_CURRENT_DIR ON)
    set(CMAKE_AUTOUIC ON)
    set(CMAKE_AUTOMOC ON)
    set(DEMO_NAME horizonInVolume)
    add_oiv_qt_executable_notest(${DEMO_NAME}
      ${DEMO_NAME}.cxx
      GUIWidget.cxx
      GUIWidget.h
      GUIWidget.ui
    )
    target_link_libraries(${DEMO_NAME}
      ${OpenInventorQtViewerComponents_LIBRARIES}
      Qt::Widgets
    )
  endif()
endif()
