Changeset 100 in tspsg-svn for trunk/tspsg.pro
- Timestamp:
- Apr 8, 2010, 11:02:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tspsg.pro
r99 r100 21 21 22 22 # These are only defined on releases 23 #DEFINES += TSPSG_RELEASE_BUILD 24 #DEFINES += BUILD_STATUS="\"(alpha 2)\"" 23 DEFINES += 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 } 25 30 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","") 33 REVISION = 100 34 VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION) 29 35 30 36 DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \ … … 48 54 } 49 55 50 build_pass:CONFIG(release, debug|release) {56 CONFIG(release, debug|release) { 51 57 OBJECTS_DIR = release 52 58 DESTDIR = release … … 104 110 PREFIX = "$$(PROGRAMFILES)" 105 111 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 } 109 120 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvg$${D}4.dll \ 110 121 $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll … … 117 128 PREFIX = "\Program Files" 118 129 share.sources = $$share.files 119 l10n.sources = $$l10n.files 130 l10n.sources = $$l10n.files \ 131 $$[QT_INSTALL_TRANSLATIONS]/*.qm 120 132 docs.sources = $$docs.files 121 133 … … 138 150 # 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 139 151 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 141 155 l10n.path = l10n 142 156 docs.sources = $$docs.files
Note: See TracChangeset
for help on using the changeset viewer.