# Problems when installing VTK with Qt modules

**URL:** https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461
**Category:** Support
**Created:** [October 21, 2020, 1:15pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461 "2020-10-21T13:15:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ruf](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@Ruf](https://discourse.vtk.org/u/Ruf)
#### Post date: [October 21, 2020, 1:15pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461/1 "2020-10-21T13:15:50Z")

</div>

Hello everybody, this is the first time I ask for help here, first of all, thanks in advance.

Until recently, I have been working with VTK for my end-of-grade work without any problems. All the development with this tool is almost finished and I wanted to get with the program’s graphic interface with the help of Qt, but I’m having problems with the installation of its modules. I leave you a capture of the error in question.

Thanks again

 ![Captura5](https://discourse.vtk.org/uploads/default/original/2X/3/38335be7508df1e1e2f1bdb6ac002cd0ae28cbaa.png)

---

<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: [October 21, 2020, 2:02pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461/2 "2020-10-21T14:02:31Z")

</div>

It appears as though you have a broken or partial Qt installation. I’m not sure what would make `Qt5Core.lib` to not be available though. What does “reduced\_version” mean in your path?

---

<div class="post-metadata">

### Author: ![mchinand](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/a587f6/32.png) [@mchinand](https://discourse.vtk.org/u/mchinand)
#### Post date: [October 21, 2020, 2:14pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461/3 "2020-10-21T14:14:21Z")

</div>

Those Qt5Core\_DIR, etc. variables should probably be ‘C:\Qt\5.14.2\msvc2017\_64\lib\cmake\Qt5Core’ etc. (adjust as necessary for your Qt version and compiler). I think if you have C:\Qt\5.14.2\msvc2017\_64\bin (again, adjust as necessary) in your path and before any other Qt-related paths (e.g., C:\Qt\Tools…), cmake will determine these paths correctly with a clean build directory.

---

<div class="post-metadata">

### Author: ![Ruf](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@Ruf](https://discourse.vtk.org/u/Ruf)
#### Post date: [October 21, 2020, 2:28pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461/4 "2020-10-21T14:28:52Z")

</div>

Looks like I was using the wrong DIR

Thank you very much
