Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 88 down vote accepted

Homebrew version

$ brew install qt
share|improve this answer
Better than MacPorts! – Fábio Perez Nov 5 '13 at 4:46
If you get Error: Qt currently requires --HEAD on Mavericks, run brew install qt --HEAD (requires git). – Jace Browning Jan 28 '14 at 3:37
This is exactly what Da Vinci was referring to when he said "Simplicity is the ultimate sophistication" – FloatingRock May 25 '15 at 9:40

Just got it!

  1. Install MacPorts:

  2. 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.

share|improve this answer
It appears that either updating the path, or manually symlinking qmake is now needed: – Ioannis Filippidis Nov 11 '15 at 23:10

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.

share|improve this answer
Thanks for answering this - this one did it for me. – dmonopoly Mar 28 '12 at 22:49

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!

share|improve this answer
I don't have Qt installed. I just want to install QtiPlot, but their documentation isn't intuitive. – Fábio Perez Mar 11 '11 at 12:46
You will need the Qt-devel and Qt-config and their dependencies in order to have QMake – Tom Wijsman Mar 11 '11 at 12:48
Thanks, do you know any alternative to qmake? – Fábio Perez Mar 11 '11 at 13:01
@FábioPerez: No, QtiPlot is written with the intent that QMake generates the Makefiles. – Tom Wijsman Mar 11 '11 at 13:03

For installing Qt5 with brew, you can do

brew install qt5

share|improve this answer
Isn't this essentially the same as the accepted answer (wouldn't anyone doing the installation recognize a name change and understand to use the actual name of what they want to install)? – fixer1234 Nov 16 '14 at 5:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .