Qt Creator on macOS
Install
$ brew install cmake qt
$ brew cask install qt-creator
Config
If Kits, Qt Versions and CMake are not autodetected, in Qt Creator > Preferences > Kits
:
- Add Qt Version (path to
qmake
)
# because Qt Creator won't let you choose binary from /usr
ln -s /usr/local/opt/qt/bin/qmake ~/Desktop
# add Qt Version, quit Qt Creator and then do
atom .config/QtProject/qtcreator/qtversion.xml
rm ~/Desktop/qmake
- Add CMake with path to
cmake
. - Add Kit with default values.