<?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>The Zeroth! &#187; Tech</title>
	<atom:link href="http://thezeroth.net/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://thezeroth.net</link>
	<description>before the first...</description>
	<lastBuildDate>Sat, 31 Dec 2011 19:51:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to use Qt&#8217;s .pro file variable in C++ code</title>
		<link>http://thezeroth.net/2011/07/28/how-to-use-qts-pro-file-variable-in-c-code/</link>
		<comments>http://thezeroth.net/2011/07/28/how-to-use-qts-pro-file-variable-in-c-code/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 12:00:12 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=240</guid>
		<description><![CDATA[So today my colleague ask me &#8221; I have a variable VERSION in .pro file (qmake project file) I want to use that variable in my C++ code, How to do that?&#8221; After a little search on Google I figured that we have export project files variable as a macro for C/C++ code and it very easy. As [...]]]></description>
			<content:encoded><![CDATA[<p>So today my colleague ask me &#8221; I have a variable VERSION in  .pro file (qmake project file) I want to use that variable in my C++ code, How to do that?&#8221;</p>
<p>After a little search on Google I figured that we have export project files variable as a macro for C/C++ code and it very easy.</p>
<p>As the per problem we want VERSION variable in C++ code. So in  project file we write</p>
<p><code>DEFINES += VERSION=\\\"$$VERSION\\\"</code></p>
<p>and in C/C++ code just</p>
<p><code>qDebug()&lt;&lt; VERSION ;</code></p>
<p>this is just a awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2011/07/28/how-to-use-qts-pro-file-variable-in-c-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>conf.kde.in : Only 15 Days to go!!!</title>
		<link>http://thezeroth.net/2011/02/22/conf-kde-in-only-15-days-to-go/</link>
		<comments>http://thezeroth.net/2011/02/22/conf-kde-in-only-15-days-to-go/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 05:28:44 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[conf.kde.in]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[kdeindia]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=230</guid>
		<description><![CDATA[I am contributing to KDE from last 1 yr. The community has given me lots of things : 1) Good Friends. 2) Metors. 3) Knowledge. and many more. And I want all of you to be a part of this community and grow this community.  you have a great change to get the live experience of all [...]]]></description>
			<content:encoded><![CDATA[<p><a title="conf.kde.in" href="http://conf.kde.in" target="_blank"><img class="alignnone size-medium wp-image-231" title="badge" src="http://thezeroth.net/wp-content/uploads/2011/02/badge-300x100.png" alt="" width="300" height="100" /></a></p>
<p>I am contributing to KDE from last 1 yr. The community has given me lots of things :</p>
<p>1) Good Friends.</p>
<p>2) Metors.</p>
<p>3) Knowledge.</p>
<p>and many more.</p>
<p>And I want all of you to be a part of this community and grow this community.  you have a great change to get the live experience of all this things and be a part of the community by attending India&#8217;s 1st ever KDE conference <a href="http://conf.kde.in" target="_blank">conf.kde.in</a>.</p>
<p>Only 15 days remain for the conference and ONLY 3 days left for discounted online registration. After that the registration fees goes up so hurry up register your seat <a rel="url" href="http://kde.in/conf/register">http://kde.in/conf/register</a> .</p>
<p><a href="http://kde.in/conf/register" target="_blank"><img class="aligncenter size-medium wp-image-232" title="flyer" src="http://thezeroth.net/wp-content/uploads/2011/02/flyer-219x300.jpg" alt="" width="219" height="300" /></a></p>
<p>I am almost ready with my slides for the talk and excited to meet all the KDE hacker,  here I invite all of you to come and join us.</p>
<p>enjoy!!</p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2011/02/22/conf-kde-in-only-15-days-to-go/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>conf.kde.in : I am attending !! are you ?</title>
		<link>http://thezeroth.net/2011/02/05/conf-kde-in-i-am-attending-are-you/</link>
		<comments>http://thezeroth.net/2011/02/05/conf-kde-in-i-am-attending-are-you/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 13:01:39 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[kate]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[conf.kde.in]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=223</guid>
		<description><![CDATA[If you are a KDE or Qt Developer or Opensource enthusiast then DON&#8217;T miss India&#8217;s fist ever KDE conference. My 2 talks got selected for conf.kde.in 1) Writing Kate Plugins 2 ) Getting started with Qt programming (with Prashanth Udupa) and there are many more interesting talks by really cool speakers. Here is the list -&#62;  http://kde.in/conf/talks/ . If [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a KDE or Qt Developer or Opensource enthusiast then DON&#8217;T miss India&#8217;s fist ever KDE conference.</p>
<p>My 2 talks got selected for conf.kde.in 1) Writing Kate Plugins<em> </em>2 ) Getting started with Qt programming<em> (with<a href="http://www.prashanthudupa.com/category/technical/" target="_blank"> Prashanth Udupa</a>) </em> and there are many more interesting talks by really cool speakers. Here is the list -&gt;  <a href="http://kde.in/conf/talks/">http://kde.in/conf/talks/</a> .</p>
<p>If you have&#8217;t yet register then do it now (<a href="http://kde.in/conf/register/">http://kde.in/conf/register/</a>)  if you are a student or professor you got a discount too <img src='http://thezeroth.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and for student how needs to provide participation letter to there college here it is <a href="http://kde.in/conf/letter-for-participation/">http://kde.in/conf/letter-for-participation/</a> hurry up secure your sit, lock you calendar and  plan your trip <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  See you there.</p>
<p>Cheers !!</p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2011/02/05/conf-kde-in-i-am-attending-are-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first Open-Source conference Presentation</title>
		<link>http://thezeroth.net/2010/12/30/my-first-open-source-conference-presentation/</link>
		<comments>http://thezeroth.net/2010/12/30/my-first-open-source-conference-presentation/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 10:00:37 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[kate]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[talks]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=206</guid>
		<description><![CDATA[I attend India&#8217;s Biggest Open-Source conference FOSS.IN from 2007, and in 2009, in the same conference, I started contributing to KDE/Kate project. I wrote Tabify plugin for Kate editor and also submitted a few patches to kate and KDE. Then I got lazy and didn&#8217;t do much significant contributions. And again the Foss.in season arrived and I [...]]]></description>
			<content:encoded><![CDATA[<p>I attend India&#8217;s Biggest Open-Source conference FOSS.IN from 2007, and in 2009, in the same conference, I started contributing to KDE/Kate project.</p>
<p>I wrote Tabify plugin for Kate editor and also submitted a few patches to kate and KDE. Then I got lazy and didn&#8217;t do much significant contributions.</p>
<p>And again the Foss.in season arrived and I thought why not give a talk on Kate plugin in Foss.in KDE day. There are not much Kate contributors in India and I can share what I learnt and we can get more contributors in Kate too. That seemed to be an inspiring idea.</p>
<p>But I got disappointed since this year KDE day&#8217;s plan was dropped and I decided to drop my plan as well!! But thanks to people at my office ( VCL team ) for forcing me to do the presentation and finally I applied for the talk.</p>
<p>Eventually my talk got selected and I became a speaker at Foss.in. On 16th Dec 2010 at 11 am I gave my talk on &#8220;Writing plugins for Kate and enhancing Kate&#8221;.</p>
<p>Here is the presentation.</p>
<p><strong><a title="Writing plugins for Kate and enhancing Kate" href="http://www.slideshare.net/abhishekworld/writing-plugins-for-kate-and-enhancing-kate-6406419">Writing plugins for Kate and enhancing Kate</a></strong></p>
<div id="__ss_6406419" style="width: 425px;"><object id="__sse6406419" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=kate-101230032948-phpapp02&amp;stripped_title=writing-plugins-for-kate-and-enhancing-kate-6406419&amp;userName=abhishekworld" /><param name="name" value="__sse6406419" /><param name="allowfullscreen" value="true" /><embed id="__sse6406419" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=kate-101230032948-phpapp02&amp;stripped_title=writing-plugins-for-kate-and-enhancing-kate-6406419&amp;userName=abhishekworld" name="__sse6406419" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/12/30/my-first-open-source-conference-presentation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firefox to Internet Explorer ;)</title>
		<link>http://thezeroth.net/2010/10/18/firefox-to-internet-explorer/</link>
		<comments>http://thezeroth.net/2010/10/18/firefox-to-internet-explorer/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 10:33:14 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[kde]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=201</guid>
		<description><![CDATA[Dear Internet Explorer, People use you only to download me. Yours truly, Firefox *courtesy: Poonam #FB]]></description>
			<content:encoded><![CDATA[<p>Dear Internet Explorer,<br />
People use you only to download me.</p>
<p>Yours truly,</p>
<p>Firefox</p>
<pre>*courtesy: Poonam #FB
</pre>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/10/18/firefox-to-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>I am attending are you ??</title>
		<link>http://thezeroth.net/2010/09/22/i-am-attending-are-you/</link>
		<comments>http://thezeroth.net/2010/09/22/i-am-attending-are-you/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 16:54:44 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=196</guid>
		<description><![CDATA[See you there ..]]></description>
			<content:encoded><![CDATA[<p><a href="http://thezeroth.net/wp-content/uploads/2010/09/attendee-large.png"><img class="alignleft size-full wp-image-197" title="attendee-large" src="http://thezeroth.net/wp-content/uploads/2010/09/attendee-large.png" alt="PyCon India 2010" width="232" height="212" /></a><br />
See you there <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ..</p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/09/22/i-am-attending-are-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Process state check using bash script</title>
		<link>http://thezeroth.net/2010/09/19/process-state-check-using-bash-script/</link>
		<comments>http://thezeroth.net/2010/09/19/process-state-check-using-bash-script/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 20:39:42 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=188</guid>
		<description><![CDATA[After a long time . well recently I came across a situation where my server application use to crash randomly, so to keep it alive all the time I wrote a small bash scrip, well I know, I have to check my Server application code and fix it but that was the demo time so [...]]]></description>
			<content:encoded><![CDATA[<p>After a long time <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
well recently I came across a situation where my server application use to crash randomly, so to keep it alive all the time I wrote a small bash scrip, well I know, I have to check my Server application code and fix it but that was the demo time so 1st make it work as it is then we will fix the corner cases <img src='http://thezeroth.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
<p>but bash script was a fun..</p>
<p>This is how my script looks</p>
<p><code><br />
#!/bin/sh</code></p>
<p style="padding-left: 30px;"><code>while true; do</code></p>
<p style="padding-left: 60px;"><code># If process is not running we will get only 1 else 1 + number of instances<br />
check=`ps ax| grep -c TCPServer`<br />
if [ "$check" -lt 2 ]; then</code></p>
<p style="padding-left: 90px;"><code>echo "not running"<br />
# Start the server again<br />
cd ~/TCPServer/<br />
./TCPServer &gt; /dev/null 2&gt;&amp;1 &amp;<br />
else</code><code> echo "running"<br />
</code></p>
<p style="padding-left: 60px;"><code>fi<br />
</code></p>
<p style="padding-left: 30px;"><code>sleep 1m</code></p>
<p style="padding-left: 30px;"><code>done</code></p>
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/09/19/process-state-check-using-bash-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using vtkRenderWindow with QGraphicsView</title>
		<link>http://thezeroth.net/2010/06/11/using-vtkrenderwindow-with-qgraphicsview/</link>
		<comments>http://thezeroth.net/2010/06/11/using-vtkrenderwindow-with-qgraphicsview/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 03:38:13 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=171</guid>
		<description><![CDATA[We are about to begin on a project that requires us to have floating and transparent widgets over VTK render-window output. About a year back, we had wanted to provide something similar to VTK Designer 2. We wanted users to have the ability to load UI (created using Qt Designer) directly on the VTK output [...]]]></description>
			<content:encoded><![CDATA[<p>We are about to begin on a project that requires us to have floating and transparent widgets over VTK render-window output. About a year back, we had wanted to provide something similar to VTK Designer 2. We wanted users to have the ability to load UI (created using Qt Designer) directly on the VTK output window. At that time (you can follow the thread here) we were unable to come up with something satisfactory.</p>
<p>With the recent changes in Qt, it is now possible for us to have vtkRenderWindow within QGraphicsView. Infact we can now have vtkRenderWindow paint on to a QGLWidget viewport of QGraphicsView. Thats exactly what the vtkQtGraphicsViewRenderWindow class allows us to do.</p>
<p>The class is defined as follows<br />
<code><br />
#ifdef Q_WS_WIN<br />
</code></p>
<p style="padding-left: 30px;"><code>#include "vtkWin32OpenGLRenderWindow.h"<br />
typedef vtkWin32OpenGLRenderWindow vtkRenderWindowClass;<br />
</code></p>
<p><code>#endif</code></p>
<p><code> </code></p>
<p><code>#ifdef Q_WS_X11<br />
</code></p>
<p style="padding-left: 30px;"><code>#include "vtkXOpenGLRenderWindow.h"<br />
typedef vtkXOpenGLRenderWindow vtkRenderWindowClass;<br />
</code></p>
<p><code>#endif</code></p>
<p><code> </code></p>
<p><code>class vtkQtGraphicsViewRenderWindow : public QGraphicsView,<br />
public vtkRenderWindowClass<br />
{</code></p>
<p><code></p>
<p style="padding-left: 30px;">Q_OBJECT</p>
<p></code></p>
<p><span style="font-family: monospace;">public:</span></p>
<p style="padding-left: 30px;"><code>vtkQtGraphicsViewRenderWindow(QWidget* parent = 0);<br />
~vtkQtGraphicsViewRenderWindow();<br />
....</code></p>
<p><code> };<br />
</code><br />
Since vtkQtGraphicsViewRenderWindow is a subclass of both QGraphicsView and vtkRenderWindow,<br />
- we can add any QGraphicsItem to its scene.<br />
- we can use it as a drop-in replacement for vtkRenderWindow.</p>
<p>For example, take a look at the code below.<br />
<code><br />
vtkRenderer* CreateVTKPipeline()<br />
{</code></p>
<p style="padding-left: 30px;"><code> vtkRenderer* renderer = vtkRenderer::New();</code></p>
<p><code> </code></p>
<p style="padding-left: 30px;"><code>// Omitted code that create a fractal terrain scene.</code></p>
<p><code></p>
<p style="padding-left: 30px;">return renderer;</p>
<p>}</p>
<p>int main(int argc, char** argv)<br />
{</p>
<p style="padding-left: 30px;">QApplication a(argc, argv);</p>
<p style="padding-left: 30px;">vtkRenderer* renderer = CreateVTKPipeline();</p>
<p style="padding-left: 30px;">vtkQtGraphicsViewRenderWindow gView;<br />
gView.AddRenderer( renderer );<br />
gView.resize(800, 600);<br />
gView.show();</p>
<p style="padding-left: 30px;">QCalendarWidget* calendar = new QCalendarWidget;<br />
calendar-&gt;setWindowOpacity(0.7);</p>
<p style="padding-left: 30px;">QGraphicsProxyWidget* sceneWidget = new QGraphicsProxyWidget(0, Qt::Dialog);<br />
sceneWidget-&gt;setWidget(calendar);<br />
sceneWidget-&gt;setPos( -sceneWidget-&gt;boundingRect().topLeft() );<br />
sceneWidget-&gt;setFlag(QGraphicsItem::ItemIsMovable);<br />
sceneWidget-&gt;setCacheMode(QGraphicsItem::DeviceCoordinateCache);<br />
sceneWidget-&gt;setWindowTitle("Calendar Widget");</p>
<p style="padding-left: 30px;">QGraphicsScene* scene = gView.scene();<br />
scene-&gt;addItem(sceneWidget);</p>
<p></code></p>
<p style="padding-left: 30px;"><span style="font-family: monospace;"> return a.exec();</span></p>
<p><code> }<br />
</code><br />
Output of the above program becomes:</p>
<p><a title="vtkQtGraphicsViewRenderWindow" href="http://thezeroth.net/wp-content/uploads/2010/06/vtkQtGraphicsView.png" target="_blank"><img class="alignnone size-full wp-image-172" style="margin: 5px; border: 3px solid black;" title="vtkQtGraphicsViewRenderWindow" src="http://thezeroth.net/wp-content/uploads/2010/06/vtkQtGraphicsView.png" alt="" width="566" height="439" /></a></p>
<p>vtkQtGraphicsViewRenderWindow</p>
<p>Whats cooler about the above program is that we can move and resize the translucent QCalendarWidget &#8211; and have the background VTK scene updated!</p>
<p>You can checkout a copy of the class and test program from here:</p>
<p>https://svn2.hosted-projects.com/vcreatelogic/VCLTools/vtkQtGraphicsViewRenderWindow</p>
<p>Username: anonymous<br />
Password: anonymous</p>
<p>[original post : <a href="http://www.vcreatelogic.com/p/2010/06/using-vtkrenderwindow-with-qgraphicsview/">http://www.vcreatelogic.com/p/2010/06/using-vtkrenderwindow-with-qgraphicsview/</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/06/11/using-vtkrenderwindow-with-qgraphicsview/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>KDE: Kate Tabify Plugin</title>
		<link>http://thezeroth.net/2010/03/30/kde-kate-tabify-plugin/</link>
		<comments>http://thezeroth.net/2010/03/30/kde-kate-tabify-plugin/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 15:53:08 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[kate]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[wish-list]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=162</guid>
		<description><![CDATA[Well this was my own wish list to have normal Tab Bar in Kate. And finally I wrote a Tab Bar Plugin &#8211; Tabify (this is for now mostly will changed it to TabBar Extension in svn later) This is how it looks Here is the patch and this is the &#8220;Tar&#8221; for the folder. [...]]]></description>
			<content:encoded><![CDATA[<p>Well this was my own wish list to have <a title="kate-tabify" href="http://en.wikipedia.org/wiki/Tab_%28GUI%29" target="_blank">normal Tab Bar</a> in Kate.<br />
And finally I wrote a <strong>Tab Bar Plugin &#8211; Tabify</strong> (this is for now mostly will changed it to TabBar Extension in svn later)</p>
<p>This is how it looks</p>
<p><a href="http://thezeroth.net/wp-content/uploads/2010/03/kate_tabBar1.png"><img class="alignleft size-large wp-image-164" title="kate_tabBar1" src="http://thezeroth.net/wp-content/uploads/2010/03/kate_tabBar1-1024x696.png" alt="" width="600" height="400" /></a></p>
<p>Here is the <a title="kate-tabify" href="http://static.thezeroth.net/patches/kate-tabify-v1.patch" target="_blank">patch </a> and this is the &#8220;Tar&#8221; for the <a title="kate-tabify" href="http://static.thezeroth.net/patches/tabify.tar.gz" target="_blank">folder.</a></p>
<p>enjoy <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/03/30/kde-kate-tabify-plugin/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Installing Qt for Symbian SDK 4.6.2 on Linux</title>
		<link>http://thezeroth.net/2010/03/20/installing-qt-for-symbian-sdk-4-6-2-on-linux/</link>
		<comments>http://thezeroth.net/2010/03/20/installing-qt-for-symbian-sdk-4-6-2-on-linux/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 06:19:06 +0000</pubDate>
		<dc:creator>thezeroth</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://thezeroth.net/?p=151</guid>
		<description><![CDATA[As we all know now Qt can run on Symbian Phones but there is one problem all SDK&#8217;s and Tool chain of this officially supports windows. So how about people like us(who&#8217;s default OS is Linux) cant we develop for Symbian using Qt? In answer to this question I found many articles/blogpost how to install [...]]]></description>
			<content:encoded><![CDATA[<p>As we all know now Qt can run on Symbian Phones but there is one problem all SDK&#8217;s and Tool chain of this officially supports windows.</p>
<p>So how about people like us(who&#8217;s default OS is Linux) cant we develop for Symbian using Qt?</p>
<p>In answer to this question I found many articles/blogpost how to install Qt for Symbian on Linux but this is the one which work for me <a title="installing-qt-for-symbian-sdk-4-6-2-on-linux" href="http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/" target="_blank">http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/</a> .</p>
<p>I followed this post every thing was perfect except 2 things</p>
<p>1) creating .sis(the Symbian executable) file.</p>
<p>2) creating installer.sis(the Symbian executable installer) file.</p>
<p>and i figured out how to do that too.</p>
<p>I re-witting the basic installation from <a title="installing-qt-for-symbian-sdk-4-6-2-on-linux" href="http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/" target="_blank">http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/</a> . plus my Hacks/Tricks .</p>
<h1><span style="color: #ffffff;">Tool-Chain:</span></h1>
<p>Download all required files to a single directory (e.g. “~/downloads”):</p>
<ul>
<li><a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/">S60_5th_Edition_SDK_v1_0_en.zip (623MB) or S60-SDK-200634-3.1-Cpp-f.1090b.zip (355MB)</a>: S60 SDK for Symbian OS (be sure to click on the “Download all-in-one S60 SDKs” button for 5th edition, or “Download S60 SDKs for C++” for 3rd edition, FP1)</li>
<li><a href="http://www.forum.nokia.com/Technology_Topics/Development_Platforms/Open_C_and_C++/">s60_open_c_cpp_plug_in_v1_6_en.zip</a> (35MB): Open C/C++ Plug-in</li>
<li><a href="http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.2.exe">qt-symbian-opensource-4.6.2.exe</a> (201MB): Qt for Open Source C++ development on Symbian</li>
<li><a href="http://www.codesourcery.com/sgpp/lite/arm/releases/2005Q1C">gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</a> (11MB): CodeSourcery’s ARM toolchain for Symbian</li>
<li><a href="http://www.martin.st/symbian/gnupoc-package-1.15.tar.gz">gnupoc-package-1.15.tar.gz</a> (6.2MB): tools and patches to run Symbian SDK on Linux</li>
<li><a href="http://franciscoalecrim.com/lizardo/gnupoc_1.15_installer_v2.sh">gnupoc_1.15_installer_v2.sh</a>: Unofficial GnuPoc installer (supports 3.1 and 5.0 SDKs)</li>
<li><a href="http://franciscoalecrim.com/lizardo/qt_for_symbian_4.6.2_linux_installer_v3.sh">qt_for_symbian_4.6.2_linux_installer_v3.sh</a>: Unofficial Qt for Symbian installer for Linux</li>
<li><a title="Nokia Smart Installer" href="http://get.qt.nokia.com/nokiasmartinstaller/" target="_blank">Nokia Smart Installer</a> Which makes it easier to deploy your Qt application to Symbian phones.</li>
</ul>
<p>For building the native tools from gnupoc, you will need:</p>
<ul>
<li>the GCC C/C++ compilers</li>
<li>development files for zlib</li>
<li>development files for openssl</li>
</ul>
<p>On Ubuntu, you can install these using the following command:</p>
<p><code>sudo apt-get install build-essential zlib1g-dev libssl-dev</code></p>
<h1><span style="color: #ffffff;">Installation</span></h1>
<p>First, install GnuPoc + S60 SDK + the Open C/C++ plugin:</p>
<p><code>./gnupoc_1.15_installer_v2.sh \<br />
&lt;download-dir&gt; \<br />
&lt;gnupoc-dir&gt;\<br />
&lt;x.y&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. “~/downloads”), &lt;gnupoc-dir&gt; with the destination directory for GnuPoc and the SDK files (e.g. “~/gnupoc”) and &lt;x.y&gt; (Note that this is not the directory) with the SDK version you want to install (e.g. “3.1″ or “5.0″). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:</p>
<p><code>Installation has finished. Before using the GnuPoc SDK, run these commands on the console:</code></p>
<p>export PATH=&lt;gnupoc-dir&gt;/bin:$PATH<br />
export EPOCROOT=&lt;gnupoc-dir&gt;/symbian-sdks/5.0/ # trailing &#8220;/&#8221; is required!</p>
<p>(These commands must be run again every time a new console is opened.)</p>
<p>Run the commands as instructed on the message. Next, install Qt for Symbian:</p>
<p><code>./qt_for_symbian_4.6.2_linux_installer_v3.sh \<br />
&lt;download-dir&gt; \<br />
&lt;qt-s60-dir&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. “~/downloads”), and &lt;qt-s60-dir&gt; with the destination directory for the Qt files (e.g. “~/gnupoc/qt-4.6.2″). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:<br />
<code>Installation has finished. Before using the Qt for Symbian SDK, run this command on the console:</code></p>
<p>export PATH=&lt;qt-s60-dir&gt;/bin:$PATH<br />
unset QMAKESPEC    # make sure there is no QMAKESPEC variable set</p>
<p>(This command must be run again every time a new console is opened.)</p>
<p>Before using Qt for Symbian, you should run the command as instructed on the message above.</p>
<h1><span style="color: #ffffff;">Usage example</span></h1>
<p>Install Nokia Smart Installer :</p>
<ol>
<li>Unzip Nokia Smart Installer  on top of your installed Qt for Symbian folder <code>in &lt;qt-s60-dir&gt;</code></li>
</ol>
<p>To test the installation, I will describe how to build the “colliding mice” example.</p>
<ol>
<li>cd into the example source:</li>
<p><code>cd &lt;qt-s60-dir&gt;/examples/graphicsview/collidingmice/</code></p>
<li>Now build the example and generate the SIS file</li>
<p><code>qmake<br />
make debug-gcce<br />
make sis<br />
make installer_sis<br />
</code></ol>
<h2><span style="color: #ffffff;">Chnages/Hack/Tricks</span></h2>
<p>You will notice that when  you do <code> make installer_sis</code><br />
there is some error related to &#8220;createpackage.bat&#8221; file this is batch file what we have to do is open</p>
<p><code>Makefile</code></p>
<p>search for <code>ok_installer_sis:</code></p>
<p>and change <code>createpackage.bat to createpackage.sh</code></p>
<p>createpackage.sh is already there just that its not getting reflected in Makefile .</p>
<p>and now if you do <code>make installer_sis</code> you will get <code>collidingmice_installer.sis</code></p>
<p>I have also created one bash function as follow:<br />
<code><br />
function qtsis {<br />
export PATH=&lt;gnupoc-dir&gt;/bin:$PATH<br />
export EPOCROOT=&lt;gnupoc-dir&gt;/symbian-sdks/5.0/ # trailing "/" is required!<br />
export PATH=&lt;qt-s60-dir&gt;/bin:$PATH<br />
unset QMAKESPEC    # make sure there is no QMAKESPEC variable set<br />
}<br />
</code><br />
Add this function in your .bashrc file with proper path which you get after installation.</p>
<p>and do <code>source ~/.bashrc</code></p>
<p>now when ever you want to compile your qt code for Symbian 1st execute qtsis command on your terminal  then other qt commands <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A few notes:</p>
<ul>
<li>Make sure Qt is installed on the device before installing Qt applications. The easiest way to install it is to copy the “qt_installer.sis” package found under &lt;qt-s60-dir&gt; over bluetooth and open the received message to begin the installation.</li>
<li>Only the “debug-gcce” (if you are using the GCCE toolchain AKA “CodeSourcery toolchain”) or “debug-armv5″ (if you are using RVCT) will work, because the current Qt releases only ship debug versions of the libraries</li>
</ul>
<p>enjoy <img src='http://thezeroth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thezeroth.net/2010/03/20/installing-qt-for-symbian-sdk-4-6-2-on-linux/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

