conditionally use newer Qt APIs when building with Qt > 5.12
conditionally use newer Qt APIs when building with Qt > 5.12

- final bit of Qt deprecation work for if/when we switch to Qt 5.14

JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio