Unbreak build with Qt < 5.11 by disabling scratchpad plugin for those

Authored by kossebau on Dec 13 2018, 11:54 PM.