  In this paper, we prove the Miyaoka-Yau inequality for compact K\"ahler
manifolds with semi-positive canonical bundle. The key point of the proof is
the estimate for the $L^2$-norm of the scalar curvature along the
K\"ahler-Ricci flow.
