ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The reason for this error is, as mentioned in the error message, is missing file. Actually it cannot find qmake. If you try executing qmake from command line it will not find this command. Check what qmake varians you have by tab-completing it in the command line. Personally i had qmake-qt4 and qmake-qt5. To fix this issue:

  1. Find location of the qmake-qt5 by running the command which qmake-qt5 (in my case it was /usr/bin/qmake-qt5)
  2. Run command sudo alternatives --install /usr/bin/qmake qmake /usr/bin/qmake-qt5 1 (substitute path to qmake-qt5 with yours from previous step)

The reason for this error is, as mentioned in the error message, is missing file. Actually it cannot find qmake. If you try executing qmake from command line it will not find this command. Check what qmake varians you have by tab-completing it in the command line. Personally i had qmake-qt4 and qmake-qt5. . Here I assume, that since you got this far in the build process, you have all required qt5 packages installed. To fix this issue:

  1. Find location of the qmake-qt5 by running the command which qmake-qt5 (in my case it was /usr/bin/qmake-qt5)
  2. Run command sudo alternatives --install /usr/bin/qmake qmake /usr/bin/qmake-qt5 1 (substitute path to qmake-qt5 with yours from previous step)