Can't speak for Apples (I use a Proper Computer
) but on a PC when you installed Lightroom 5, it should have picked up the catalogues and all other settings from the LR4 that was already installed. If you now uninstall LR4 in the normal way, it will do so but leave everthing that has been used by LR5.