<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Improved &#187; Nokia</title>
	<atom:link href="http://blog.codeimproved.net/tag/nokia/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codeimproved.net</link>
	<description></description>
	<lastBuildDate>Sun, 18 Dec 2011 18:50:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting rid of the Nokia Qt SDK warnings</title>
		<link>http://blog.codeimproved.net/2010/06/getting-rid-of-the-nokia-qt-sdk-warnings/</link>
		<comments>http://blog.codeimproved.net/2010/06/getting-rid-of-the-nokia-qt-sdk-warnings/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 15:31:58 +0000</pubDate>
		<dc:creator>razvanpetru</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://blog.codeimproved.net/?p=180</guid>
		<description><![CDATA[When the SDK beta came out, I posted a topic on Forum Nokia about the warnings emitted when compiling Qt Symbian programs. I also opened a bug report in the Qt bug tracker at the suggestion of Christian Kamm, but the warnings come from the Symbian headers, so it is unlikely that the Qt team [...]]]></description>
			<content:encoded><![CDATA[<p>When the SDK beta came out, I <a href="http://discussion.forum.nokia.com/forum/showthread.php?199397-Nokia-Qt-SDK-Compiler-warnings-and-breakpoints-not-working&amp;p=730244" target="_blank">posted a topic</a> on Forum Nokia about the warnings emitted when compiling Qt Symbian programs. I also opened a bug report in the Qt bug tracker at the suggestion of Christian Kamm, but the warnings come from the Symbian headers, so it is unlikely that the Qt team can do much about it.</p>
<p>Here&#8217;s a workaround:</p>
<ul>
<li>Add the flags  -Wno-attributes -Wno-parentheses to the Symbian compiler flags. This will fix the <em>dllimport </em>warnings and the <em>&#8220;recommend parentheses around&#8230;&#8221;</em> warnings. e.g: <em>symbian {QMAKE_CXXFLAGS += -Wno-attributes -Wno-parentheses}</em></li>
<li>Edit the file e32cmn.inl and replace the C-casts at the warning lines with reinterpret_cast. e.g: <em>(const TSecureId&amp;)iId</em> will become <em>reinterpret_cast&lt;const TSecureId&amp;&gt;(iId). </em>The conversion seems to be correct, even though the implementation is hack-ish.<em><br />
</em></li>
</ul>
<p>In one project &#8211; after doing the two changes outlined above &#8211; the warning count was cut from ~4000 to about 41. There weren&#8217;t 4000 real warnings, more like ~100 but Qt Creator counts each warning line as a warning (this might be a bug).</p>
<p>The remaining warnings were:</p>
<ol></ol>
<ul>
<li>d32locd.h:189: warning: invalid access to non-static data member &#8216;TLocalDriveCaps::iSize&#8217; of NULL object</li>
<li>d32locd.h:190: warning: invalid access to non-static data member &#8216;TLocalDriveCapsV3::iFormatInfo&#8217; of NULL object</li>
<li>openfont.h:2549: warning: invalid access to non-static data member &#8216;COpenFontRasterizer::iDtor_ID_Key&#8217; of NULL object</li>
<li>openfont.h:2571: warning: invalid access to non-static data member &#8216;CShaperFactory::iDtor_ID_Key&#8217; of NULL object</li>
<li>biditext.h:12: warning: declaration &#8216;enum CGraphicsContext::TTextAlign&#8217; does not declare anything</li>
</ul>
<ol></ol>
<p>1-4 seem to be related to the use of the _FOFF macro., but I didn&#8217;t do any detailed analysis.</p>
<div style="width: 1px;height: 1px;overflow: hidden">
<p>symbian {</p>
<pre style="margin: 0px;text-indent: 0px">    QMAKE_CXXFLAGS += -Wno-attributes -Wno-parentheses</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeimproved.net/2010/06/getting-rid-of-the-nokia-qt-sdk-warnings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You don&#8217;t want me to buy your mobile app? Ok, I won&#8217;t.</title>
		<link>http://blog.codeimproved.net/2010/06/you-dont-want-me-to-buy-your-mobile-app-ok-i-wont/</link>
		<comments>http://blog.codeimproved.net/2010/06/you-dont-want-me-to-buy-your-mobile-app-ok-i-wont/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:14:22 +0000</pubDate>
		<dc:creator>razvanpetru</dc:creator>
				<category><![CDATA[Peopleware]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Ovi]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://blog.codeimproved.net/?p=164</guid>
		<description><![CDATA[It&#8217;s late at night and I&#8217;ve just found out some news about the subway worker&#8217;s strike in my city. A friend of mine will use the subway tomorrow to go to work and I want to tell them about it. Problem is, they&#8217;re already asleep. I know &#8211; I&#8217;ll download a SMS scheduling app from [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s late at night and I&#8217;ve just found out some news about the subway worker&#8217;s strike in my city. A friend of mine will use the subway tomorrow to go to work and I want to tell them about it. Problem is, they&#8217;re already asleep.</p>
<p>I know &#8211; I&#8217;ll download a SMS scheduling app from the Nokia Ovi Store, type the message and the app will send it tomorrow morning, just in time for my friend to read it.</p>
<p>My Ovi client doesn&#8217;t work any more after the latest E72 update, so I use the native browser. It goes like this: I open the Ovi website and search for &#8220;sms schedule&#8221;. Nothing. I search for &#8220;sms scheduler&#8221; and check the three relevant results. On a second look, it&#8217;s the same app with three different prices.</p>
<p>They have the same description too, so I give up and just pick the second most expensive. <em>&#8220;Want to send a Time Based SMS to be Sent Later? Write it now  &amp;  Forget it! It will be Auto Sent.&#8221;</em> Who are these guys? I visit their website and discover that they are one of the<em> &#8220;Largest Developers of Mobile Applications in the World&#8221;</em>. And they like to randomly capitalize words.</p>
<p>A few searches later I find another scheduler app and open its description &#8211; <em>&#8220;The application will silently assist you and won&#8217;t bother when you have  limited time. You&#8217;re able to create and manage short messages in an  ordinary way.&#8221;<br />
</em></p>
<p>I decided that it&#8217;s safer to wake up in the morning to tell my friend about the strike.<em> </em></p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeimproved.net/2010/06/you-dont-want-me-to-buy-your-mobile-app-ok-i-wont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.codeimproved.net @ 2012-02-05 19:33:02 -->
