diff --git a/bin/qt5_tool b/bin/qt5_tool
index 6743be0466e0dd78d4ad2a0656b060641807e81d..d1f0893dc3cd7c7c3896b1dbc0b8eab53daec03c 100755
--- a/bin/qt5_tool
+++ b/bin/qt5_tool
@@ -27,6 +27,7 @@ use File::Copy;
 use POSIX;
 use IO::File;
 use File::Path;
+use Cwd 'realpath';
 
 my $CLEAN=0;
 my $PULL=0;