Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved]KDReports and Qt plugins
Is there anybody tryed use KDReports from plugin? Before i never tryed combine them, and everything works fine, but now, if anywhere in plugin code i create objects of KDReport library, plugin gives error "Cannot load library [path to plugin file]: The specified module could not be found."
Qt version: 4.8.1
OS: Windows XP
Maybe a basic question but: are you sure that the KDReport dll is in the PATH when loading your plugin ?
Plugin dll and KDReports dll in a same directory. But one plugin can be loaded by different apps. Probably KDReport dlls should be located in same directory with every executable?
No, but it should be in a path that is found in the PATH variable or, you could try to add a call to QCoreApplication's addLibraryPath in your plugin
Unfortunately doesn't help.
Did you try modifying the PATH variable ?
Yes i did. It doesn’t help.
But problem solved by rebuilding KDReport and clean&rebuild my project.
Well then, there's only one thing left to do... Add solved to the thread's title :)