# Can I compile VTk 8.2.0 without qt?

**URL:** https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769
**Category:** Support
**Created:** [February 4, 2022, 1:35am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769 "2022-02-04T01:35:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![critchey](https://discourse.vtk.org/user_avatar/discourse.vtk.org/critchey/32/4648_2.png) [@critchey](https://discourse.vtk.org/u/critchey)
#### Post date: [February 4, 2022, 1:35am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769/1 "2022-02-04T01:35:51Z")

</div>

I’ve got vtk compiled using the standard cmake flags on osx, but it appears the dynlib files are linked to qt. I gave a look through the flags in `ccmake`, even the “advanced” flags and options like `Module_vtkGUISupportQt` are set to `OFF`. What could I be missing?

---

<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: [February 4, 2022, 3:04am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769/2 "2022-02-04T03:04:15Z")

</div>

Yeah, this is one of the “fun” things about the VTK pre-9 build system. The “OFF” requests for modules is only a request and if it is required by any other mechanism, it will still get built. Generally this is because of either testing dependencies from other modules (disable testing to handle this case) or from the “group” which is `VTK_Group_Qt` or something. The configure log should dump out why a module is needed; you can disable anything that ends up requiring it.

---

<div class="post-metadata">

### Author: ![critchey](https://discourse.vtk.org/user_avatar/discourse.vtk.org/critchey/32/4648_2.png) [@critchey](https://discourse.vtk.org/u/critchey)
#### Post date: [February 4, 2022, 4:19am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769/3 "2022-02-04T04:19:13Z")

</div>

Looking at the basic configuration, I see `VTK_Group_StandAlone` and `VTK_Group_Rendering` is `ON`, other groups are `OFF` Is there a way to check which ones require QT dependencies?

---

<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: [February 6, 2022, 4:41pm UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769/4 "2022-02-06T16:41:18Z")

</div>

The configure output lists why modules are required, so finding Qt there and seeing what brings it into the build would be helpful.

---

<div class="post-metadata">

### Author: ![critchey](https://discourse.vtk.org/user_avatar/discourse.vtk.org/critchey/32/4648_2.png) [@critchey](https://discourse.vtk.org/u/critchey)
#### Post date: [February 8, 2022, 5:48am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769/5 "2022-02-08T05:48:55Z")

</div>

I’ll look out for that. Thank you.
