Add a flag to enable Qt deprecation warnings on Qt < 5.13