<?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>Carnero.Net</title>
	<atom:link href="http://www.carnero.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.carnero.net</link>
	<description>Opening Paths</description>
	<lastBuildDate>Thu, 22 Mar 2012 14:15:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to install QT + MySQL driver on Windows 7 x86-x64</title>
		<link>http://www.carnero.net/how-to-install-qt-mysql-driver-on-windows-7-x86-x64/</link>
		<comments>http://www.carnero.net/how-to-install-qt-mysql-driver-on-windows-7-x86-x64/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 14:15:07 +0000</pubDate>
		<dc:creator>javi</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Microsoft Visual Studio 2010]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.carnero.net/?p=250</guid>
		<description><![CDATA[Recently I migrated an application using Qt+MySQL from Linux to Windows 7. While installing both things in Linux is prety easy, do the same in Windows can be very painful if you don&#8217;t know how to do it. This is &#8230; <a href="http://www.carnero.net/how-to-install-qt-mysql-driver-on-windows-7-x86-x64/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I migrated an application using Qt+MySQL from Linux to Windows 7. While installing both things in Linux is prety easy, do the same in Windows can be very painful if you don&#8217;t know how to do it. This is because the documentation about how to compile/install Qt and build the MySQL driver for Qt is, in my opinion, outdated.</p>
<p>To show you how to install the whole thing I am going to use Qt 4.8 and MySQL Server 5.5. To test this method I am using a Windows 7 x64, but it should be the same in any kind of Windows, as I am going to install Qt and MySQL Server x86-x64 edition. In that way, applications developed with this installation will be x86-x64 apps.</p>
<p><span style="color: #ff0000;">Prerequisites: You must have installed Microsoft Visual Studio 2010 on your computer.*</span></p>
<h2>Install Qt</h2>
<p>Ok, to start, first download Qt: <a href="http://qt.nokia.com/downloads/sdk-windows-cpp" target="_blank">http://qt.nokia.com/downloads/sdk-windows-cpp</a></p>
<p>Then open the file downloaded, and install the Qt SDK msvs2010 version in C:\QtSDK. Be sure to check the option to install Qt sources too, which in this case are Qt Sources 4.8. When the installation have finished, add to your PATH environment variable the Qt path (that is, in our case, C:\QtSDK\Desktop\Qt\4.8.0\msvc2010\bin). Now you have installed in C:\QtSDK the Qt Libraries 4.8 x86-x64 to start developing any Qt app.</p>
<p>But, what about MySQL? To use the QMySQL driver first we will have to install MySQL Server, and compile the driver from the Qt source we installed before. Lets do it.</p>
<h2>Install MySQL Server</h2>
<p>Download MySQL Community Server 5.5, x86 32 bits edition. We will choose to download the Zip file instead of the MSI installer, to control the MySQL installation.<br />
<a href="http://dev.mysql.com/downloads/mirror.php?id=406441" target="_blank">http://dev.mysql.com/downloads/mirror.php?id=406441</a><br />
Finally extract it on C:\MySQL</p>
<h2>Compile and install QMySQL driver</h2>
<p>Ok, now we are ready to compile the driver. Open a Visual Studio command prompt and enter the following commands:</p>
<pre>cd cd C:\QtSDK\QtSources\4.8.0\src\plugins\sqldrivers\mysql
qmake "INCLUDEPATH+=C:\MySQL\include" "LIBS+=C:\MySQL\lib\libmysql.lib" mysql.pro
nmake</pre>
<p>Last, copy qsqlmysql4.dll, qsqlmysqld4.dll, qsqlmysql4.lib and qsqlmysqld4.lib to C:\QtSDK\Desktop\Qt\4.8.0\msvc2010\plugins\sqldrivers\.</p>
<h2>To finish&#8230;</h2>
<p>In order to run our Qt app with MySQL, we must copy the MySQL library C:\MySQL\lib\libmysql.lib inside the Debug and Release folders, otherwise qsqlmysql.dll will not work.</p>
<p>And that&#8217;s all!</p>
<p><span style="color: #ff0000;">*<span style="color: #000000;">If you don&#8217;t have Visual Studio, you can always try to do the same process using MinGW Qt version instead. I have not checked it out, but I think it will work the same way (the only change would be using make command instead of nmake when compiling the MySQL driver)</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carnero.net/how-to-install-qt-mysql-driver-on-windows-7-x86-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make work Ipod Nano 5th generation on Linux</title>
		<link>http://www.carnero.net/how-to-make-work-ipod-nano-5th-generation-on-linux/</link>
		<comments>http://www.carnero.net/how-to-make-work-ipod-nano-5th-generation-on-linux/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 20:30:52 +0000</pubDate>
		<dc:creator>javi</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Banshee]]></category>
		<category><![CDATA[Ipod]]></category>
		<category><![CDATA[libgpod]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.carnero.net/?p=100</guid>
		<description><![CDATA[Recently have been released libgpod 0.8.2, which resolves the problems writing the media library content on the ipod nano 5th generation among other models. The problem comes because nowadays this version is on testing so most linux distributions don&#8217;t provide &#8230; <a href="http://www.carnero.net/how-to-make-work-ipod-nano-5th-generation-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently have been released libgpod 0.8.2, which resolves the problems writing the media library content on the ipod nano 5th generation among other models. The problem comes because nowadays this version is on testing so most linux distributions don&#8217;t provide it.</p>
<p>In that way, to use ipod nano 5th generation on linux, we have to install on our system the latest libgpod version, this is, 0.8.2 instead of 0.8. Following are described the steps to do that on a Debian-based system, like Ubuntu, or for any Linux distribution.</p>
<h2>Debian-based Systems:</h2>
<p>If you are using Ubuntu or Linux Mint (probably it will work on any Debian-based distribution too) you can download libgpod4 and libgpod-common packages from here:</p>
<p><a title="libgpod4" href="https://launchpad.net/ubuntu/precise/+package/libgpod4" target="_blank">https://launchpad.net/ubuntu/precise/+package/libgpod4</a></p>
<p><a title="libgpod-common" href="https://launchpad.net/ubuntu/precise/+package/libgpod-common" target="_blank">https://launchpad.net/ubuntu/precise/+package/libgpod-common</a></p>
<p>Then we install the packages using dpkg (it will fail with GDebi as you have a previous version installed):</p>
<pre>$ cd [folder where .deb files were download]
$ sudo dpkg -i libgpod-common_0.8.2-4_amd64.deb
$ sudo dpkg -i libgpod4_0.8.2-4_amd64.deb</pre>
<h2>Any Linux System:</h2>
<p>If you can&#8217;t or you don&#8217;t want to use the .deb packages, you can always install libgpod from source. To do that, you must have git installed on your system. Then, we clone the libgpod git repository on a place of our choice (in my case, /home/javi/projects):</p>
<pre>$ cd /home/javi/projects
$ git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod</pre>
<p>Then we will follow the steps on the INSTALL file:</p>
<pre>$ cd libgpod
$ ./autoconf.sh
$ ./configure
$ make
# make install</pre>
<p>If autoconf or configure commands give you an error message asking you for a certain package, you will have to install it and rerun autoconf or configure command in order to compile and install libgpod correctly. Last command has to be executed as root.</p>
<h2>To finish:</h2>
<p>In this point you should be able to add new music to your ipod from banshee, amarok, exaile, or any other music player that uses libgpod (including gtkpod),without having to use ITunes. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carnero.net/how-to-make-work-ipod-nano-5th-generation-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

