Changeset 137 in tspsg-svn for trunk


Ignore:
Timestamp:
Sep 15, 2010, 4:57:37 PM (14 years ago)
Author:
laleppa
Message:

Use of SVG icons increased TSPSG startup time considerably.
Reverting back to 128x128 PNGs on desktop.

Location:
trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.pri

    r136 r137  
    5858                        $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll
    5959        }
    60         iconengines.files = $$[QT_INSTALL_PLUGINS]/iconengines/qsvgicon$${D}4.dll
    61         iconengines.path = $$PREFIX/TSPSG/iconengines
     60#       iconengines.files = $$[QT_INSTALL_PLUGINS]/iconengines/qsvgicon$${D}4.dll
     61#       iconengines.path = $$PREFIX/TSPSG/iconengines
    6262        imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg$${D}4.dll \
    6363                $$[QT_INSTALL_PLUGINS]/imageformats/qtiff$${D}4.dll
    6464        imageformats.path = $$PREFIX/TSPSG/imageformats
    65         INSTALLS += iconengines imageformats
     65        INSTALLS += imageformats # iconengines
    6666}
    6767
     
    7575
    7676        DEPLOYMENT += target share docs # l10n
    77 #       DEPLOYMENT_PLUGIN += qjpeg qtiff
     77#       DEPLOYMENT_PLUGIN += qjpeg qtiff qsvgicon
    7878}
    7979
     
    101101                "\"COPYING\" - \"\", FILETEXT, TEXTEXIT"
    102102        DEPLOYMENT += share docs # l10n
    103 #       DEPLOYMENT_PLUGIN += qjpeg qtiff
     103#       DEPLOYMENT_PLUGIN += qjpeg qtiff qsvgicon
    104104
    105105        ICON = resources/tspsg.svg
  • trunk/src/globals.h

    r136 r137  
    130130        #define ICON_SIZE "32x32"
    131131        #define ICON_FORMAT "png"
    132 #elif !defined(NOSVG)
    133         #define ICON_SIZE "scalable"
    134         #define ICON_FORMAT "svgz"
    135132#else
    136133        #define ICON_SIZE "128x128"
  • trunk/tspsg.pri

    r136 r137  
    4040        l10n/l10n.qrc
    4141
    42 !wincewm*:!symbian {
    43         !nosvg {
    44                 RESOURCES += resources/desktop-scalable.qrc
    45         } else {
    46                 RESOURCES += resources/desktop.qrc
    47         }
     42wincewm*|symbian {
     43        RESOURCES += resources/handheld.qrc
    4844} else {
    49         RESOURCES += resources/handheld.qrc
     45        RESOURCES += resources/desktop.qrc
    5046}
    5147
  • trunk/tspsg.pro

    r136 r137  
    3939REVISION = $$replace(REVISION,":","")
    4040REVISION = $$replace(REVISION,"M","")
    41 #VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION)
    4241win32-msvc*|wincewm* {
    4342        VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
Note: See TracChangeset for help on using the changeset viewer.