diff --git a/Dockerfile b/Dockerfile
index f4fa92c5fd638ae74380081458d800127c278cc1..5861a7e459621a2ae459c45f5e6518ce837d72f9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -98,5 +98,5 @@ RUN /app/DeepLabCut/deepenv/bin/pip install .["gui"]
 # Set the entry point to use the correct Python from the virtual environment
 #ENTRYPOINT ["/app/DeepLabCut/deepenv/bin/python3", "-m", "deeplabcut"]
 
-RUN strip --remove-section=.note.ABI-tag /app/DeepLabCut/deepenv/lib/python3.9/site-packages/PySide6/Qt/lib/libQt6Core.so.6
+RUN strip --remove-section=.note.ABI-tag /lib/x86_64-linux-gnu/libQt5Core.so.5
 ENTRYPOINT ["/bin/bash"]