use QX11Info::isPlatformX11()

Authored by mart on Jan 24 2018, 4:47 PM.