qt5: depends on Lion or newer

Closes #34719.