<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;feed=atom&amp;action=history</id>
		<title>Development/Tutorials/Using Qt Creator/en - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;action=history"/>
		<updated>2013-05-22T05:45:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=78708&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=78708&amp;oldid=prev"/>
				<updated>2013-04-07T18:21:58Z</updated>
		
		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:21, 7 April 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This describes how to use QtCreator to integrate existing KDE 4 applications. It has been tested with QtCreator 1.2.80 and SUSE Linux 11.1 but should work same or similar with every combination. As an example KDE application we use [http://userbase.kde.org/ktimetracker ktimetracker] from the kdepim module, other applications should work likewise.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This describes how to use QtCreator to integrate existing KDE 4 applications. It has been tested with QtCreator 1.2.80 and SUSE Linux 11.1 but should work same or similar with every combination. As an example KDE application we use [http://userbase.kde.org/ktimetracker ktimetracker] from the kdepim module, other applications should work likewise.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can either work with code on your disk or have QtCreator do the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Subversion &lt;/del&gt;checkout.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can either work with code on your disk or have QtCreator do the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;repository &lt;/ins&gt;checkout.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== use code from your disk ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== use code from your disk ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* continue with the step &amp;quot;Run cmake&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* continue with the step &amp;quot;Run cmake&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;subversion &lt;/del&gt;checkout ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;git &lt;/ins&gt;checkout ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; Version Control -&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Subversion Checkout&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Project from &lt;/ins&gt;Version Control -&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Git Repository Clone&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Subversion &lt;/del&gt;URL like &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;svn://anonsvn&lt;/del&gt;.kde.org&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/home/kde/trunk/KDE&lt;/del&gt;/kdepim&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Git &lt;/ins&gt;URL like &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;git@git&lt;/ins&gt;.kde.org&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;/kdepim&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;enter a &lt;/del&gt;checkout directory&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, i.e. the local directory where the code will be checked-out to&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;accept kdepim as &lt;/ins&gt;checkout directory&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* type finish, see how the checkout starts&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* type finish, see how the checkout starts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Note|1= If the checkout fails with the message &amp;quot;remote host hung up unexpectedly&amp;quot; do a checkout from konsole. You may have to accept git.kde.org's fingerprint.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* you will automatically come to a screen where you can run CMake&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* you will automatically come to a screen where you can run CMake&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* continue with the step &amp;quot;Run cmake&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* continue with the step &amp;quot;Run cmake&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;git &lt;/del&gt;checkout ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;subversion &lt;/ins&gt;checkout ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Project from &lt;/del&gt;Version Control -&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Git Repository Clone&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; Version Control -&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Subversion Checkout&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Git &lt;/del&gt;URL like &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;git@git&lt;/del&gt;.kde.org&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;/kdepim&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Subversion &lt;/ins&gt;URL like &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;svn://anonsvn&lt;/ins&gt;.kde.org&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/home/kde/trunk/KDE&lt;/ins&gt;/kdepim&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;accept kdepim as &lt;/del&gt;checkout directory&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;enter a &lt;/ins&gt;checkout directory&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, i.e. the local directory where the code will be checked-out to&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* type finish, see how the checkout starts&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* type finish, see how the checkout starts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* you will automatically come to a screen where you can run CMake&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* you will automatically come to a screen where you can run CMake&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FuzzyBot</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=72751&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=72751&amp;oldid=prev"/>
				<updated>2012-07-11T15:56:48Z</updated>
		
		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:56, 11 July 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the git checkout ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== have QtCreator do the git checkout ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; Version Control -&amp;gt; Git &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Checkout&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* choose File -&amp;gt; New File or Project -&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Project from &lt;/ins&gt;Version Control -&amp;gt; Git &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Repository Clone&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a Git URL like git@git.kde.org:/kdepim&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* enter a Git URL like git@git.kde.org:/kdepim&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* accept kdepim as checkout directory&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* accept kdepim as checkout directory&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FuzzyBot</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=72029&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Using_Qt_Creator/en&amp;diff=72029&amp;oldid=prev"/>
				<updated>2012-06-10T10:11:19Z</updated>
		
		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
QtCreator is an IDE from Nokia for Qt. It contains QtDesigner for UI design. This article describes:&lt;br /&gt;
* why to use Qt Creator&lt;br /&gt;
* how to create a new application&lt;br /&gt;
* how to load an existing application&lt;br /&gt;
&lt;br /&gt;
== Why use Qt Creator ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;right&amp;quot; &lt;br /&gt;
|[[image:Snapshot-qtcreator.png|right|thumb|200px|KDE4's ktimetracker loaded as QtCreator project]]&lt;br /&gt;
|}&lt;br /&gt;
To create your C++ applications you can use any text editor. But life will be much easier if you gain QtCreator's features. That means&lt;br /&gt;
* you can get your source code saved, built and run with one click&lt;br /&gt;
* you get code-completion&lt;br /&gt;
* you can find all places in your source code where you call a function (e.g. &amp;quot;where do I call refresh()&amp;quot;)&lt;br /&gt;
* you can go back to a more recent cursor position with your editor, even if this is in another file&lt;br /&gt;
* you can checkout and commit to Subversion or Git repositories without leaving your workflow&lt;br /&gt;
&lt;br /&gt;
== Creating a new program ==&lt;br /&gt;
&lt;br /&gt;
Here is a short example of how you can create a &amp;quot;hello world&amp;quot; application. For more information read the [http://qt.nokia.com/doc/designer-manual.html user documentation].&lt;br /&gt;
&lt;br /&gt;
;Step 0:&lt;br /&gt;
Call QtCreator&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
qtcreator&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Then select New File or Project -&amp;gt; Qt C++ Project -&amp;gt; Qt Gui Application -&amp;gt; name = helloworld -&amp;gt; Next -&amp;gt; Next -&amp;gt; Finish&lt;br /&gt;
&lt;br /&gt;
;Step 1:&lt;br /&gt;
Select Edit -&amp;gt; Forms -&amp;gt; mainwindow.ui. Add the widgets you want by drag-and-drop:&lt;br /&gt;
&lt;br /&gt;
[[File:Designer-step1.png|200px]]&lt;br /&gt;
&lt;br /&gt;
;Step 2: &lt;br /&gt;
Select the mainwindow. This is the one un-intuitive step. To lay out the objects in the mainwindow, you do not select the objects in the mainwindow, but the mainwindow itself.&lt;br /&gt;
&lt;br /&gt;
[[File:Designer-step2.png|200px]]&lt;br /&gt;
&lt;br /&gt;
;Step 3:&lt;br /&gt;
Select Form -&amp;gt; Lay Out in a &amp;lt;u&amp;gt;G&amp;lt;/u&amp;gt;rid&lt;br /&gt;
&lt;br /&gt;
[[File:Designer-step3.png|200px]]&lt;br /&gt;
&lt;br /&gt;
;Result:&lt;br /&gt;
You get a decent look, and if you resize the window, the widgets resize as well.&lt;br /&gt;
&lt;br /&gt;
[[File:Designer-result.png|200px]]&lt;br /&gt;
&lt;br /&gt;
=== Using KDE libraries ===&lt;br /&gt;
&lt;br /&gt;
To use KDE classes like KMessageBox, you need to tell QtCreator to use the KDE libraries when building. Go to your home directory, change into ''yourproject'' and modify ''yourproject.pro''. Add the line&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
LIBS += -lkdeui&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Then you can start using KDE classes in your code.&lt;br /&gt;
&lt;br /&gt;
=== Adding a toolbar ===&lt;br /&gt;
&lt;br /&gt;
To add a toolbar, right-click on the UI and choose &amp;quot;Add Toolbar&amp;quot;. Then you can set icons and text in your mainwindow's constructor with code like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
ui-&amp;gt;toolBar-&amp;gt;addAction(QIcon(&amp;quot;/usr/share/icons/oxygen/22x22/apps/ktip.png&amp;quot;),&amp;quot;hello world&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Development/Tutorials/Using_Qt_Designer|More Info...]]&lt;br /&gt;
&lt;br /&gt;
== Load an existing project ==&lt;br /&gt;
&lt;br /&gt;
This describes how to use QtCreator to integrate existing KDE 4 applications. It has been tested with QtCreator 1.2.80 and SUSE Linux 11.1 but should work same or similar with every combination. As an example KDE application we use [http://userbase.kde.org/ktimetracker ktimetracker] from the kdepim module, other applications should work likewise.&lt;br /&gt;
&lt;br /&gt;
You can either work with code on your disk or have QtCreator do the Subversion checkout.&lt;br /&gt;
&lt;br /&gt;
=== use code from your disk ===&lt;br /&gt;
&lt;br /&gt;
* import the CMakeLists.txt file (File -&amp;gt; Open -&amp;gt; kdepim/CMakeLists.txt)&lt;br /&gt;
* as build directory choose kdepim&lt;br /&gt;
* you will automatically come to a screen where you can run CMake&lt;br /&gt;
* continue with the step &amp;quot;Run cmake&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== have QtCreator do the subversion checkout ===&lt;br /&gt;
&lt;br /&gt;
* choose File -&amp;gt; New File or Project -&amp;gt; Version Control -&amp;gt; Subversion Checkout.&lt;br /&gt;
* enter a Subversion URL like svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepim&lt;br /&gt;
* enter a checkout directory, i.e. the local directory where the code will be checked-out to&lt;br /&gt;
* type finish, see how the checkout starts&lt;br /&gt;
* you will automatically come to a screen where you can run CMake&lt;br /&gt;
* continue with the step &amp;quot;Run cmake&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== have QtCreator do the git checkout ===&lt;br /&gt;
&lt;br /&gt;
* choose File -&amp;gt; New File or Project -&amp;gt; Version Control -&amp;gt; Git Checkout.&lt;br /&gt;
* enter a Git URL like git@git.kde.org:/kdepim&lt;br /&gt;
* accept kdepim as checkout directory&lt;br /&gt;
* type finish, see how the checkout starts&lt;br /&gt;
* you will automatically come to a screen where you can run CMake&lt;br /&gt;
* continue with the step &amp;quot;Run cmake&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Run cmake ===&lt;br /&gt;
&lt;br /&gt;
* enter arguments for CMake like &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/root/kdepim -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE=debugfull&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;DLIB_SUFFIX=64&amp;lt;/tt&amp;gt; means that you want to install your libraries into directories named &amp;lt;tt&amp;gt;lib64&amp;lt;/tt&amp;gt;, not &amp;lt;tt&amp;gt;lib&amp;lt;/tt&amp;gt;. ''/root/kdepim'' is where your source code is.&lt;br /&gt;
* click &amp;quot;Run cmake&amp;quot;&lt;br /&gt;
* note: a .cbp file is created containing many information about the build&lt;br /&gt;
* click &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Build it ===&lt;br /&gt;
&lt;br /&gt;
* configure QtCreator to build only ktimetracker:&lt;br /&gt;
Projects -&amp;gt; Active run configuration=ktimetracker -&amp;gt; build settings -&amp;gt; build steps -&amp;gt; make -&amp;gt; show details -&amp;gt; activate ktimetracker.&lt;br /&gt;
* configure QtCreator to use 8 logical processors:&lt;br /&gt;
Projects -&amp;gt; Active run configuration=ktimetracker -&amp;gt; build settings -&amp;gt; build steps -&amp;gt; make -&amp;gt; show details -&amp;gt; addtional Arguments = -j8&lt;br /&gt;
* choose Build -&amp;gt; Build All&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Development/Tutorials/Using Qt Designer]]&lt;br /&gt;
* [[Getting_Started/Using_an_IDE_with_KDE4#QtCreator]]&lt;br /&gt;
[[Category:KDE4]]&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>	</entry>

	</feed>