×
Namespaces

Variants
Actions
(Difference between revisions)

Errors in code example of Nokia Qt SDK version 1.0

From Nokia Developer Wiki
Jump to: navigation, search
r60600 (Talk | contribs)
m
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Add ArticleMetaData)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{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= 20101123
 +
|author= [[User:R60600]]
 +
}}
 
[[Category:Qt]]
 
[[Category:Qt]]
 
There are 2 errors in code example of Nokia Qt SDK version 1.0.
 
There are 2 errors in code example of Nokia Qt SDK version 1.0.
Line 11: Line 33:
 
'''111 #if defined(Q_OS_SYMBIAN);'''
 
'''111 #if defined(Q_OS_SYMBIAN);'''
  
112 window.showMaximized();
+
112 window.showMaximized();
  
 
113  #else
 
113  #else
Line 40: Line 62:
  
  
'''And these 2 errors are not correctted in version 1.1.'''
+
'''And these 2 errors are not correctted in version 1.1.'''[[Category:MeeGo Harmattan]] [[Category:Symbian]]

Latest revision as of 10:55, 23 July 2012

Article Metadata
Compatibility
Platform(s):
Symbian
Article
Created: r60600 (23 Nov 2010)
Last edited: hamishwillee (23 Jul 2012)

There are 2 errors in code example of Nokia Qt SDK version 1.0.

The 1st is in file C:\NokiaQtSDK\Examples\4.6\statemachine\eventtransitions\main.cpp

. . .


111 #if defined(Q_OS_SYMBIAN);

112 window.showMaximized();

113 #else

. . .

There is a ";" at the end of line 111, which can't be there.


The 2nd is in file C:\NokiaQtSDK\Examples\4.6\richtext\orderform\main.cpp

. . .

53 windows.show();

. . .

and it should be

window.show();


And these 2 errors are not correctted in version 1.1.

This page was last modified on 23 July 2012, at 10:55.
60 page views in the last 30 days.
×