Please, use the search.php facility of the forum to search for “MacOs QtRoot” keywords combination to find:
The bottom line of those discussions - one needs to follow root.bnl.gov/QtRoot/How2Install4Unix.html to get things working on MacOs.