However at step 11 when trying to open QT it says qt5config.cmake is not found. It may require update or not available. Something like this prompts. I use apple silicon macbook. I previously used Ubuntu in my other PC, geant was working perfect there but ubuntu had many software and hardware related issues. So I tried to switch to macOS.
I also read the suggestions in this forum, however; they didn’t work for me. Any other suggestion how to pass the compilation part without QT= OFF.
7) Define the PKG_CONFIG_PATH environment variable for Qt 5 by typing in the terminal:
export PKG_CONFIG_PATH=/opt/homebrew/Cellar/qt@5/5.15.2_1/lib/pkgconfig/
export PATH=/opt/homebrew/Cellar/qt@5/5.15.2_1/bin:$PATH
is dependent on whether you have that exact version of the qt@5 formula installed (and brew currently ships 5.15.8). It’s cleaner to do: