Changeset 97 in tspsg-svn for trunk/tspsg.pro


Ignore:
Timestamp:
Mar 3, 2010, 12:55:23 AM (15 years ago)
Author:
laleppa
Message:

+ Added precompiled header (PCH) file: should decrease project build time.

  • Improved installation and deployment rules in .pro file.
  • Improved translucency effect under Windows Vista/7.
  • Slightly modified qtwin.h to be included into the source documentation.
  • Regenerated source documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tspsg.pro

    r96 r97  
    4040} else:unix {
    4141        PRL = $$[QT_INSTALL_LIBS] QtCore.prl
     42} else {
     43        PRL = $$[QT_INSTALL_LIBS] QtCore.prl
    4244}
    4345include($$join(PRL, "/"))
     
    6769# Installation and deployment
    6870# Common rules
     71l10n.files = l10n/*.qm
    6972#share.files =
    70 l10n.files = l10n/*.qm
    7173docs.files = COPYING README
    7274INSTALLS += target l10n share docs
     
    7476# For *nix:
    7577#   - executable goes to /usr/bin
    76 #   - COPYING and README go to /usr/share/tspsg
    77 #   - translations go to /usr/share/tspsg/l10n
    78 #   - docs (none, yet) go to /usr/share/doc/tspsg
     78#   - COPYING and README go to /usr/share/TSPSG
     79#   - translations go to /usr/share/TSPSG/l10n
     80#   - docs go to /usr/share/doc/TSPSG-x.x.x
    7981unix:!symbian {
    8082        PREFIX = /usr
    8183        CONFIG(release, debug|release) {
    82                 DEFINES += PATH_L10N=\\\"$$PREFIX/share/tspsg/l10n\\\"
    83                 DEFINES += PATH_DOCS=\\\"$$PREFIX/share/tspsg/docs\\\"
     84                DEFINES += PATH_L10N=\\\"$$PREFIX/share/TSPSG/l10n\\\"
     85                DEFINES += PATH_DOCS=\\\"$$PREFIX/share/TSPSG/docs\\\"
    8486        }
    8587
    8688        target.path = $$PREFIX/bin
    87         share.path = $$PREFIX/share/tspsg
    88         l10n.path = $$PREFIX/share/tspsg/l10n
    89         docs.path = $$PREFIX/share/doc/tspsg-$$VERSION
     89        share.path = $$PREFIX/share/TSPSG
     90        l10n.path = $$PREFIX/share/TSPSG/l10n
     91        docs.path = $$PREFIX/share/doc/TSPSG-$$VERSION
    9092        apps.path = $$PREFIX/share/applications/
    9193        apps.files = resources/tspsg.desktop
     
    9799# TODO: MacOSX
    98100
    99 # For win32: everything goes to "C:\Program Files\tspsg" and subfolders.
     101# For win32: everything goes to "C:\Program Files\TSPSG" and subfolders.
    100102win32 {
    101103        PREFIX = "C:\Program Files"
     104
     105        CONFIG(release, debug|release) {
     106                imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvg4.dll \
     107                        $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg4.dll
     108        } else {
     109                imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvgd4.dll \
     110                        $$[QT_INSTALL_PLUGINS]/imageformats/qjpegd4.dll
     111        }
     112        imageformats.path = $$PREFIX/TSPSG/imageformats
     113        INSTALLS += imageformats
    102114}
    103115
    104 # For wince: we are deploying to \Storage Card\Program Files\tspsg.
     116# For wince: we are deploying to \Program Files\TSPSG.
    105117wince {
    106         PREFIX = "\Storage Card\Program Files"
     118        PREFIX = "\Program Files"
    107119        DEPLOYMENT += target share l10n docs
     120        DEPLOYMENT_PLUGIN += qjpeg qsvg
    108121}
    109122
    110123# win32 and wince common
    111124win* {
    112         target.path = "$$PREFIX\tspsg"
    113         share.path = "$$PREFIX\tspsg"
    114         l10n.path = "$$PREFIX\tspsg\l10n"
    115         docs.path = "$$PREFIX\tspsg"
     125        target.path = $$PREFIX/TSPSG
     126        share.path = $$PREFIX/TSPSG
     127        l10n.path = $$PREFIX/TSPSG/l10n
     128        docs.path = $$PREFIX/TSPSG
    116129
    117130        RC_FILE = resources/tspsg.rc
     
    125138                "\"COPYING\" - \"\", FILETEXT, TEXTEXIT"
    126139        DEPLOYMENT += share l10n docs
     140        DEPLOYMENT_PLUGIN += qjpeg qsvg
    127141
    128142        ICON = resources/tspsg.svg
Note: See TracChangeset for help on using the changeset viewer.