Add missing include
Fix Qt5 removeDirectory code