qt5base: adding directfb hook support