PDA

View Full Version : "make install" doesn't install binary



jiveaxe
2nd January 2008, 10:34
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

jpn
2nd January 2008, 10:40
Try something like this:


target.path = $$PREFIX/bin
INSTALLS += target

jiveaxe
2nd January 2008, 12:00
Thank you jpn, it works now.

For windows is the same? For example:


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