I have a written a small qt app that I use qmake to build, but I am missing the make install target. How to configure qmake so my binary is copied to /usr/local/bin/ when I run "make install"?
What do I need to add to my .pro file to get the "install" target and how do I control what file and path will be used?
Btw the install will be on Linux pc:s like Debian and Ubuntu.
Add something like this to you .pro file
target.path = /usr/local/bin/
INSTALLS += target
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With