Changeset 109 in tspsg-svn for trunk/install.pri
- Timestamp:
- Apr 27, 2010, 9:12:55 AM (15 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/install.pri
-
Property
svn:mergeinfo
set to
/tags/0.1.2.100-alpha2/tspsg.pro merged eligible
r108 r109 11 11 ###################################################################### 12 12 13 QT += svg14 15 TEMPLATE = app16 17 # Versioning18 BUILD_VERSION_MAJOR = 019 BUILD_VERSION_MINOR = 120 BUILD_RELEASE = 321 22 # These are only defined on releases23 #DEFINES += TSPSG_RELEASE_BUILD24 #!symbian {25 # DEFINES += BUILD_STATUS="\"(alpha 2)\""26 #} else {27 # # Symbian doesn't handle spaces in defines well28 # DEFINES += BUILD_STATUS="(alpha2)"29 #}30 31 #REVISION = 10032 REVISION = $$system(svnversion)33 REVISION = $$replace(REVISION,"M","")34 VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION)35 36 DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \37 BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \38 BUILD_RELEASE=$$BUILD_RELEASE \39 BUILD_NUMBER=$$REVISION40 41 # A hack to determine whether we have static or dynamic Qt build42 unix:!symbian {43 PRL = $$[QT_INSTALL_LIBS] libQtCore.prl44 } else:unix {45 PRL = $$[QT_INSTALL_LIBS] QtCore.prl46 } else {47 PRL = $$[QT_INSTALL_LIBS] QtCore.prl48 }49 include($$join(PRL, "/"))50 contains(QMAKE_PRL_CONFIG, static) {51 # We "embed" SVG and JPEG support on static build52 QTPLUGIN += qjpeg qsvg53 DEFINES += STATIC_BUILD54 }55 56 CONFIG(release, debug|release) {57 OBJECTS_DIR = release58 DESTDIR = release59 D =60 } else {61 OBJECTS_DIR = debug62 DESTDIR = debug63 DEFINES += DEBUG64 # CONFIG += console65 D = d66 }67 TARGET = tspsg$${D}68 69 # Saving all intermediate files to tmp directory.70 MOC_DIR = ./tmp71 RCC_DIR = ./tmp72 UI_DIR = ./tmp73 74 # Include file(s)75 include(tspsg.pri)76 77 # Installation and deployment78 13 # Common rules 79 14 l10n.files = l10n/*.qm … … 113 48 share.files = $$[QT_INSTALL_BINS]/QtCore$${D}4.dll \ 114 49 $$[QT_INSTALL_BINS]/QtGui$${D}4.dll 115 $$[QT_INSTALL_BINS]/QtSvg$${D}4.dll 50 !nosvg { 51 share.files += $$[QT_INSTALL_BINS]/QtSvg$${D}4.dll 52 } 116 53 l10n.files += $$[QT_INSTALL_TRANSLATIONS]/*.qm 117 54 win32-g++ { … … 119 56 $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll 120 57 } 121 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/q svg$${D}4.dll \122 $$[QT_INSTALL_PLUGINS]/imageformats/q jpeg$${D}4.dll58 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll \ 59 $$[QT_INSTALL_PLUGINS]/imageformats/qtiff$${D}4.dll 123 60 imageformats.path = $$PREFIX/TSPSG/imageformats 124 61 INSTALLS += imageformats … … 134 71 135 72 DEPLOYMENT += target share l10n docs 136 DEPLOYMENT_PLUGIN += qjpeg qsvg 73 # DEPLOYMENT_PLUGIN += qjpeg qtiff 137 74 } 138 75 … … 160 97 "\"COPYING\" - \"\", FILETEXT, TEXTEXIT" 161 98 DEPLOYMENT += share l10n docs 162 DEPLOYMENT_PLUGIN += qjpeg qsvg 99 # DEPLOYMENT_PLUGIN += qjpeg qtiff 163 100 164 101 ICON = resources/tspsg.svg -
Property
svn:mergeinfo
set to
Note: See TracChangeset
for help on using the changeset viewer.