diff -r 923ff622b8b9 -r 4633027730f5 hb.pro --- a/hb.pro Tue Jul 06 14:36:53 2010 +0300 +++ b/hb.pro Wed Aug 18 10:05:37 2010 +0300 @@ -76,13 +76,30 @@ INSTALLS += cssbinary symbian { - cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $${EPOCROOT}epoc32/data/z/resource/hb/themes/) - cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/hb/themes/) - QMAKE_DISTCLEAN += $${EPOCROOT}epoc32/data/z/resource/hb/themes/$$cssbinary.files - QMAKE_DISTCLEAN += $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files + cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/) + cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/) + QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/$$cssbinary.files + QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files QMAKE_EXTRA_TARGETS += cssbinary } +!symbian { + LRELEASE = $$hbNativePath($$[QT_INSTALL_BINS]/lrelease) + # comments to be removed once localisation is ready + #COMMON_EXTENSIONS = ar eu bg ca hr cs da nl en_US et fi fr fr_CA gl de el he hi zh_HK hu is id it ja ko lv lt ms no pl pt pt_BR zh ro ru sr sk sl es es_419 sv tl zh_TW th tr uk ur vi + translations.input = $$HB_SOURCE_DIR/src/hbcore/i18n/translations/common + translations.path = $${HB_TRANSLATIONS_DIR} + translations.commands = $$LRELEASE -silent -idbased $$translations.input/commonstrings_en.ts -qm $$translations.path/commonstrings_en.qm + +# for(ext, COMMON_EXTENSIONS) { +# file = commonstrings_$$ext +# translations.commands += && $$LRELEASE -silent -idbased $$translations.input/$${file}.ts -qm $$translations.path/$${file}.qm +# } + + QMAKE_EXTRA_TARGETS += translations + INSTALLS += translations +} + !contains(HB_NOMAKE_PARTS, tests):exists(tsrc) { test.depends = sub-src test.commands += cd tsrc && $(MAKE) test @@ -95,4 +112,5 @@ exists(doc):include(doc/doc.pri) include(src/hbcommon.pri) -#include(src/symbian_installs/symbian_deployment.pri) +include(src/platforms/symbian/installs/symbian_deployment.pri) +include(src/platforms/symbian/configurations/symbian_configurations.pri)