fix dependencies (use QScopedPointer again)