diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-12-05 10:37:37 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-12-07 14:13:51 (GMT) |
commit | d766d10bd57f131750e4ff522849e8648d2e3331 (patch) | |
tree | c33a3484426bb05f7aed344af93893021492bafa /qmake/generators | |
parent | 75155a7345dab9033552a8cd9c2f2655965ef83c (diff) | |
download | Qt-d766d10bd57f131750e4ff522849e8648d2e3331.zip Qt-d766d10bd57f131750e4ff522849e8648d2e3331.tar.gz Qt-d766d10bd57f131750e4ff522849e8648d2e3331.tar.bz2 |
Symbian: Only localize the application .rss that needs it, not all .rss
Move LANG statement into proper RESOURCE block inside generated .mmp
file, so it doesn't affect _reg.rss, which doesn't need to be
localized.
Task-number: ou1cimx1#947060
Reviewed-by: Pasi Pentikainen
Diffstat (limited to 'qmake/generators')
-rw-r--r-- | qmake/generators/symbian/symbiancommon.cpp | 1 | ||||
-rw-r--r-- | qmake/generators/symbian/symmake.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/qmake/generators/symbian/symbiancommon.cpp b/qmake/generators/symbian/symbiancommon.cpp index 8db82d6..c79bad2 100644 --- a/qmake/generators/symbian/symbiancommon.cpp +++ b/qmake/generators/symbian/symbiancommon.cpp @@ -397,7 +397,6 @@ void SymbianCommonGenerator::generatePkgFile(const QString &iconFile, if (symbianLocalizationList.size()) { // Add localized resources to DEPLOYMENT if default resource deployment is done addLocalizedResourcesToDeployment("default_resource_deployment.files", symbianLocalizationList); - addLocalizedResourcesToDeployment("default_reg_deployment.files", symbianLocalizationList); } // deploy files specified by DEPLOYMENT variable diff --git a/qmake/generators/symbian/symmake.cpp b/qmake/generators/symbian/symmake.cpp index 694bbfb..0b41572 100644 --- a/qmake/generators/symbian/symmake.cpp +++ b/qmake/generators/symbian/symmake.cpp @@ -681,6 +681,7 @@ void SymbianMakefileGenerator::writeMmpFileResourcePart(QTextStream& t, const Sy locTarget.append(".rss"); t << "SOURCEPATH\t\t\t. " << endl; + t << MMP_START_RESOURCE "\t\t" << locTarget << endl; t << "LANG SC "; // no endl SymbianLocalizationListIterator iter(symbianLocalizationList); while (iter.hasNext()) { @@ -688,7 +689,6 @@ void SymbianMakefileGenerator::writeMmpFileResourcePart(QTextStream& t, const Sy t << loc.symbianLanguageCode << " "; // no endl } t << endl; - t << MMP_START_RESOURCE "\t\t" << locTarget << endl; t << "HEADER" << endl; t << "TARGETPATH\t\t\t" RESOURCE_DIRECTORY_MMP << endl; t << MMP_END_RESOURCE << endl << endl; |