Thanks, again. My application is already pass/call data and functions between C++ and QML. What I really want to know is how I can notice the window is obscured by other window, so that I hide or stop animation.
Anyway, I reported this problem, and it is confirmed as a bug.
https://bugreports.qt-project.org/browse/QTBUG-29137