--- a/photoscan.sh
+++ b/photoscan.sh
@@ -7,6 +7,7 @@
 if [ "${dirname%$tmp}" != "/" ]; then
 dirname=$PWD/$dirname
 fi
+unset QT_PLUGIN_PATH
 LD_LIBRARY_PATH=$dirname
 export LD_LIBRARY_PATH
 "$dirname/$appname" "$@"
