hb.pro
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    74 cssbinary.files = $$cssbinmaker.output
    74 cssbinary.files = $$cssbinmaker.output
    75 cssbinary.CONFIG += no_check_exist
    75 cssbinary.CONFIG += no_check_exist
    76 INSTALLS += cssbinary
    76 INSTALLS += cssbinary
    77 
    77 
    78 symbian {
    78 symbian {
    79     cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $${EPOCROOT}epoc32/data/z/resource/hb/themes/)
    79     cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/)
    80     cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/hb/themes/)
    80     cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/)
    81     QMAKE_DISTCLEAN += $${EPOCROOT}epoc32/data/z/resource/hb/themes/$$cssbinary.files
    81     QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/$$cssbinary.files
    82     QMAKE_DISTCLEAN += $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files
    82     QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files
    83     QMAKE_EXTRA_TARGETS += cssbinary
    83     QMAKE_EXTRA_TARGETS += cssbinary
       
    84 }
       
    85 
       
    86 !symbian {
       
    87     LRELEASE = $$hbNativePath($$[QT_INSTALL_BINS]/lrelease)
       
    88     # comments to be removed once localisation is ready
       
    89     #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
       
    90     translations.input = $$HB_SOURCE_DIR/src/hbcore/i18n/translations/common
       
    91     translations.path = $${HB_TRANSLATIONS_DIR}
       
    92     translations.commands = $$LRELEASE -silent -idbased $$translations.input/commonstrings_en.ts -qm $$translations.path/commonstrings_en.qm
       
    93     
       
    94 #    for(ext, COMMON_EXTENSIONS) {
       
    95 #        file = commonstrings_$$ext
       
    96 #        translations.commands += && $$LRELEASE -silent -idbased $$translations.input/$${file}.ts -qm $$translations.path/$${file}.qm
       
    97 #    }
       
    98 
       
    99     QMAKE_EXTRA_TARGETS += translations
       
   100     INSTALLS += translations
    84 }
   101 }
    85 
   102 
    86 !contains(HB_NOMAKE_PARTS, tests):exists(tsrc) {
   103 !contains(HB_NOMAKE_PARTS, tests):exists(tsrc) {
    87     test.depends = sub-src
   104     test.depends = sub-src
    88     test.commands += cd tsrc && $(MAKE) test
   105     test.commands += cd tsrc && $(MAKE) test
    93     QMAKE_EXTRA_TARGETS += test autotest unittest
   110     QMAKE_EXTRA_TARGETS += test autotest unittest
    94 }
   111 }
    95 
   112 
    96 exists(doc):include(doc/doc.pri)
   113 exists(doc):include(doc/doc.pri)
    97 include(src/hbcommon.pri)
   114 include(src/hbcommon.pri)
    98 #include(src/symbian_installs/symbian_deployment.pri)
   115 include(src/platforms/symbian/installs/symbian_deployment.pri)
       
   116 include(src/platforms/symbian/configurations/symbian_configurations.pri)