I'm reading ``C++ GUI Programming with Qt 4", where I found the following statement
Unlike the Standard C++ dynamic_cast(), Qt’s qobject_cast() works correctly across dynamic library boundaries.
A similar statement appears in the official Qt documentation at
https://doc.qt.io/qt-5/qobject.html#qobject_cast
What does it mean? Where exactly we cannot use dynamic_cast in C++ ? And what about virtual functions? Is it safe to use them with dynamically linked libraries?