# Help!I need compiled qt5.15+VTK8.2+DEBUG (means the compiled version is VTK8.2 +DEBUG and support QT5.15 development, )

**URL:** https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965
**Category:** Support
**Created:** [January 8, 2021, 5:24am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965 "2021-01-08T05:24:49Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 8, 2021, 5:24am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/1 "2021-01-08T05:24:49Z")

</div>

I have qt5.15+VTK9.0+DEBUG,but the functions do not work right.And I also have qt5.15+VTK8.2+RELEASE,then the functions work right.But when I compiled qt5.15+VTK8.2+DEBUG by myself,it always failed.So who can give me the Help!I need compiled qt5.15+VTK8.2+DEBUG ?

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [January 8, 2021, 9:58pm UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/2 "2021-01-08T21:58:53Z")

</div>

You can use existing open-source applications, such as ParaView, 3D Slicer, or MITK, to see how to properly link VTK and Qt into a workable application.

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [January 9, 2021, 9:26pm UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/3 "2021-01-09T21:26:16Z")

</div>

If you are using Windows check that your path points to the debug version of your compiled VTK version when building debug versions of the code. This

> qt5.15+VTK8.2+RELEASE,then the functions work right

makes me think that, in this case, the path is pointing to the release version so everything works Ok.

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 14, 2021, 7:11am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/4 "2021-01-14T07:11:00Z")

</div>

I downloaded a DEBUG version of compiled VTK8.2 and the problem already solved .

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 14, 2021, 9:06am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/5 "2021-01-14T09:06:16Z")

</div>

Where did you download it ?

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 15, 2021, 2:14am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/6 "2021-01-15T02:14:00Z")

</div>

> **[VTK-8.2.0-Install-VS2017-x64-ReleaseandDebug-C++代码类资源-CSDN下载](https://download.csdn.net/download/annjeff/11026067)**

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 15, 2021, 8:00am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/7 "2021-01-15T08:00:24Z")

</div>

Do not use that, it is not an official release in any capacity. Build your own VTK.

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 21, 2021, 6:44am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/8 "2021-01-21T06:44:42Z")

</div>

However,I can’t build it successfully.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 21, 2021, 9:42am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/9 "2021-01-21T09:42:05Z")

</div>

Then share your build error ?

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 27, 2021, 8:44am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/10 "2021-01-27T08:44:44Z")

</div>

![1611736770(1)](https://discourse.vtk.org/uploads/default/original/2X/a/a346529f9bfe22f6c097bd8211fc72c56c733927.png)  
This is a kind of example error and I wonder whether it’s OK if I just copy “vtkRenderingQt-8.2.lib” that compiled by others. ![1611737019(1)](https://discourse.vtk.org/uploads/default/original/2X/4/457305c12c516784d9d6f54a118784afd4fdee04.png)  
And it will block while download something.

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 27, 2021, 8:45am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/11 "2021-01-27T08:45:53Z")

</div>

![1611737106(1)](https://discourse.vtk.org/uploads/default/original/2X/8/8770497a5c9846511bc16f1f2d56211b6dbc6a0f.png)  
Like this.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 27, 2021, 9:05am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/12 "2021-01-27T09:05:59Z")

</div>

Juste disable testing in cmake:

BUILD\_TESTING=OFF

---

<div class="post-metadata">

### Author: ![Riton](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Riton](https://discourse.vtk.org/u/Riton)
#### Post date: [January 29, 2021, 6:00am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/13 "2021-01-29T06:00:57Z")

</div>

Thanks.  
But how to solve “Can not open vtkRenderingQt-8.2.lib file.” probolem.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [January 29, 2021, 6:26am UTC](https://discourse.vtk.org/t/help-i-need-compiled-qt5-15-vtk8-2-debug-means-the-compiled-version-is-vtk8-2-debug-and-support-qt5-15-development/4965/14 "2021-01-29T06:26:06Z")

</div>

After fixing the libarchive build error, start a top-level build and post a link to the full build log.
