I have a Qt/C++ acpplication which is using a C++ library.
This library has a log mechanism that writes string messages to standard error.
Now, I would like to be able to redirect those messages toward a panel in my Qt tool.
I would like to avoid modifying the library because is adopted by many other clients.
Any idea how to get at runtime these messages?
Having instead the possibility of changing it what could be a good practise for carrying those messages up to the application?
Here I found a complete implemenation of what i needed…
Thanks everybody for the help! 🙂
Will loading a DLL dynamically reconcile its stderr to a main application? If so, then how…?