From 895046d54eee97d838dea1fdcb34a7dff3d91f98 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Wed, 21 Oct 2009 12:07:46 +0200 Subject: Revert "Switch from *-armv5 to *-armv6." This reverts commit a6af1538ea53408399fb29870a4ef16a92c7893a. armv6 is not supported by public SDKs, due to armv6/urel not existing. Such SDKs needs to be fixed by copying the armv5 files. Hence we revert, and postpone until we have SDKs which actually support armv6, and until we have a stronger insight into what advantages armv6 brings. --- README.s60 | 8 ++++---- bin/createpackage.pl | 4 ++-- bin/patch_capabilities.pl | 2 +- configure.exe | Bin 1169408 -> 2170880 bytes .../snippets/code/doc_src_s60-introduction.qdoc | 6 +++--- qmake/generators/symbian/symmake_abld.cpp | 6 +++--- qmake/generators/symbian/symmake_sbsv2.cpp | 6 +++--- tools/configure/configureapp.cpp | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.s60 b/README.s60 index 87259c1..2137135 100644 --- a/README.s60 +++ b/README.s60 @@ -148,7 +148,7 @@ many example programs in Qt's examples directory. To build Qt for the device, type: - make release-armv6 + make release-armv5 Congratulations, Qt is now ready to use. @@ -159,7 +159,7 @@ many example programs in Qt's examples directory. a real device, you first have to install the Qt libraries on the device: cd src\s60installs - createpackage -i Qt_for_S60_template.pkg release-armv6 + createpackage -i Qt_for_S60_template.pkg release-armv5 Note: You will need to supply certificate that allows installation of binaries with "All -Tcb" capability to your device. @@ -167,9 +167,9 @@ many example programs in Qt's examples directory. Similarly, install fluidlauncher to the device: cd embedded\fluidlauncher - createpackage -i fluidlauncher_template.pkg release-armv6 + createpackage -i fluidlauncher_template.pkg release-armv5 - This will create a self-signed fluidlauncher_release-armv6.sis and install it to your device. + This will create a self-signed fluidlauncher_release-armv5.sis and install it to your device. To run the demos on the emulator simply navigate to the directory of the demo and run: diff --git a/bin/createpackage.pl b/bin/createpackage.pl index fe141d7..7e87758 100755 --- a/bin/createpackage.pl +++ b/bin/createpackage.pl @@ -85,10 +85,10 @@ Where parameters are as follows: passphrase = The certificate's private key file's passphrase Example: - createpackage.pl fluidlauncher_template.pkg release-armv6 + createpackage.pl fluidlauncher_template.pkg release-armv5 Example with certfile: - createpackage.pl -c=mycerts.txt fluidlauncher_template.pkg release-armv6 + createpackage.pl -c=mycerts.txt fluidlauncher_template.pkg release-armv5 Content of 'mycerts.txt' must be something like this: # This is comment line, also the empty lines are ignored diff --git a/bin/patch_capabilities.pl b/bin/patch_capabilities.pl index e570632..bfd34f0 100755 --- a/bin/patch_capabilities.pl +++ b/bin/patch_capabilities.pl @@ -53,7 +53,7 @@ sub Usage() { print("capabilities supported by self-signed certificates.\n"); print("\n *** NOTE: If *_template.pkg file is given, 'target-platform' is REQUIRED. ***\n"); print("\nUsage: patch_capabilities.pl pkg_filename [capability list]\n"); - print("\nE.g. patch_capabilities.pl myapp_template.pkg release-armv6 \"All -TCB\"\n"); + print("\nE.g. patch_capabilities.pl myapp_template.pkg release-armv5 \"All -TCB\"\n"); exit(); } diff --git a/configure.exe b/configure.exe index fc95f90..dabf10c 100755 Binary files a/configure.exe and b/configure.exe differ diff --git a/doc/src/snippets/code/doc_src_s60-introduction.qdoc b/doc/src/snippets/code/doc_src_s60-introduction.qdoc index c9c6fd9..8949df6 100644 --- a/doc/src/snippets/code/doc_src_s60-introduction.qdoc +++ b/doc/src/snippets/code/doc_src_s60-introduction.qdoc @@ -50,16 +50,16 @@ //! [2] qmake - make debug-winscw release-armv6 + make debug-winscw release-armv5 make sis //! [2] //! [3] - make sis QT_SIS_TARGET=debug-armv6 + make sis QT_SIS_TARGET=debug-armv5 //! [3] //! [4] - set QT_SIS_TARGET=debug-armv6 + set QT_SIS_TARGET=debug-armv5 make sis //! [4] diff --git a/qmake/generators/symbian/symmake_abld.cpp b/qmake/generators/symbian/symmake_abld.cpp index 692ead7..4d1673b 100644 --- a/qmake/generators/symbian/symmake_abld.cpp +++ b/qmake/generators/symbian/symmake_abld.cpp @@ -224,8 +224,8 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool t << "first: default" << endl; if (debugPlatforms.contains("winscw")) t << "default: debug-winscw"; - else if (debugPlatforms.contains("armv6")) - t << "default: debug-armv6"; + else if (debugPlatforms.contains("armv5")) + t << "default: debug-armv5"; else if (debugPlatforms.size()) t << "default: debug-" << debugPlatforms.first(); else @@ -259,7 +259,7 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool } t << endl; - // For more specific builds, targets are in this form: build-platform, e.g. release-armv6 + // For more specific builds, targets are in this form: build-platform, e.g. release-armv5 foreach(QString item, debugPlatforms) { t << "debug-" << item << ": $(ABLD)" << endl; t << "\t$(ABLD)" << testClause << " build " << item << " udeb" << endl; diff --git a/qmake/generators/symbian/symmake_sbsv2.cpp b/qmake/generators/symbian/symmake_sbsv2.cpp index bcb93af..cad2736 100644 --- a/qmake/generators/symbian/symmake_sbsv2.cpp +++ b/qmake/generators/symbian/symmake_sbsv2.cpp @@ -150,8 +150,8 @@ void SymbianSbsv2MakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, boo t << "first: default" << endl; if (debugPlatforms.contains("winscw")) t << "default: debug-winscw"; - else if (debugPlatforms.contains("armv6")) - t << "default: debug-armv6"; + else if (debugPlatforms.contains("armv5")) + t << "default: debug-armv5"; else if (debugPlatforms.size()) t << "default: debug-" << debugPlatforms.first(); else @@ -182,7 +182,7 @@ void SymbianSbsv2MakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, boo } t << endl; - // For more specific builds, targets are in this form: build-platform, e.g. release-armv6 + // For more specific builds, targets are in this form: build-platform, e.g. release-armv5 foreach(QString item, debugPlatforms) { t << "debug-" << item << ": " << BLD_INF_FILENAME << endl; t << "\t$(SBS) -c " << item << "_udeb" << testClause << endl; diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 02375b3..f57f3a8 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -1164,7 +1164,7 @@ void Configure::parseCmdLine() dictionary["QTBUILDINSTRUCTION"] = dictionary["MAKE"]; if (dictionary.contains("XQMAKESPEC")) { if (dictionary["XQMAKESPEC"].startsWith("symbian")) { - dictionary["QTBUILDINSTRUCTION"] = QString("make debug-winscw|debug-armv6|release-armv6"); + dictionary["QTBUILDINSTRUCTION"] = QString("make debug-winscw|debug-armv5|release-armv5"); } else if (dictionary["XQMAKESPEC"].startsWith("wince")) { dictionary["QTBUILDINSTRUCTION"] = QString("setcepaths.bat ") + dictionary["XQMAKESPEC"] + QString(" && ") + dictionary["MAKE"]; -- cgit v0.12