<?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>esdrasbeleza.com</title>
	<atom:link href="http://www.esdrasbeleza.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esdrasbeleza.com</link>
	<description>Só mais um blog do WordPress</description>
	<lastBuildDate>Mon, 05 Jul 2010 02:41:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Firefox 4.0 pre-beta released</title>
		<link>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/</link>
		<comments>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 02:41:00 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Preview]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=231</guid>
		<description><![CDATA[Lifehacker shown a screenshot of the new Firefox 4.0 pre-beta for Windows. Here it is (Mozilla names Firefox beta versions &#8220;Minefield&#8221;): Nice, isn&#8217;t it? So, I downloaded the new beta for Linux, and it looks like the screenshot below. I had to set the tabs to be on top; Windows version brings this for default [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Lifehacker <a href="http://lifehacker.com/5575931/firefox-4-pre+beta-candidate-brings-tabs-and-top-and-other-changes-to-the-fox">shown a screenshot of the new Firefox 4.0 pre-beta for Windows</a>. Here it is (Mozilla names Firefox beta versions &#8220;Minefield&#8221;):</p>
<p><img class="aligncenter size-full wp-image-233" title="Lifehacker's Minefield Screenshot" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/lifehacker_minefield.jpg" alt="" width="500" height="321" /></p>
<p style="text-align: justify;">Nice, isn&#8217;t it? So, I downloaded the new beta for Linux, and it looks like the screenshot below. I had to set the tabs to be on top; Windows version brings this for default (at least the one that I installed using Wine).</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-4.0b2pre1.png"><img class="aligncenter size-medium wp-image-235" title="Firefox 4.0 pre-beta on Linux" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-4.0b2pre1-300x220.png" alt="Firefox 4.0 pre-beta on Linux" width="300" height="220" /></a></p>
<p style="text-align: justify;">Compare. The screenshot below is Firefox 3.6.4.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-3.6.4.png"><img class="aligncenter size-medium wp-image-234" title="Firefox 3.6.4 on Linux" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-3.6.4-300x203.png" alt="Firefox 3.6.4 on Linux" width="300" height="203" /></a></p>
<p style="text-align: justify;">It&#8217;s a little far from <a href="https://wiki.mozilla.org/Firefox/4.0_Linux_Theme_Mockups">the mockups of Firefox for Linux at Mozilla&#8217;s site</a>. I hope I can see it soon. <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VolumeSlider&#8217;s tooltip misbehaviour</title>
		<link>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 17:58:20 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Creator]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=203</guid>
		<description><![CDATA[I was developing a Qt application that makes use of a Phonon::VolumeSlider object. But after clicking the mute button beside of the VolumeSlider and verifying its tooltip, I noticed it was showing the wrong volume. A video can explain this better than me: www.youtube.com/watch?v=rJcqZ2SVTK0 If you want to reproduce this problem, you can download its source [...]]]></description>
			<content:encoded><![CDATA[<p>I was developing a Qt application that makes use of a Phonon::VolumeSlider object. But after clicking the mute button beside of the VolumeSlider and verifying its tooltip, I noticed it was showing the wrong volume. A video can explain this better than me:</p>
<p style="text-align: center;"><span class="youtube">
<object type="application/x-shockwave-flash" width="320" height="265" data="http://www.youtube.com/v/rJcqZ2SVTK0&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0?rel=1">
<param name="movie" value="http://www.youtube.com/v/rJcqZ2SVTK0&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0?rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=rJcqZ2SVTK0">www.youtube.com/watch?v=rJcqZ2SVTK0</a></p></p>
<p>If you want to reproduce this problem, you can download its <a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/VolumeSlider.tar.gz">source code</a> as a Qt Creator project. Please keep in mind that it&#8217;s the source code with errors!  But there&#8217;s a workaround to this problem:</p>
<p>1. In the class where you create the Phonon::AudioOutput whose volume is handled by the VolumeSlider, put this:</p>
<pre class="brush: cpp;">
connect(audioOutput, SIGNAL(mutedChanged(bool)), this, SLOT(handleMute(bool)));
connect(audioOutput, SIGNAL(volumeChanged(qreal)), this, SLOT(handleVolume(qreal)));
</pre>
<p>2. Create the slots you used above using the following code:</p>
<pre class="brush: cpp;">
void MainWindow::handleMute(bool mute) {
    if (!mute) {
        audioOutput-&gt;setVolume(outputVolume);
    }
}
void MainWindow::handleVolume(qreal volume) {
    outputVolume = volume;
}
</pre>
<p>3. Declare the slots and the outputVolume variable in your header file:</p>
<pre class="brush: cpp;">
private:
    qreal outputVolume;

private slots:
    void handleMute(bool mute);
    void handleVolume(qreal volume);
</pre>
<p>You can download the <a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/VolumeSliderFixed.tar.gz">fixed source code</a>. I don&#8217;t know if this behaviour is the expected in Qt, but <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11782">I filed a bug for it</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haiku OS R1 alpha 2</title>
		<link>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 02:29:57 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[BeOS]]></category>
		<category><![CDATA[haiku]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Sistemas Operacionais]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=191</guid>
		<description><![CDATA[I&#8217;ve been reading about Haiku OS for some years. Haiku is an operating system inspired by the extinct BeOS, and for me it&#8217;s like an Unix clone with a good and clean interface, like Mac OS, but free. Some months ago its developers released their first alpha, that I&#8217;ve already talked about and shown some [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve been reading about Haiku OS for some years. Haiku is an operating system inspired by the extinct BeOS, and for me it&#8217;s like an Unix clone with a good and clean interface, like Mac OS, but free.</p>
<p style="text-align: justify;">Some months ago its developers released their first alpha, that <a title="Haiku R1 alpha 1, in portuguese" href="http://www.esdrasbeleza.com/2010/01/21/teste-do-haiku-os-alpha-1r1/">I&#8217;ve already talked about and shown some screenshots</a>. Some days ago they released a new version, <a href="http://www.haiku-os.org/get-haiku/release-notes">Haiku R1 alpha 2</a>. The interface is even better than before and the new features are great. My favourite one is WebPositive, a WebKit-based browser:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-1.png"><img class="aligncenter size-medium wp-image-194" title="WebPositive" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-1-300x225.png" alt="WebPositive" width="300" height="225" /></a></p>
<p style="text-align: justify;">I maximised the WebPositive window and its menubar became like a Mac OS apllication menubar:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-2.png"><img class="aligncenter size-medium wp-image-192" title="WebPositive's menubar" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-2-300x225.png" alt="WebPositive's menubar" width="300" height="225" /></a></p>
<p style="text-align: justify;">Something I didn&#8217;t notice in the latest release: Haiku has support for desktop applets. And OpenGL support is already there too:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-3.png"><img class="aligncenter size-medium wp-image-193" title="Haiku Desktop" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-3-300x225.png" alt="Haiku Desktop" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading packages built from AUR</title>
		<link>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 01:36:03 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Sem categoria]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Gerenciamento de pacotes]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[yaourt]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=186</guid>
		<description><![CDATA[Some Arch Linux users, like me, are used to build packages from AUR. After some time they become out-of-date and it&#8217;s a hard work to upgrade them. But yaourt comes to save us, with a single line: yaourt -Su --aur It upgrades all packages that aren&#8217;t in Arch Linux official repositories. And you can see [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Some Arch Linux users, like me, are used to build packages from AUR. After some time they become out-of-date and it&#8217;s a hard work to upgrade them.</p>
<p style="text-align: justify;">But <a title="Using yaourt (in portuguese)" href="http://www.esdrasbeleza.com/2010/01/28/instalando-pacotes-do-arch-linux-com-yaourt/">yaourt</a> comes to save us, with a single line:</p>
<p style="text-align: justify;">
<pre class="brush: plain;">yaourt -Su --aur</pre>
<p style="text-align: justify;">It upgrades all packages that aren&#8217;t in Arch Linux official repositories. And you can see its friendly output below:</p>
<p><img class="aligncenter size-full wp-image-187" title="Yaourt" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/yaourt-update.png" alt="Yaourt" width="452" height="677" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 95: someone still loves you</title>
		<link>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/#comments</comments>
		<pubDate>Fri, 28 May 2010 11:00:24 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[archeology]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=173</guid>
		<description><![CDATA[Or at least uses you. I use StatPress to get statistics of the last readers of this blog. One of the informations I have access to are the operating systems that the last visitors were using. And how surprising it was to discover that I still have a visitor that was using Windows 95: I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Or at least uses you.</p>
<p style="text-align: justify;">I use <a href="http://wordpress.org/extend/plugins/statpress/">StatPress</a> to get statistics of the last readers of this blog. One of the informations I have access to are the operating systems that the last visitors were using. And how surprising it was to discover that I still have a visitor that was using Windows 95:</p>
<p><img class="aligncenter size-medium wp-image-174" title="Windows 95" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/windows95_visitor-174x300.png" alt="" width="174" height="300" /></p>
<p style="text-align: justify;">I really hope this person is using <a href="https://addons.mozilla.org/en-US/firefox/addon/59/">some extension to change his/her browser&#8217;s user agent header</a> or just woke up from a sleep of 10 years or more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing problem with Subclipse and svn+ssh repositories</title>
		<link>http://www.esdrasbeleza.com/2010/05/27/fixing-problem-with-subclipse-and-svnssh-repositories/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/27/fixing-problem-with-subclipse-and-svnssh-repositories/#comments</comments>
		<pubDate>Thu, 27 May 2010 21:14:00 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Subclipse]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=169</guid>
		<description><![CDATA[I was trying to synchronise a Java project with a SVN repository that runs over a SSH tunnel. It was working right in the command line, but in Subclipse it was showing a &#8220;network connection closed unexpectedly&#8221; error. It was fixed changing the SVN interface from JavaHL to SVNKit in Eclipse preferences (click to zoom):]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I was trying to synchronise a Java project with a SVN repository that runs over a SSH tunnel. It was working right in the command line, but in Subclipse it was showing a &#8220;network connection closed unexpectedly&#8221; error.</p>
<p style="text-align: justify;">It was fixed changing the SVN interface from JavaHL to SVNKit in Eclipse preferences (click to zoom):</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/eclipse_change_svn_interface.png"><img class="aligncenter size-medium wp-image-170" title="Changing SVN interface in Eclipse" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/eclipse_change_svn_interface-254x300.png" alt="Changing SVN interface in Eclipse" width="254" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/27/fixing-problem-with-subclipse-and-svnssh-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Sonic</title>
		<link>http://www.esdrasbeleza.com/2010/05/26/open-sonic/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/26/open-sonic/#comments</comments>
		<pubDate>Wed, 26 May 2010 16:23:15 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Sonic]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=164</guid>
		<description><![CDATA[I was looking for some good games for Linux a few days ago and I found an incredible one: Open Sonic. It&#8217;s a free, open-source game featuring Sonic The Hedgehog (don&#8217;t tell Sega about this) and it&#8217;s available for Linux, Mac and Windows. And it&#8217;s very, very fun, just like the old Sonic games for [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for some good games for Linux a few days ago and I found an incredible one: <a href="http://opensnc.sourceforge.net/home/index.php">Open Sonic</a>. It&#8217;s a free, open-source game featuring Sonic The Hedgehog (don&#8217;t tell Sega about this) and <a href="http://opensnc.sourceforge.net/home/download.php">it&#8217;s available for Linux, Mac and Windows</a>. And it&#8217;s very, very fun, just like the old Sonic games for Master System and Genesis I used to play fifteen years ago. I&#8217;m getting old.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/Screenshot-Untitled-Window-1.png"><img class="aligncenter size-medium wp-image-165" title="Open Sonic main screen" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/Screenshot-Untitled-Window-1-300x225.png" alt="" width="300" height="225" /></a></p>
<p>The game is still under development (only two levels until now), but it&#8217;s a good game anyway. It has a cooperative play mode which lets you control three characters simultaneously (Sonic, Tails and Knuckles), and at some parts you need to use two of them (Tails must open a door so Sonic can pass, for example).</p>
<p>There&#8217;s a demo video available. It&#8217;s a little bit outdated but it can show what the game already has to offer:</p>
<p style="text-align: center;"><span class="youtube">
<object type="application/x-shockwave-flash" width="320" height="265" data="http://www.youtube.com/v/Q7us7wM14As&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0?rel=1">
<param name="movie" value="http://www.youtube.com/v/Q7us7wM14As&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0?rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=Q7us7wM14As">www.youtube.com/watch?v=Q7us7wM14As</a></p></p>
<p style="text-align: center;">
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/26/open-sonic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix ugly fonts in Qt-based applications</title>
		<link>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/#comments</comments>
		<pubDate>Thu, 20 May 2010 17:30:48 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Creator]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=153</guid>
		<description><![CDATA[I was using Qt Creator and tried to change the editor&#8217;s font to Monaco, 9. But hey, Monaco is not that ugly: So I googled a way to fix for this problem, and found the fix at Arch Linux forums. You&#8217;ll need to create a file called .fonts.conf in your home directory with this content: &#60;?xml [...]]]></description>
			<content:encoded><![CDATA[<p>I was using Qt Creator and tried to change the editor&#8217;s font to <a href="http://en.wikipedia.org/wiki/Monaco_(typeface)">Monaco, 9</a>. But hey, Monaco is not that ugly:</p>
<p><img class="aligncenter size-full wp-image-154" title="Monaco before fix" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/monaco-qt-before.png" alt="Monaco before fix" width="150" height="150" /></p>
<p>So I googled a way to fix for this problem, and found the fix at <a href="http://bbs.archlinux.org/viewtopic.php?pid=705548#p705548">Arch Linux forums</a>. You&#8217;ll need to create a file called <em>.fonts.conf</em> in your home directory with this content:</p>
<pre class="brush: xml;">
&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;rgba&quot; &gt;
         &lt;const&gt;rgb&lt;/const&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;hinting&quot; &gt;
         &lt;bool&gt;true&lt;/bool&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;hintstyle&quot; &gt;
         &lt;const&gt;hintslight&lt;/const&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;antialias&quot; &gt;
         &lt;bool&gt;true&lt;/bool&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
&lt;/fontconfig&gt;
</pre>
<p>I closed Qt Creator and reopened it. The result was this:</p>
<p><img class="aligncenter size-full wp-image-156" title="Monaco after fix" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/monaco-qt-after.png" alt="Monaco after fix" width="150" height="150" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I chose Qt</title>
		<link>http://www.esdrasbeleza.com/2010/05/13/why-i-chose-qt/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/13/why-i-chose-qt/#comments</comments>
		<pubDate>Thu, 13 May 2010 14:14:39 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[GTK]]></category>
		<category><![CDATA[gtkmm]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Creator]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=137</guid>
		<description><![CDATA[A few months ago, I planned to learn some graphic toolkit. As a GNOME user, GTK was my natural choice. Although I&#8217;m a Python lover, I chose C++ because I just wanted to learn a new language and stop being afraid of pointers. So I started to read the gtkmm documentation, like tutorials and API, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A few months ago, I planned to learn some graphic toolkit. As a GNOME user, GTK was my natural choice. Although I&#8217;m a Python lover, I chose C++ because I just wanted to learn a new language and stop being afraid of pointers. So I started to read the <a href="http://www.gtkmm.org/">gtkmm</a> documentation, like tutorials and API, and to program a simple music player. I was learning gtkmm and it all seemed okay.</p>
<p style="text-align: center;"><img class="aligncenter" title="Qt" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/qt.png" alt="" width="200" height="238" /></p>
<p style="text-align: justify;">But I read a little about Qt and, after talking with some friends about the pros and cons of GTK and Qt, I decided to do with Qt the same things that I&#8217;ve already done with GTK up to that point. So I would know <strong>what choice was better for me</strong>. Notice that I&#8217;m not saying that Qt is better for everybody and that GTK must die, but that Qt looked better <strong>for me and my personal project</strong>. After this disclaimer, and can tell my reasons:</p>
<ul style="text-align: justify;">
<li><strong>Look &amp; feel.</strong> I&#8217;m a look&amp;feel fanatic, and sometimes I move from GNOME to KDE only to check its new features. But I hate how GTK applications look in KDE. You can use <a href="http://code.google.com/p/gtk-qt-engine/">gtk-qt-engine</a>, but you&#8217;ll still notice the differences. You can set GTK to use the excellent <a href="http://kde-look.org/content/show.php/QtCurve+(KDE4,+KDE3,+%26+Gtk2+Theme)?content=40492">QtCurve</a> theme, that have identical versions to Qt and GTK, but you&#8217;ll get tied to a theme. But look what you have if you run a Qt application in GNOME (<a href="http://projects.gnome.org/gedit/">gedit</a> is a GTK-based application and <a href="http://musicbrainz.org/doc/PicardTagger">Picard</a> is a Qt-based application):<br />
<a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/gtk_qt_look_and_feel.png"><img class="aligncenter" style="margin-top: 15px; margin-bottom: 15px;" title="GTK vs QT look &amp; feel in GNOME" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/gtk_qt_look_and_feel-300x231.png" alt="" width="300" height="231" /></a><br />
Thanks to <a href="http://labs.trolltech.com/blogs/2008/05/13/introducing-qgtkstyle/">QGtkStyle</a>, Qt applications detect if you are in GNOME and your Qt application gets an almost perfect GTK look &amp; feel. And yeah, it includes open and save dialogs.</li>
<li><strong>Documentation. </strong>Qt has a very, very rich and well-organised documentation, with <a href="http://doc.qt.nokia.com/4.6/tutorials.html">tutorials</a>, <a href="http://doc.qt.nokia.com/4.6/index.html">API references</a>, and <a href="http://doc.qt.nokia.com/4.6/examples.html">examples</a>. gtkmm also have all these items, but they didn&#8217;t look very friendly to me. And the documentation of Qt 4.7, still in development, <a href="http://doc.qt.nokia.com/4.7-snapshot/">will be even better</a>.</li>
<li><strong>A simple, but good IDE.</strong> A good programmer must not be dependent on IDEs, but they really help you. I tried to use Anjuta (unstable sometimes), MonoDevelop (very good for .NET platform, but not a good IDE for C/C++ development) and Netbeans as IDE when I was using gtkmm, and I was not satisfied with them. But Qt has its official IDE, <strong>Qt Creator</strong>:<br />
<a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/qtcreator.png"><img class="aligncenter size-medium wp-image-139" style="margin-top: 15px; margin-bottom: 15px;" title="Qt Creator" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/qtcreator-300x177.png" alt="" width="300" height="177" /></a><br />
Qt Creator is clean, simple, and complete. It has quick access to documentation, breakpoints, project configuration, native support for CVS, Subversion and Git, good code completion, a good GUI designer (like the GTK&#8217;s <a href="http://glade.gnome.org/">Glade</a>), among other features.</li>
<li><strong>Runs well on many platforms.</strong> Qt is smart enough to run well &#8211; and with native look &amp; feel, I really like this &#8211; in Linux, Mac, Windows, and others.</li>
</ul>
<p style="text-align: justify;">But Qt still has some cons:</p>
<ul>
<li>Users should have it installed to run Qt applications, and this is not very usual in Linux environments based on GNOME, neither on Windows systems.</li>
<li>Qt is free only if you&#8217;re using it in a free project. For commercial applications, <a href="http://qt.nokia.com/products/licensing">you must obtain a commercial Qt licence</a>. <strong>Update: </strong>this is not exactly a con. You still can use Qt under LGPL in commercial applications, but if you make any change to Qt you must publish them or purchase a commercial Qt licence <em>(thanks, krok, for the comment)</em>.</li>
</ul>
<p style="text-align: justify;">If you&#8217;re beginning to learn to program for graphical environments or you&#8217;re looking for a good graphical library to use in your project, you really should give Qt a try, implement some examples and feel which option is better for you.</p>
<p style="text-align: justify;"><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/gtk_qt_look_and_feel.png"><br />
</a></p>
<p style="text-align: justify;">
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/13/why-i-chose-qt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mudança de planos</title>
		<link>http://www.esdrasbeleza.com/2010/05/12/mudanca-de-planos/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/12/mudanca-de-planos/#comments</comments>
		<pubDate>Wed, 12 May 2010 19:07:53 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[this]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=142</guid>
		<description><![CDATA[O blog está passando por mudanças. São elas: O nome e o endereço mudaram. Decidi colocá-lo em meu próprio domínio, esdrasbeleza.com. Quem assinar o feed RSS do blog, por favor atualize o endereço. Os textos passarão a ser em inglês. Já que o intuito é compartilhar o conhecimento, achei que em inglês eu atingiria um [...]]]></description>
			<content:encoded><![CDATA[<p>O blog está passando por mudanças. São elas:</p>
<ul>
<li><strong>O nome e o endereço mudaram.</strong> <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Decidi colocá-lo em meu próprio domínio, <a href="http://www.esdrasbeleza.com">esdrasbeleza.com</a>. Quem assinar o feed RSS do blog, <a href="http://www.esdrasbeleza.com/feed/">por favor atualize o endereço</a>.</li>
<li><strong>Os textos passarão a ser em inglês.</strong> Já que o intuito é compartilhar o conhecimento, achei que em inglês eu atingiria um público maior de pessoas.</li>
</ul>
<p> <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/12/mudanca-de-planos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.575 seconds -->
