Changeset 98 in tspsg-svn for trunk/tspsg.pro
- Timestamp:
- Mar 12, 2010, 8:28:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tspsg.pro
r97 r98 11 11 ###################################################################### 12 12 13 QT += svg13 #QT += svg 14 14 15 15 TEMPLATE = app … … 23 23 BUILD_RELEASE = 2 24 24 25 # Th is one isonly defined on releases25 # These are only defined on releases 26 26 #DEFINES += TSPSG_RELEASE_BUILD 27 #DEFINES += BUILD_STATUS="\"(alpha 2)\"" 27 28 28 29 REVISION = $$system(svnversion) … … 46 47 contains(QMAKE_PRL_CONFIG, static) { 47 48 # We "embed" SVG and JPEG support on static build 48 QTPLUGIN += qjpeg qsvg49 # QTPLUGIN += qjpeg qsvg 49 50 DEFINES += STATIC_BUILD 50 51 } … … 53 54 OBJECTS_DIR = release 54 55 DESTDIR = release 56 D = d 55 57 } else { 56 58 OBJECTS_DIR = debug 57 59 DESTDIR = debug 58 60 DEFINES += DEBUG 61 D = 59 62 } 60 63 … … 90 93 l10n.path = $$PREFIX/share/TSPSG/l10n 91 94 docs.path = $$PREFIX/share/doc/TSPSG-$$VERSION 95 apps.files = resources/tspsg.desktop 92 96 apps.path = $$PREFIX/share/applications/ 93 apps.files = resources/tspsg.desktop97 icon.files = resources/tspsg.png 94 98 icon.path = $$PREFIX/share/pixmaps 95 icon.files = resources/tspsg.png96 99 INSTALLS += apps icon 97 100 } … … 99 102 # TODO: MacOSX 100 103 101 # For win32: everything goes to " C:\Program Files\TSPSG" and subfolders.104 # For win32: everything goes to "%PROGRAMFILES%\TSPSG" and subfolders. 102 105 win32 { 103 PREFIX = " C:\Program Files"106 PREFIX = "$$(PROGRAMFILES)" 104 107 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 } 108 share.files = $$[QT_INSTALL_LIBS]/QtCore$${D}4.dll \ 109 $$[QT_INSTALL_LIBS]/QtGui$${D}4.dll \ 110 $$[QT_INSTALL_LIBS]/QtSvg$${D}4.dll 111 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvg$${D}4.dll \ 112 $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll 112 113 imageformats.path = $$PREFIX/TSPSG/imageformats 113 114 INSTALLS += imageformats … … 117 118 wince { 118 119 PREFIX = "\Program Files" 120 share.sources = $$share.files 121 l10n.sources = $$l10n.files 122 docs.sources = $$docs.files 123 119 124 DEPLOYMENT += target share l10n docs 120 DEPLOYMENT_PLUGIN += qjpeg qsvg125 # DEPLOYMENT_PLUGIN += qjpeg qsvg 121 126 } 122 127 … … 133 138 # Symbian 134 139 symbian { 140 # 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 141 share.sources = $$share.files 142 l10n.sources = l10n/qt_ru.qm l10n/qt_uk.qm l10n/tspsg_en.qm l10n/tspsg_ru.qm l10n/tspsg_uk.qm 135 143 l10n.path = l10n 144 docs.sources = $$docs.files 136 145 docs.pkg_prerules = \ 137 146 "\"README\" - \"\", FILETEXT, TEXTCONTINUE" \ 138 147 "\"COPYING\" - \"\", FILETEXT, TEXTEXIT" 139 148 DEPLOYMENT += share l10n docs 140 DEPLOYMENT_PLUGIN += qjpeg qsvg149 # DEPLOYMENT_PLUGIN += qjpeg qsvg 141 150 142 151 ICON = resources/tspsg.svg 143 152 144 153 appinfo = \ 145 "$$LITERAL_HASH{\"TSPSG\"},(0xEb9dce0e), 0,1,2"154 "$$LITERAL_HASH{\"TSPSG\"},(0xEb9dce0e),$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE" 146 155 vendorinfo = \ 147 156 "%{\"l-homes.org\"}" \
Note: See TracChangeset
for help on using the changeset viewer.