Changeset 1babbd6ba3 in tspsg for tspsg.pro


Ignore:
Timestamp:
Apr 8, 2010, 11:02:26 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
a23f4c292f
Parents:
394216e468
git-author:
Oleksii Serdiuk <contacts@…> (04/08/10 23:02:26)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:34:20)
Message:

+ Added Installation Guide.

  • Updated translations.
  • Updated documentaion.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tspsg.pro

    r394216e468 r1babbd6ba3  
    2121
    2222# These are only defined on releases
    23 #DEFINES += TSPSG_RELEASE_BUILD
    24 #DEFINES += BUILD_STATUS="\"(alpha 2)\""
     23DEFINES += TSPSG_RELEASE_BUILD
     24!symbian {
     25        DEFINES += BUILD_STATUS="\"(alpha 2)\""
     26} else {
     27        # Symbian doesn't handle spaces in defines well
     28        DEFINES += BUILD_STATUS="(alpha2)"
     29}
    2530
    26 REVISION = $$system(svnversion)
    27 REVISION = $$replace(REVISION,"M","")
    28 VERSION = $$sprintf("%1.%2.%3",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE)
     31#REVISION = $$system(svnversion)
     32#REVISION = $$replace(REVISION,"M","")
     33REVISION = 100
     34VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION)
    2935
    3036DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
     
    4854}
    4955
    50 build_pass:CONFIG(release, debug|release) {
     56CONFIG(release, debug|release) {
    5157        OBJECTS_DIR = release
    5258        DESTDIR = release
     
    104110        PREFIX = "$$(PROGRAMFILES)"
    105111
    106         share.files = $$[QT_INSTALL_LIBS]/QtCore$${D}4.dll \
    107                 $$[QT_INSTALL_LIBS]/QtGui$${D}4.dll \
    108                 $$[QT_INSTALL_LIBS]/QtSvg$${D}4.dll
     112        share.files = $$[QT_INSTALL_BINS]/QtCore$${D}4.dll \
     113                $$[QT_INSTALL_BINS]/QtGui$${D}4.dll
     114#               $$[QT_INSTALL_BINS]/QtSvg$${D}4.dll
     115        l10n.files += $$[QT_INSTALL_TRANSLATIONS]/*.qm
     116        win32-g++ {
     117                share.files += $$[QT_INSTALL_BINS]/mingwm10.dll \
     118                        $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll
     119        }
    109120        imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvg$${D}4.dll \
    110121                $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll
     
    117128        PREFIX = "\Program Files"
    118129        share.sources = $$share.files
    119         l10n.sources = $$l10n.files
     130        l10n.sources = $$l10n.files \
     131                $$[QT_INSTALL_TRANSLATIONS]/*.qm
    120132        docs.sources = $$docs.files
    121133
     
    138150        # qmake for Symbian (as of Qt 4.6.2) has a bug: file masks doesn't work, so we need to specify all files manually
    139151        share.sources = $$share.files
    140         l10n.sources = l10n/qt_ru.qm l10n/qt_uk.qm l10n/tspsg_en.qm l10n/tspsg_ru.qm l10n/tspsg_uk.qm
     152        l10n.sources = $$[QT_INSTALL_TRANSLATIONS]/qt_ru.qm \
     153                $$[QT_INSTALL_TRANSLATIONS]/qt_uk.qm \
     154                l10n/tspsg_en.qm l10n/tspsg_ru.qm l10n/tspsg_uk.qm
    141155        l10n.path = l10n
    142156        docs.sources = $$docs.files
Note: See TracChangeset for help on using the changeset viewer.