From Ubuntu, I bought a new iMac and tried to set up my Qt development. Everything else is already working. Xcode command line tools are also installed.
Because it surprised me how good brew and brew cask , I wanted to install Qt5 with them. On the one hand, it is very fast, and I do not need to go to any home page to download it. On the other hand, I do not need to worry about the installation directory. However, having multiple versions should also be much simpler.
I used the following commands:
brew install qt5
brew cask install qt-creator
Qt5 now installed under /usr/local/Cellar/qt5/5.4.1 . I also added the bin folder to my path (made in .bash_profile ). QtCreator, Linguist and all other applications are shown on my launcher. But, unfortunately, this has not yet been done.
QtCreator says no version of Qt is known. I tried adding qmake, but I was unable to navigate to the above folder.
Can someone give me a hint on how to fix this problem? Installing qt through the installer should be the last option.
source share