diff --git a/setup/git_post_checkout_hook.py b/setup/git_post_checkout_hook.py index 780fe8cbb1..c9a27b077b 100755 --- a/setup/git_post_checkout_hook.py +++ b/setup/git_post_checkout_hook.py @@ -47,7 +47,7 @@ elif flags in ('master', 'qt5'): if is_qt5_transition: # Rebuild PyQt extensions if not os.path.exists('.git/rebase-merge'): # Dont rebuild if we are rebasing - for ext in ('progress_indicator', 'pictureflow'): + for ext in ('progress_indicator', 'pictureflow', 'qt_hack'): extdir = os.path.join('build', 'pyqt', ext) if os.path.exists(extdir): shutil.rmtree(extdir)