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
Just to elaborate for anyone who finds that after installing qt5, can't access qmake in the terminal.
Install QT5 using:
brew install qt5
Then to allow access qmake from the terminal you'll need to run:
brew link qt5 --force
- 583
Just got it!
Install MacPorts: http://www.macports.org/
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.
- 1,764
The official Qt installer, including qmake, is available from nokia at http://qt.nokia.com/downloads, 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.
QMake 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!
- 57,881