Important: Please read the Qt Code of Conduct -

error: No rule to make target 'install'. Stop.

  • Hii all I am getting an error of ":-1: error: No rule to make target 'install'. Stop." while building my project in Qt 5.12.9 with kits of "Android Qt 5.12.9 Clang arm64-v8a" and "Android Qt 5.12.9 Clang armeabi-v7a" which was previously working without any error
    please may I get some help, I have tried uninstalling and re-installing Qt version.

    Thank you.

  • You have to share more details: Are you using qmake or cmake? What is your .pro file? Which OS?

  • @newqtuser said in error: No rule to make target 'install'. Stop.:

    which was previously working without any error

    Additionally to @AxelVienna, what changed when it went from working to not working?

  • @JonB
    Actually I dont know what changed It all seems same.

  • @AxelVienna
    Hii I am using qmake and windows os.
    Do I have to share the whole .pro file or any particular snippet code will work.
    Thank you.

  • Hello all I have solved the problem, the
    make install in build setting was showing "D:<project_name>\bin\android_build" which should be "D:<project_name>\android_build" dont know how but it was inserting "bin" folder in between hence was not able to get the proper folder and make file, so by doing some changes in my destination address I was able to solve it,
    at last the path for make install was wrong hence it was giving error
    note: still dont know why exactly the QT was taking wrong path because I was using the same project without any change. I have never changed my script file even my friends are still running the same.
    Thank you all

Log in to reply