Well, thinking a bit more about the linker system I agree with you

Quote Originally Posted by wysota View Post
If you link your app against release version of Qt and the plugin against a debug version of Qt then you'd end up with linking two different Qt libraries (or sets of libraries) with the application.
True, but this is not what I do. I link both parts (app and plugin) against the same version of Qt. The problem is that I don't know whether it was built using "-debug-and-release". Any idea how this can be solved?

Regards