MINGW_INSTALL=ucrt64

post_install() {
  if [ -f "${MINGW_INSTALL}/bin/qmake.exe" ]; then
    cd ${MINGW_INSTALL}/bin
      ./qtbinpatcher --verbose --nobackup --force --old-dir=@@QT_REAL_PREFIX/dir@@
    cd -
  fi
}

post_upgrade() {
  post_install
}
