I'm trying to install QtiPlot on Mac OS X, but I can't compile it since qmake isn't known. How can I install qmake on Mac OS X?
6 Answers
Homebrew version
$ brew install qt 7 Just to elaborate for anyone who finds that after installing qt5, can't access qmake in the terminal.
Install QT5 using:
brew install qt5Then to allow access qmake from the terminal you'll need to run:
brew link qt5 --force 1 Just got it!
Install MacPorts:
On Terminal:
sudo port install qt4-mac
Then, I got qmake. You can install qtiplot directly by running: sudo port install qtiplot. Process takes about 3h.
The official Qt installer, including qmake, is available from nokia at , but BE CAREFUL:
The so-called "SDK" download, which appears near the top of the page is not what you want. Maddeningly, qmake and other needed tools are available from the "Qt Libraries" download. Scroll down the page and find "Qt libraries". This gets me confused every time I install Qt on the Mac.
0QMake is part of Qt since 3.0, earlier versions had tMake.
So, either look for tMake instead or install/upgrade your Qt to get QMake, good luck!
For installing Qt5 with brew, you can do
5brew install qt5