Not reviewed. Try to fix Qt build, after the rmdir() fixes.