Building Applications for Symbian1 with Qt SDK 1.1: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''English''' [[Building Applications for Symbian1 with Qt SDK 1.1 Bulgarian|Български]]
[[Category:Developing with Qt::Workarounds]]


=Building Applications for Symbian^1 with Qt <span class="caps">SDK</span> 1.1=
[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]


==Description==
'''English''' [[Building_Applications_for_Symbian1_with_Qt_SDK_1.1_Bulgarian|Български]]


Due to [http://bugreports.qt.nokia.com/browse/QTSDK-702 a bug at Qt <span class="caps">SDK</span> 1.1] ''[bugreports.qt.nokia.com]'' qmake generates pkg files which does not include support for Symbian^1 (Symbian S60 5th Edition). As a result a compatibility warning is displayed during installation of the sis file of the application on Symbian^1 devices and application cannot be published for them in Nokia Ovi Store.
= Building Applications for Symbian^1 with Qt SDK 1.1 =


==Workaround==
== Description ==


The bug is still not resolved but there is a workaround. To fix it go to '''\QtSDK\Symbian\SDKs\Symbian1Qt473\mkspecs\features\symbian\default_post.prf''' and replace the following code:
Due to &quot;a bug at Qt SDK 1.1&amp;quot;:http://bugreports.qt.nokia.com/browse/QTSDK-702 qmake generates pkg files which does not include support for Symbian^1 (Symbian S60 5th Edition). As a result a compatibility warning is displayed during installation of the sis file of the application on Symbian^1 devices and application cannot be published for them in Nokia Ovi Store.
 
== Workaround ==
 
The bug is still not resolved but there is a workaround. To fix it go to '''1Qt473\mkspecs\features\symbian\default_post.prf''' and replace the following code:
 
<code><br /># Supports Symbian^3 and Symbian^4 by default and also S60 3.1, 3.2, and 5.0 if built against any of those.<br />platform_product_id = S60ProductID<br />platform_product_id = $$addLanguageDependentPkgItem(platform_product_id)<br />pkg_platform_dependencies =  &quot;; Default HW/platform dependencies&amp;quot;  &quot;[0x20022E6D],0,0,0,{$$platform_product_id}&quot;  &quot;[0x20032DE7],0,0,0,{$$platform_product_id}&quot;<br />contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {<br /> pkg_platform_dependencies +=  &quot;[0x102032BE],0,0,0,{$$platform_product_id}&quot;  &quot;[0x102752AE],0,0,0,{$$platform_product_id}&quot;  &quot;[0x1028315F],0,0,0,{$$platform_product_id}&quot;<br />}<br /></code>


with
with
<code><br /># Supports Symbian^1, Symbian^3 and Symbian^4<br />platform_product_id = S60ProductID<br />platform_product_id = $$addLanguageDependentPkgItem(platform_product_id)<br />pkg_platform_dependencies =  &quot;; Default HW/platform dependencies&amp;quot;  &quot;; Symbian^1 (aka S60 5th Edition) &quot;  &quot;[0x1028315F],0,0,0,{$$platform_product_id}&quot;  &quot;; Symbian^3&amp;quot;  &quot;[0x20022E6D],0,0,0,{$$platform_product_id}&quot;  &quot;; Symbian^4&amp;quot;  &quot;[0x20032DE7],0,0,0,{$$platform_product_id}&quot;<br /></code>


The modified code will allow you to build applications compatible to Symbian^1 (Symbian S60 5th Edition), Symbian^3 and Symbian^4.
The modified code will allow you to build applications compatible to Symbian^1 (Symbian S60 5th Edition), Symbian^3 and Symbian^4.


==See also==
== See also ==
 
[http://bugreports.qt.nokia.com/browse/QTSDK-702 S60_VERSION and <span class="caps">SYMBIAN</span>_VERSION qmake variables are Unknown in Symbian^1 builds] ''[bugreports.qt.nokia.com]''<br />[http://wiki.forum.nokia.com/index.php/S60_Platform_and_device_identification_codes S60 Platform and device identification codes] ''[wiki.forum.nokia.com]''
 
===Categories:===


* [[:Category:Developing with Qt|Developing_with_Qt]]
&quot;S60_VERSION and SYMBIAN_VERSION qmake variables are Unknown in Symbian^1 builds&amp;quot;:http://bugreports.qt.nokia.com/browse/QTSDK-702
** [[:Category:Developing with Qt::Workarounds|Workarounds]]

Revision as of 11:14, 24 February 2015


[toc align_right="yes&quot; depth="2&quot;]

English Български

Building Applications for Symbian^1 with Qt SDK 1.1

Description

Due to "a bug at Qt SDK 1.1&quot;:http://bugreports.qt.nokia.com/browse/QTSDK-702 qmake generates pkg files which does not include support for Symbian^1 (Symbian S60 5th Edition). As a result a compatibility warning is displayed during installation of the sis file of the application on Symbian^1 devices and application cannot be published for them in Nokia Ovi Store.

Workaround

The bug is still not resolved but there is a workaround. To fix it go to 1Qt473\mkspecs\features\symbian\default_post.prf and replace the following code:

<br /># Supports Symbian^3 and Symbian^4 by default and also S60 3.1, 3.2, and 5.0 if built against any of those.<br />platform_product_id = S60ProductID<br />platform_product_id = $$addLanguageDependentPkgItem(platform_product_id)<br />pkg_platform_dependencies =  &quot;; Default HW/platform dependencies&amp;quot;  &quot;[0x20022E6D],0,0,0,{$$platform_product_id}&quot;  &quot;[0x20032DE7],0,0,0,{$$platform_product_id}&quot;<br />contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {<br /> pkg_platform_dependencies +=  &quot;[0x102032BE],0,0,0,{$$platform_product_id}&quot;  &quot;[0x102752AE],0,0,0,{$$platform_product_id}&quot;  &quot;[0x1028315F],0,0,0,{$$platform_product_id}&quot;<br />}<br />

with

<br /># Supports Symbian^1, Symbian^3 and Symbian^4<br />platform_product_id = S60ProductID<br />platform_product_id = $$addLanguageDependentPkgItem(platform_product_id)<br />pkg_platform_dependencies =  &quot;; Default HW/platform dependencies&amp;quot;  &quot;; Symbian^1 (aka S60 5th Edition) &quot;  &quot;[0x1028315F],0,0,0,{$$platform_product_id}&quot;  &quot;; Symbian^3&amp;quot;  &quot;[0x20022E6D],0,0,0,{$$platform_product_id}&quot;  &quot;; Symbian^4&amp;quot;  &quot;[0x20032DE7],0,0,0,{$$platform_product_id}&quot;<br />

The modified code will allow you to build applications compatible to Symbian^1 (Symbian S60 5th Edition), Symbian^3 and Symbian^4.

See also

"S60_VERSION and SYMBIAN_VERSION qmake variables are Unknown in Symbian^1 builds&quot;:http://bugreports.qt.nokia.com/browse/QTSDK-702