r434380 made massive changes to Qt4 and Qt5 in FreeBSD. Sadly, there are no instructions on how to upgrade an existing system. The changes to
ports/head/UPDATING didn’t help at all. Here are the notes I made while upgrading my laptop running stable/11.
To successfully install
misc/qtchooser and upgrade the remaining Qt4 and Qt5 ports, you need to recursively uninstall
At some point you to need to upgrade
devel/qt5-core before everything else, e.g.
portupgrade -fpv devel/qt5-core.