[configuration] Port to Qt 5.