Results 1 to 3 of 3

Thread: "make install" doesn't install binary

  1. #1
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default "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
    Giuseppe CalÃ

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: "make install" doesn't install binary

    Try something like this:
    target.path = $$PREFIX/bin
    INSTALLS += target
    J-P Nurmi

  3. #3
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: "make install" doesn't install binary

    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
    Giuseppe CalÃ

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.