I would suggest just moving (or removing) those libraries from /usr/local/lib and seeing if Qt applications start to work
I would suggest just moving (or removing) those libraries from /usr/local/lib and seeing if Qt applications start to work