# vtkGUISupportQtQuickCxxTests error

**URL:** <https://discourse.vtk.org/t/vtkguisupportqtquickcxxtests-error/11449>\
**Category:** Development\
**Created:** [May 13, 2023, 11:17am UTC](https://discourse.vtk.org/t/vtkguisupportqtquickcxxtests-error/11449 "2023-05-13T11:17:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marlon.ma](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marlon.ma/32/6091_2.png) [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Post date:** [May 13, 2023, 11:17am UTC](https://discourse.vtk.org/t/vtkguisupportqtquickcxxtests-error/11449/1 "2023-05-13T11:17:10Z")

</div>

```auto
Available tests:
  0. TestQQuickVTKRenderItem
  1. TestQQuickVTKRenderItemWidget
  2. TestQQuickVTKRenderWindow
To run a test, enter the test number: 1
CTEST_FULL_OUTPUT (Avoid ctest truncation of output)
QML2_IMPORT_PATH: QList("D:/vtk9.2/build/bin/Release", "qrc:/qt-project.org/imports", "D:/vtk9.2/souse/VTK-9.2.2/GUISupport/QtQuick/qml", "D:/QT/6.4.0/msvc2019_64/qml")
QQmlApplicationEngine failed to load component
qrc:/TestQQuickVTKRenderItemWidget.qml:8:1: module "VTK" is not installed
( 2.461s) [main thread]vtkWindowsTestUtilities:32 ERR| Error: EXCEPTION_ACCESS_VIOLATION

( 3.087s) [main thread]vtkWindowsTestUtilities:98 ERR| at vtksys::SystemInformation::GetProgramStack
 at vtksys::SystemInformation::GetProgramStack
 at vtksys::SystemInformation::GetProgramStack
 at UnhandledExceptionFilter
 at RtlMoveMemory
 at _C_specific_handler
 at _chkstk
 at RtlFindCharInUnicodeString
 at KiUserExceptionDispatcher
 at QWindow::show
 at QWindow::show
 at QWindow::show
 at QWindow::show
 at BaseThreadInitThunk
 at RtlUserThreadStart

```

我想在vs2022中使用qt qml 和vtk进行开发  
I want to use qt QML and vtk for development in vs2022

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Post date:** [May 13, 2023, 12:57pm UTC](https://discourse.vtk.org/t/vtkguisupportqtquickcxxtests-error/11449/2 "2023-05-13T12:57:39Z")

</div>

Multi-config generators (like Visual Studio) are probably not well-tested here. I suggest using the `Ninja` generator instead.

---

<div class="post-metadata">

**Author:** ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Post date:** [May 14, 2023, 12:47pm UTC](https://discourse.vtk.org/t/vtkguisupportqtquickcxxtests-error/11449/3 "2023-05-14T12:47:24Z")

</div>

Hi,

Please, take a look at these;

> [@QML Example](https://discourse.vtk.org/t/qml-example/7247):
>
> Is there an example that uses the newer QML support besides the test cases? I’m having some issues getting a basic application (based off of the test applications) to actually run.

> [@build success but test failed based on master with Qt5.15.2 on ubuntu2004](https://discourse.vtk.org/t/build-success-but-test-failed-based-on-master-with-qt5-15-2-on-ubuntu2004/6298):
>
> Hi, there. I build the vtk source on branch master with Qt5.15.2 on ubuntu2004. when I run the test app, it failed like below information. anyone know how can I make the test run successful? very thanks. eton@9u:~/opt/vtks/vtk-src/build/bin$ ./vtkGUISupportQtQuickCxxTests Available tests: 0. TestQQuickVTKRenderItem 1. TestQQuickVTKRenderItemWidget 2. TestQQuickVTKRenderWindow To run a test, enter the test number: 0 CTEST\_FULL\_OUTPUT (Avoid ctest truncation of output) QML2\_IMPORT\_PA…

take care,

PC
