Fixes for Qt 5.3.