Changeset 2fb523720a in tspsg for tspsg.pro


Ignore:
Timestamp:
Aug 23, 2009, 1:26:42 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
5a81a64d74
Parents:
281303f1f7
Message:

+ Created installation (INSTALLS and DEPLOYMENT) entries for *nix, windows and wince platforms in tspsg.pro file. Now qmake generates install rules in Makefile.
+ Automatic resize of columns after their content changes can be turned on/off in settings now.

  • Different search path for translations on different platforms.
  • Updated translations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tspsg.pro

    r281303f1f7 r2fb523720a  
    3232include(tspsg.pri)
    3333
    34 # For wince: we are deploying to storage card because Qt libraries
    35 # (especially debug) are big enough for internal memory.
    36 deploy.path = "\Storage Card\tspsg"
    37 i18n.sources = i18n\languages.ini i18n\*.qm
    38 i18n.path = "\Storage Card\tspsg\i18n"
    39 DEPLOYMENT += deploy i18n
     34# For *nix:
     35#   - executable goes to $(INSTALL_ROOT)/bin
     36#   - COPYING and README go to $(INSTALL_ROOT)/share/tspsg
     37#   - translations go to $(INSTALL_ROOT)/share/tspsg/i18n
     38#   - docs (none, yet) go to $(INSTALL_ROOT)/share/doc/tspsg
     39# Usually, $(INSTALL_ROOT) is /usr or /usr/local
     40unix {
     41        target.path = /bin
     42        share.path = /share/tspsg
     43        share.files = COPYING README
     44        i18n.path = /share/tspsg/i18n
     45        i18n.files = i18n/languages.ini i18n/*.qm
     46        docs.path = /share/doc/tspsg
     47#       docs.files = docs/*
     48        INSTALLS += target i18n docs share
     49}
     50
     51# For win32: everything goes to $(INSTALL_ROOT)\tspsg and subfolders.
     52# Usually, $(INSTALL_ROOT) is "C:\Program Files"
     53win32 {
     54        target.path = "\tspsg"
     55        share.path = "\tspsg"
     56        share.files = COPYING README
     57        i18n.path = "\tspsg\i18n"
     58        i18n.files = i18n\languages.ini i18n\*.qm
     59        docs.path = "\tspsg\help"
     60#       docs.files = docs\*
     61        INSTALLS += target i18n docs share
     62}
     63
     64# TODO: MacOSX
     65
     66# For wince: we are deploying to \Storage Card\Program Files\tspsg.
     67wince {
     68        deploy.path = "\Storage Card\Program Files\tspsg"
     69        share.sources = COPYING README
     70        share.path = "\Storage Card\Program Files\tspsg"
     71        i18n.sources = i18n\languages.ini i18n\*.qm
     72        i18n.path = "\Storage Card\Program Files\tspsg\i18n"
     73#       docs.sources = docs\*
     74#       docs.path = "\Storage Card\Program Files\tspsg\help"
     75        DEPLOYMENT += deploy share i18n # docs
     76}
    4077
    4178#Windows resource file
Note: See TracChangeset for help on using the changeset viewer.