Changeset cac8759dba in tspsg
- Timestamp:
- Sep 14, 2010, 8:51:50 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- f29549ec20
- Parents:
- a713b103e8
- git-author:
- Oleksii Serdiuk <contacts@…> (09/14/10 20:51:50)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- Files:
-
- 46 added
- 7 edited
- 22 moved
Legend:
- Unmodified
- Added
- Removed
-
install.pri
ra713b103e8 rcac8759dba 58 58 $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll 59 59 } 60 iconengines.files = $$[QT_INSTALL_PLUGINS]/iconengines/qsvgicon$${D}4.dll 61 iconengines.path = $$PREFIX/TSPSG/iconengines 60 62 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll \ 61 63 $$[QT_INSTALL_PLUGINS]/imageformats/qtiff$${D}4.dll 62 64 imageformats.path = $$PREFIX/TSPSG/imageformats 63 INSTALLS += i mageformats65 INSTALLS += iconengines imageformats 64 66 } 65 67 -
resources/common.qrc
ra713b103e8 rcac8759dba 2 2 <qresource prefix="/images"> 3 3 <file>tspsg.png</file> 4 <file>icons/application-exit.png</file>5 <file>icons/dialog-cancel.png</file>6 <file>icons/dialog-ok.png</file>7 <file>icons/document-new.png</file>8 <file>icons/document-open.png</file>9 <file>icons/document-save.png</file>10 <file>icons/document-save-as.png</file>11 <file>icons/format-text-color.png</file>12 <file>icons/go-previous.png</file>13 <file>icons/help-about.png</file>14 <file>icons/help-hint.png</file>15 <file>icons/preferences-desktop-font.png</file>16 <file>icons/preferences-system.png</file>17 4 <file>icons/qtlogo-64.png</file> 18 <file>icons/roll.png</file>19 5 </qresource> 20 6 <qresource prefix="/files"> -
resources/desktop.qrc
ra713b103e8 rcac8759dba 1 1 <RCC> 2 2 <qresource prefix="/images"> 3 <file>icons/configure-toolbars.png</file>4 <file>icons/document-print.png</file>5 <file>icons/document-print-preview.png</file>6 <file>icons/help-contents.png</file>7 <file>icons/help-contextual.png</file>8 <file>icons/preferences-desktop-locale.png</file>9 <file>icons/preferences-desktop-theme.png</file>10 <file>icons/system-software-update.png</file>11 3 <file>icons/l10n/flag-gb.png</file> 12 4 <file>icons/l10n/flag-ru.png</file> 13 5 <file>icons/l10n/flag-ua.png</file> 6 <file>icons/128x128/application-exit.png</file> 7 <file>icons/128x128/configure-toolbars.png</file> 8 <file>icons/128x128/dialog-cancel.png</file> 9 <file>icons/128x128/dialog-ok.png</file> 10 <file>icons/128x128/document-new.png</file> 11 <file>icons/128x128/document-open.png</file> 12 <file>icons/128x128/document-print.png</file> 13 <file>icons/128x128/document-print-preview.png</file> 14 <file>icons/128x128/document-save.png</file> 15 <file>icons/128x128/document-save-as.png</file> 16 <file>icons/128x128/format-text-color.png</file> 17 <file>icons/128x128/go-previous.png</file> 18 <file>icons/128x128/help-about.png</file> 19 <file>icons/128x128/help-contents.png</file> 20 <file>icons/128x128/help-contextual.png</file> 21 <file>icons/128x128/help-hint.png</file> 22 <file>icons/128x128/preferences-desktop-font.png</file> 23 <file>icons/128x128/preferences-desktop-locale.png</file> 24 <file>icons/128x128/preferences-desktop-theme.png</file> 25 <file>icons/128x128/preferences-system.png</file> 26 <file>icons/128x128/roll.png</file> 27 <file>icons/128x128/system-software-update.png</file> 14 28 </qresource> 15 29 </RCC> -
src/globals.h
ra713b103e8 rcac8759dba 125 125 #endif // Q_OS_WIN32 126 126 127 #ifndef DOXYGEN_EXCLUDE 128 129 #ifdef HANDHELD 130 #define ICON_SIZE "32x32" 131 #define ICON_FORMAT "png" 132 #elif !defined(NOSVG) 133 #define ICON_SIZE "scalable" 134 #define ICON_FORMAT "svgz" 135 #else 136 #define ICON_SIZE "128x128" 137 #define ICON_FORMAT "png" 138 #endif 139 127 140 #if QT_VERSION >= 0x040600 128 #define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/" x".png"))141 #define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT)) 129 142 #else 130 #define GET_ICON(x) QIcon(":/images/icons/" x".png")143 #define GET_ICON(x) QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT) 131 144 #endif 132 145 … … 148 161 #endif 149 162 163 #endif // DOXYGEN_EXCLUDE 164 150 165 #endif // GLOBALS_H -
src/main.cpp
ra713b103e8 rcac8759dba 34 34 35 35 //#ifdef STATIC_BUILD 36 // #ifndef NOSVG 37 // Q_IMPORT_PLUGIN(qsvgicon) 38 // #endif 36 39 // Q_IMPORT_PLUGIN(qjpeg) 37 40 // Q_IMPORT_PLUGIN(qtiff) -
tspsg.pri
ra713b103e8 rcac8759dba 41 41 42 42 !wincewm*:!symbian { 43 RESOURCES += resources/desktop.qrc 43 !nosvg { 44 RESOURCES += resources/desktop-scalable.qrc 45 } else { 46 RESOURCES += resources/desktop.qrc 47 } 48 } else { 49 RESOURCES += resources/handheld.qrc 44 50 } 45 51 -
tspsg.pro
ra713b103e8 rcac8759dba 40 40 REVISION = $$replace(REVISION,"M","") 41 41 #VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION) 42 win32-msvc* {42 win32-msvc*|wincewm* { 43 43 VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR) 44 44 } else { … … 63 63 include($$join(PRL, "/")) 64 64 contains(QMAKE_PRL_CONFIG, static) { 65 # We "embed"JPEG and TIFF support on static build65 # We "embed" SVG icon, JPEG and TIFF support on static build 66 66 DEFINES += STATIC_BUILD 67 67 # QTPLUGIN += qjpeg qtiff 68 # !nosvg:QTPLUGIN += qsvgicon 68 69 } 69 70
Note: See TracChangeset
for help on using the changeset viewer.