# Building VTK 9.4.1 with Qt 6.8.1 with Qt Quick Support

**URL:** https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356
**Category:** Support
**Created:** [March 7, 2025, 8:00pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356 "2025-03-07T20:00:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![amkovt](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amkovt/32/9849_2.png) [@amkovt](https://discourse.vtk.org/u/amkovt)
#### Post date: [March 7, 2025, 8:00pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356/1 "2025-03-07T20:00:15Z")

</div>

Hi,

I am trying to build VTK 9.4.1 with Qt version 6.8.1 and enable Qt Quick support in the VTK build configuration. However, I’ve not been able to build it because VTK is looking for a **qmlplugindump** executable that was not found. I built Qt 6.8.1 from source too, but could not get the tool qmlplugindump built. I’m not sure if qmlplugindump is deprecated from the Qt side but wondering if anybody has encountered this issue.

Following are the build errors I get when trying to build VTK 9.4.1 with Qt Quick support in Ubuntu 22.04:

```auto
CMake Error at GUISupport/QtQuick/qml/CMakeLists.txt:74 (message):
  qmlplugindump executable not found.

  It is required to generate the qmltypes file for VTK Qml plugin.

-- Configuring incomplete, errors occurred!

```

Also, as per Qt documentation qmlplugindump seems to be replaced by another tool named qmltyperegistrar. Is there any plan to replace the usage of qmlplugindump with this new tool?

Thanks,

---

<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: [March 8, 2025, 2:19pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356/2 "2025-03-08T14:19:11Z")

</div>

Do you have a link to that documentation?

Cc: @sankhesh

---

<div class="post-metadata">

### Author: ![amkovt](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amkovt/32/9849_2.png) [@amkovt](https://discourse.vtk.org/u/amkovt)
#### Post date: [March 8, 2025, 5:18pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356/3 "2025-03-08T17:18:25Z")

</div>

this Qt documentation mentions briefly about qmlplugindump deprecation but not sure it is an official one.

> **[QML Modules in Qt 6.2](https://www.qt.io/blog/qml-modules-in-qt-6.2)**
>
> QML Modules are the high level structural feature of Qt. You should use them. In Qt 6.2 it becomes much easier to create QML Modules.

---

<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: [March 8, 2025, 9:22pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356/4 "2025-03-08T21:22:08Z")

</div>

I see that comments were added about it being deprecated in 6.2.0. Its replacement (`qmltyperegistrar`) has been around since 5.15.0. The in-code message for this is:

```auto
        std::cerr << "qmlplugindump is deprecated.\n"
                  << "Please declare your types using QML_ELEMENT and related macros.\n"
                  << "Then utilize the build system to invoke qmltyperegistrar in order to\n"
                  << "generate qmltypes files.\n";

```

---

<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: [March 8, 2025, 9:24pm UTC](https://discourse.vtk.org/t/building-vtk-9-4-1-with-qt-6-8-1-with-qt-quick-support/15356/5 "2025-03-08T21:24:34Z")

</div>

I’ll note that 6.9.0 still has `qmlplugindump` and I see nothing in the build system that changes how it is provided since deprecation.
