src/hbcore/hbcore.pro
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
   100 }
   100 }
   101 
   101 
   102 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbcore/*)
   102 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbcore/*)
   103 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbcore/private/*)
   103 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbcore/private/*)
   104 
   104 
   105 TRANSLATIONS += i18n/translations/directorylocalizer_en_GB.ts
   105 load(symbian_i18n.prf):TRANSLATIONS = directorynamelocalizer.ts
   106 TRANSLATIONS += i18n/translations/directorylocalizer_de_DE.ts
       
   107 TRANSLATIONS += i18n/translations/languages.ts
       
   108 TRANSLATIONS += i18n/translations/collations.ts
       
   109 TRANSLATIONS += i18n/translations/regions.ts
       
   110 TRANSLATIONS += i18n/translations/languages_OLD.ts
       
   111 
   106 
   112 symbian {
   107 symbian {
   113     defFilePath = defs
   108     defFilePath = defs
   114     
   109     
   115     TARGET.EPOCALLOWDLLDATA = 1
   110     TARGET.EPOCALLOWDLLDATA = 1
   155         INCLUDEPATH += $${EPOCROOT}epoc32/include/mw
   150         INCLUDEPATH += $${EPOCROOT}epoc32/include/mw
   156     }
   151     }
   157 
   152 
   158     hbExportHeaders(hbcore)
   153     hbExportHeaders(hbcore)
   159 
   154 
   160     # i18n's .qm files export
       
   161     exportqm.path = $${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations
       
   162     exportqm.sources = $$TRANSLATIONS
       
   163     for(file, exportqm.sources) {
       
   164         file2 = $$replace(file, .ts, .qm)
       
   165         file3 = $${PWD}/$$file2
       
   166         hbPrjExport("$$file3", "$$exportqm.path/$$basename(file2)")
       
   167     }
       
   168     # i18n's other files export
       
   169     hbPrjExport("$${PWD}/i18n/translations/language_list.txt", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/language_list.txt")
   155     hbPrjExport("$${PWD}/i18n/translations/language_list.txt", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/language_list.txt")
   170     hbPrjExport("$${PWD}/i18n/translations/locale_mappings.txt", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/locale_mappings.txt")
   156     hbPrjExport("$${PWD}/i18n/translations/locale_mappings.txt", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/locale_mappings.txt")
       
   157     hbPrjExport("$${PWD}/i18n/translations/collations.qm", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/collations.qm")
       
   158     hbPrjExport("$${PWD}/i18n/translations/languages.qm", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/languages.qm")
       
   159     hbPrjExport("$${PWD}/i18n/translations/regions.qm", "$${EPOCROOT}epoc32/winscw/c/resource/hbi18n/translations/regions.qm")
   171 
   160 
   172     LIBS += -lapparc
   161     LIBS += -lapparc
   173     LIBS += -lavkon
   162     LIBS += -lavkon
   174     LIBS += -lbafl
   163     LIBS += -lbafl
   175     LIBS += -lSensrvClient
   164     LIBS += -lSensrvClient
   196     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/data/z/private/10202BE9/20022E82.txt")
   185     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/data/z/private/10202BE9/20022E82.txt")
   197     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/release/winscw/udeb/z/private/10202BE9/20022E82.txt")
   186     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/release/winscw/udeb/z/private/10202BE9/20022E82.txt")
   198     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/release/winscw/urel/z/private/10202BE9/20022E82.txt")
   187     hbPrjExport("$${PWD}/resources/centralrepository/20022E82.txt", "$${EPOCROOT}epoc32/release/winscw/urel/z/private/10202BE9/20022E82.txt")
   199 }
   188 }
   200 
   189 
   201 hb_maemo_dui {
       
   202     INCLUDEPATH += /usr/include/dui
       
   203     INCLUDEPATH += /usr/local/include/dui
       
   204     LIBS += -ldui
       
   205 }
       
   206 
       
   207 include($${HB_SOURCE_DIR}/src/hbcommon.pri)
   190 include($${HB_SOURCE_DIR}/src/hbcommon.pri)