Fix compilation with Qt 5.10

Authored by dfaure on Mar 21 2018, 2:35 PM.