# QT6.2 + VTK9.1 compile failed

**URL:** https://discourse.vtk.org/t/qt6-2-vtk9-1-compile-failed/7666
**Category:** Support
**Created:** [January 18, 2022, 11:21am UTC](https://discourse.vtk.org/t/qt6-2-vtk9-1-compile-failed/7666 "2022-01-18T11:21:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![longjiang321](https://discourse.vtk.org/user_avatar/discourse.vtk.org/longjiang321/32/8727_2.png) [@longjiang321](https://discourse.vtk.org/u/longjiang321)
#### Post date: [January 18, 2022, 11:21am UTC](https://discourse.vtk.org/t/qt6-2-vtk9-1-compile-failed/7666/1 "2022-01-18T11:21:18Z")

</div>

hi friends:  
when I try to compile QT6.2 with VTK9.1 on windows 10, had encounter so much diffcult, event though I had enable VTK\_GROUP\_ENABLE\_QT and set the QT version as 6!  
thank you very much in advance for your respond!!  
**Issue 1:**  
when I compile some thirdpart moudle, I always encount the error: in archive is not an object

 ![image](https://discourse.vtk.org/uploads/default/original/2X/e/e13b502075706e24d3de6863bd74989ceef48692.png)

**Issue 2**  
the thirdpart moudle of jsoncpp always pending at below status:

 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/72666f86cbb5b83a4d5fa7e2444786537f96928c.png)

**Issue 3**

I compile the VTK with command " mingw32-make.exe -j 21 -B", it pending at below status, no matter how long elapsed, it has no progress !!

 ![image](https://discourse.vtk.org/uploads/default/original/2X/0/0c3f2ddd4859664da75efce387795bb9d8b78e9d.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: [January 22, 2022, 4:17pm UTC](https://discourse.vtk.org/t/qt6-2-vtk9-1-compile-failed/7666/2 "2022-01-22T16:17:19Z")

</div>

Hmm. It seems you are making a static build? MinGW is not all that well tested, its static build even less so. Can you see in the task manager what process(es) are working when it is stalled?

@jschueller Any thoughts?

---

<div class="post-metadata">

### Author: ![longjiang321](https://discourse.vtk.org/user_avatar/discourse.vtk.org/longjiang321/32/8727_2.png) [@longjiang321](https://discourse.vtk.org/u/longjiang321)
#### Post date: [January 23, 2022, 4:10am UTC](https://discourse.vtk.org/t/qt6-2-vtk9-1-compile-failed/7666/3 "2022-01-23T04:10:48Z")

</div>

thank you so much for your reply, and I had given up to build VTK with mingW, it is so diffcult.  
thank you again!!
