VTK qt configuration on Ubuntu

Hello,
I’m trying to setup VTK with Qt5. Do I need qt5Qml + Qt5Quick if I just want to create a small project to display DICOM images. I’m asking that because I have these errors which are blocking me from configuring my VTK

<pre>Could not use git to determine source version, using version
 CMake Warning at Rendering/OpenGL2/CMakeLists.txt:408 (message):
   X11::Xcursor not found; custom cursors will be ignored.

 Could NOT find Qt5Quick (missing: Qt5Quick_DIR)
 Could NOT find Qt5Qml (missing: Qt5Qml_DIR)
 CMake Warning at CMake/vtkModule.cmake:4787 (find_package):
   Found package configuration file:

     /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake

   but it set Qt5_FOUND to FALSE so package &quot;Qt5&quot; is considered to be NOT
   FOUND.  Reason given by package:

   Failed to find Qt5 component &quot;Quick&quot; config file at
   &quot;/usr/lib/x86_64-linux-gnu/cmake/Qt5Quick/Qt5QuickConfig.cmake&quot;

   Failed to find Qt5 component &quot;Qml&quot; config file at
   &quot;/usr/lib/x86_64-linux-gnu/cmake/Qt5Qml/Qt5QmlConfig.cmake&quot;



 Call Stack (most recent call first):
   GUISupport/QtQuick/CMakeLists.txt:17 (vtk_module_find_package)

 CMake Error at CMake/vtkModule.cmake:4793 (message):
   Could not find the Qt5 external dependency.
 Call Stack (most recent call first):
   GUISupport/QtQuick/CMakeLists.txt:17 (vtk_module_find_package)

 Configuring incomplete, errors occurred!
</pre>

If you don’t need QtQuick support, you can pass -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick=NO. Otherwise you’ll need to install the QtQuick and QtQml libraries installed as well.

Where and how to add this option?
I’m on Linux machine and I only have this config options. I cant find DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick field even in advance mode

                                                     Page 1 of 1
 BUILD_SHARED_LIBS                ON
 CMAKE_BUILD_TYPE                 Release
 CMAKE_INSTALL_PREFIX             /usr/local
 OPENGL_GLES2_INCLUDE_DIR         /usr/include
 OPENGL_GLES3_INCLUDE_DIR         /usr/include
 Qt5Core_DIR                      /usr/lib/x86_64-linux-gnu/cmake/Qt5Core
 Qt5Gui_DIR                       /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui
 Qt5OpenGL_DIR                    /usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL
 Qt5Qml_DIR                       Qt5Qml_DIR-NOTFOUND
 Qt5Quick_DIR                     Qt5Quick_DIR-NOTFOUND
 Qt5Sql_DIR                       /usr/lib/x86_64-linux-gnu/cmake/Qt5Sql
 Qt5Widgets_DIR                   /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
 Qt5_DIR                          /usr/lib/x86_64-linux-gnu/cmake/Qt5
 Qt6_DIR                          Qt6_DIR-NOTFOUND
 VTK_BUILD_DOCUMENTATION          OFF
 VTK_BUILD_EXAMPLES               OFF
 VTK_BUILD_SCALED_SOA_ARRAYS      OFF
 VTK_BUILD_SPHINX_DOCUMENTATION   OFF
 VTK_BUILD_TESTING                OFF
 VTK_EXTRA_COMPILER_WARNINGS      OFF
 VTK_GROUP_ENABLE_Imaging         DEFAULT
 VTK_GROUP_ENABLE_MPI             DONT_WANT
 VTK_GROUP_ENABLE_Qt              YES
 VTK_GROUP_ENABLE_Rendering       WANT
 VTK_GROUP_ENABLE_StandAlone      WANT
 VTK_GROUP_ENABLE_Views           DEFAULT
 VTK_GROUP_ENABLE_Web             DEFAULT
 VTK_QT_VERSION                   Auto
 VTK_SMP_IMPLEMENTATION_TYPE      Sequential
 VTK_USE_CUDA                     OFF
 VTK_USE_LARGE_DATA               OFF
 VTK_USE_MEMKIND                  OFF
 VTK_USE_MPI                      OFF
 VTK_WRAP_JAVA                    OFF
 VTK_WRAP_PYTHON                  OFF
 X11_xcb_xkb_INCLUDE_PATH         X11_xcb_xkb_INCLUDE_PATH-NOTFOUND

fine I managed to install QML and QUICK with this command: ```
sudo apt-get install qtdeclarative5-dev

It works for me