Archived:Qt Errors & Solutions for Symbian Development
hamishwillee
(Talk | contribs) m (Hamishwillee - Fix categories - this is Symbian specfic) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update - Move to Archive Namespace) |
||
| Line 1: | Line 1: | ||
| + | {{Archived|Qt Mobility is now part of the [[Qt SDK]] so the separate installation and associated errors described are not relevant for current development.}} | ||
| + | {{ArticleMetaData <!-- v1.2 --> | ||
| + | |sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] --> | ||
| + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| + | |devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> | ||
| + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) --> | ||
| + | |platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later --> | ||
| + | |devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) --> | ||
| + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> | ||
| + | |signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --> | ||
| + | |keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --> | ||
| + | |language= <!-- Language category code for non-English topics - e.g. Lang-Chinese --> | ||
| + | |translated-by= <!-- [[User:XXXX]] --> | ||
| + | |translated-from-title= <!-- Title only --> | ||
| + | |translated-from-id= <!-- Id of translated revision --> | ||
| + | |review-by= <!-- After re-review: [[User:username]] --> | ||
| + | |review-timestamp= <!-- After re-review: YYYYMMDD --> | ||
| + | |update-by= <!-- After significant update: [[User:username]]--> | ||
| + | |update-timestamp= <!-- After significant update: YYYYMMDD --> | ||
| + | |creationdate= 20101102 | ||
| + | |author= [[User:Abhijeet30]] | ||
| + | }} | ||
[[Category:Qt Mobility]][[Category:Symbian]] | [[Category:Qt Mobility]][[Category:Symbian]] | ||
| − | |||
==Introduction== | ==Introduction== | ||
| Line 40: | Line 62: | ||
6. Qt Mobility includes: | 6. Qt Mobility includes: | ||
| − | 7. Launch Qt | + | 7. Launch Qt Command Prompt |
8. Make sure Perl is still in path (perl -v) | 8. Make sure Perl is still in path (perl -v) | ||
Revision as of 09:40, 28 June 2012
Qt Mobility is now part of the Qt SDK so the separate installation and associated errors described are not relevant for current development.
Article Metadata
Introduction
The detection of errors and there solutions whilst developing for Symbian can be difficult and this articles looks at some of the solutions
Some times developers fail in troubleshooting attempts while developing using Qt Mobility for Symbian. Most of these errors are due to wrong installation procedure or making wrong environment path.
As this seems wrong:
"Rather than building the libraries it is also possible to deploy a prebuilt set of libraries. Under the c:\QtMobility\%DISTNAME %\symbian directory there contains Mobility_tech_preview_libraries.zip. Extract this into the SDK root directory to add the necessary libraries. If you have multiple SDKs then repeat this step for each of them." because it only installs the binary lib files but not the header files, so we still need to at least "configure" Qt Mobility. That should create "qcontact.h" etc. on C:\S60\devices \S60_3rd_FP2_SDK_v1.1\epoc32\include "make" is not needed
Rebuild debug helper
The following are the examples of errors that may happen in this case.
Error during installation of Qt_Mobility_tech_preview.sis to Emulator: Certificate error. Contact the application supplier.
Error during Emulator (but ignorable): C:\Qt\4.6.1-symbian\examples \animation \animatedtiles>make run call /S60/devices/ S60_3rd_FP2_SDK_v1.1/epoc32/ release/winscw/udeb/ animatedtiles. exe Terminate batch job (Y/N)?
Unhandled exception filter called from program C: \S60\devices \S60_3rd_FP2_SDK_v1 .1\epoc32\tools\make.exe ExceptionCode = c0000005 ExceptionFlags = 0 ExceptionAddress = 416569 Access violation: write operation at address 428 Solution --> Set Emulator compatibility to Windows XP SP3
Error during make run: C:\Qt\4.6.1-symbian\examples \animation \animatedtiles>make run call /S60/devices/ S60_3rd_FP2_SDK_v1.1/epoc32/ release/winscw/udeb/ animatedtiles.exe C:\S60\devices \S60_3rd_FP2_SDK_v1.1\epoc32\tools \make.exe: [run] Error -1073741819 (ignored)
Solution
Here is the right procedure to setup Qt sdk for symbian.
1. Ensure WINSCW emulator for Command Line
2. Install Qt For Symbian
3. Install Qt Mobility for Symbian
4. Qt Mobility libraries: in C:\QtMobility\symbian \install_to_sdk \Qt_Mobility_tech_preview_libraries.zip
5. Extract to C:\Symbian \9.4\S60_5th_Edition_SDK_v1.0_2
6. Qt Mobility includes:
7. Launch Qt Command Prompt
8. Make sure Perl is still in path (perl -v)

