Fix build with Qt 5.13
The QDate include is no longer included transitively.
(cherry picked from commit 511d99b7745a6ce87a208bdbf69e631f1f136d53)