Cannot run qmake in Mac Terminal

前端 未结 6 1523
日久生厌
日久生厌 2021-02-13 02:30

I\'m learning Qt for my C++ course at college. I am trying to set up the environment for my first assignment but I can\'t seem to get it right. I swear I have run qmake in the

6条回答
  •  盖世英雄少女心
    2021-02-13 02:52

    For me, I realised that the .bashrc file was not getting autoloaded on a new terminal session after adding the qmake PATH to the file (using echo 'export PATH="$(brew --prefix qt@5.5)/bin:$PATH"' >> ~/.bashrc).

    So I simply run source ~/.bashrc and bam! It worked!

提交回复
热议问题