Changeset 152 in tspsg-svn
- Timestamp:
- Feb 18, 2011, 8:14:47 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install.pri
r151 r152 15 15 #share.files = 16 16 docs.files = COPYING ChangeLog.txt README.txt INSTALL.txt 17 INSTALLS += target share docs #l10n17 INSTALLS += target docs # share l10n 18 18 19 19 # For *nix: … … 62 62 $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll 63 63 } 64 # iconengines.files = $$[QT_INSTALL_PLUGINS]/iconengines/qsvgicon$${D}4.dll65 # iconengines.path = $$PREFIX/TSPSG/iconengines66 64 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll \ 67 65 $$[QT_INSTALL_PLUGINS]/imageformats/qtiff$${D}4.dll 68 66 imageformats.path = $$PREFIX/TSPSG/imageformats 69 INSTALLS += imageformats # iconengines67 INSTALLS += share imageformats 70 68 } 71 69 … … 81 79 82 80 DEPLOYMENT += target share docs # l10n 83 # DEPLOYMENT_PLUGIN += qjpeg qtiff qsvgicon 81 DEPLOYMENT_PLUGIN += qjpeg qtiff 84 82 } 85 83 … … 94 92 # Symbian 95 93 symbian { 94 share.sources = $$share.files 96 95 # 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 97 share.sources = $$share.files98 96 # l10n.sources = $$[QT_INSTALL_TRANSLATIONS]/qt_ru.qm \ 99 97 # $$[QT_INSTALL_TRANSLATIONS]/qt_uk.qm \ … … 110 108 111 109 appinfo = \ 112 "$$LITERAL_HASH{\"TSP SG\"},(0xEb9dce0e),$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE"110 "$$LITERAL_HASH{\"TSP Solver and Generator\"},(0xA89FD7A3),$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE" 113 111 vendorinfo = \ 114 "%{\" l-homes.org\"}" \115 ":\" l-homes.org\""112 "%{\"Oleksii Serdiuk\"}" \ 113 ":\"Oleksii Serdiuk\"" 116 114 default_deployment.pkg_prerules = appinfo vendorinfo 117 115 DEPLOYMENT.installer_header = "$${LITERAL_HASH}{\"TSPSG Installer\"},(0xA000D7CE),1,0,0" -
trunk/resources/tspsg.desktop
r116 r152 1 1 [Desktop Entry] 2 2 Encoding=UTF-8 3 Version=1.0 3 4 Type=Application 4 Version=0.1 5 Name=TSP SG: TSPSolver and Generator5 Terminal=false 6 Name=TSP Solver and Generator 6 7 GenericName=Solving Travelling Salesman Problem using Branch and Bound method 7 8 GenericName[ru]=Решение задачи коммивояжера методом ветвей и границ 8 9 GenericName[uk]=Розв'язання задачі комівояжера методом гілок та меж 9 Comment=Solving Travelling Salesman Problem using Branch and Bound method 10 Comment[ru]=Решение задачи коммивояжера методом ветвей и границ 11 Comment[uk]=Розв'язання задачі комівояжера методом гілок та меж 10 Exec=tspsg %f 12 11 Icon=tspsg 13 Exec=tspsg %f 14 Terminal=false 15 Categories=Qt;KDE;Education;Math; 12 Categories=Qt;KDE;Education;Science;Math; 16 13 StartupNotify=true -
trunk/tspsg.pro
r151 r152 42 42 43 43 #REVISION = 145 44 REVISION = $$system(svnversion) 44 isEmpty(REVISION) { 45 REVISION = $$system(svnversion) 46 } 45 47 isEmpty(REVISION)|isEqual(REVISION,exported) { 46 48 REVISION = 0 … … 64 66 macx { 65 67 PRL = $$[QT_INSTALL_LIBS] QtCore.framework QtCore.prl 66 } else:symbian {67 PRL = $$[QT_INSTALL_LIBS] QtCore.prl68 } else:symbian|maemo* { 69 # Nothing here 68 70 } else:unix { 69 71 PRL = $$[QT_INSTALL_LIBS] libQtCore.prl … … 71 73 PRL = $$[QT_INSTALL_LIBS] QtCore.prl 72 74 } 73 include($$join(PRL, "/")) 74 contains(QMAKE_PRL_CONFIG, static) { 75 # We "embed" SVG icon support on static build 76 DEFINES += STATIC_BUILD 77 # !nosvg:QTPLUGIN += qsvgicon 75 !isEmpty(PRL) { 76 include($$join(PRL, "/")) 77 contains(QMAKE_PRL_CONFIG, static) { 78 # We "embed" SVG icon support on static build 79 DEFINES += STATIC_BUILD 80 # !nosvg:QTPLUGIN += qsvgicon 81 } 78 82 } 79 83 … … 105 109 include(tspsg.pri) 106 110 107 # Installation and deployment 111 # Installation and deployment rules 108 112 include(install.pri)
Note: See TracChangeset
for help on using the changeset viewer.