The problem is not in VirtualBox, but in this port: x11-toolkits/qt5-quick
Try updating your ports tree. Maybe it's a bug that has been fixed already.
You can also try installing this port first:
Code:
cd /usr/ports/x11-toolkits/qt5-quick && make clean install
Or just install it from packages (pkg install).