user3229896
user3229896

Reputation: 1

VTK crashes with QT Plugins qjpeg.dll

I am developing a software using Qt Library 4.8.4, VTK6.0, OpenCV2.4.3. CMake and MSVC2010 are used to build and compile the project.

Only for the Release version, it crashes at runtime. I figured out that the problems is caused by C:\Qt\4.8.4\plugins\imageformats\qjpeg4.dll and qjpeg4.lib. The software runs perfectly if these files cannot be located (renamed or removed from their directory).

Since I have nothing to do with this plugin at all, I have tried reconfiguring CMakeList for VTK and my project to disable this plugin by removing the path. This doesn't solve the problem. Therefore, I assume that this plugin is called by some dependencies of QT.

Any idea to solve this problem? Thank you.

Upvotes: 0

Views: 278

Answers (1)

Most likely the problem is not caused by those plugins, the problem is caused elsewhere and gets those plugins to crash. Maybe you have a broken jpeg file that gets loaded. But most likely you're facing a memory bug. You'd need to compile it under linux and run using valgrind to see what's up.

I hope that you did recompile all parts of this project with the same C++ compiler?

Upvotes: 1

Related Questions