Search code examples
c++qtqmake

error in building a qt make project using qt


I get this error while building my qt project on arch linux

make[1]: /opt/qt/5.3/gcc_64/bin/qmake: Command not found

what could be the problem ?


Solution

  • did you install qt? I am not used to arch. i think that the packet manages is pacman you should have something like:

    pacman -S qt5-base
    

    as you can see from the doc this package contains qmake: https://www.archlinux.org/packages/extra/x86_64/qt5-base/

    Since as you said this is installed probably the path you try to use is the wrong. I think you should use:

    /usr/bin/qmake-qt5