"make install" doesn't install binary
HI,
before releasing my application I was testing the install process but it doesn't install the binary while the data yes.
Here is my .pro file:
PREFIX = /usr/local
INSTALLBASE = $$PREFIX/share/appname
images.path = $$INSTALLBASE/images/
images.files = images/*.png
covers.path = $$INSTALLBASE/images/covers/
covers.files = images/covers/*.png
database.path = $$INSTALLBASE
database.files = database/db
menu.path = $$PREFIX/share/applications
menu.files = appname.desktop
icon.path = $$PREFIX/share/icons
icon.files = icons/appname.png
INSTALLS += images covers database menu icon
I am missing something else?
Happy New Year
Re: "make install" doesn't install binary
Try something like this:
Quote:
target.path = $$PREFIX/bin
INSTALLS += target
Re: "make install" doesn't install binary
Thank you jpn, it works now.
For windows is the same? For example:
Quote:
INSTALLBASE = C:\AppName
images.path = $$INSTALLBASE\images\
images.files = images\*.png
covers.path = $$INSTALLBASE\images\covers\
covers.files = images\covers\*.png
database.path = $$INSTALLBASE
database.files = database\db
should work?
Bye