<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=82.181.173.103</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=82.181.173.103"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/82.181.173.103"/>
	<updated>2026-04-22T06:01:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34133</id>
		<title>Qt-Maemo</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34133"/>
		<updated>2009-12-15T09:55:57Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* Image:Help-contents.png Docs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
=[[Image:Kblogger.png‎ ]] News=&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;b&amp;gt;11 Dec 09&amp;lt;/b&amp;gt; - Bye bye old static web pages.. all our pages are now in Maemo Wiki. Old website is [http://qt4.garage.maemo.org/index-old.html here]&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
=[[Image:Intro.png]] What is Qt?=&lt;br /&gt;
Qt (pronounced as the English word &amp;quot;cute&amp;quot;) is a cross-platform application development framework.&lt;br /&gt;
&lt;br /&gt;
It is produced by Nokia&#039;s Qt Development Frameworks division, which came into being after Nokia&#039;s acquisition of the Norwegian company Trolltech.&lt;br /&gt;
&lt;br /&gt;
Qt uses standard C++, but makes extensive use of the C pre-processor to enrich the language. Qt can also be used in several other programming languages via language bindings. &lt;br /&gt;
&lt;br /&gt;
Distributed under the terms of the GNU Lesser General Public License (among others), Qt is free and open source software.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Rocket.png]] Maemo Qt main features=&lt;br /&gt;
* Hildon Style&lt;br /&gt;
* Hildon Input Method&lt;br /&gt;
* Optimizations&lt;br /&gt;
* Hildon specific widget&lt;br /&gt;
** partial support in Qt 4.5&lt;br /&gt;
** Qt 4.6 will have full support&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Pda.png]] Supported Maemo devices=&lt;br /&gt;
* Nokia N800/N810 (OS2008/Maemo4.1/Diablo)&lt;br /&gt;
* Nokia N900 (OS2009/Maemo5/Fremantle)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Ktorrent.png‎ ]] Installing Qt=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N8x0&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 4.1 (Diablo)&lt;br /&gt;
&lt;br /&gt;
Latest stable packages are into extras repository:&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
Testing packages are in extras-devel&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras-devel/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
Install Qt binaries onto the device: &amp;lt;i&amp;gt;sudo gainroot &amp;amp;&amp;amp; apt-get install libqt4-gui&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Qt binaries and development packages into the SDK:&lt;br /&gt;
&amp;lt;i&amp;gt;fakeroot apt-get install libqt4-dev&amp;lt;/i&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N900&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 5 (Fremantle)&lt;br /&gt;
&lt;br /&gt;
Qt core packages (qtcore, xml...) are pre-installed into the device. Rest of packages (GUI, webkit...) are in the Application repository (enabled by default in every device).&lt;br /&gt;
&lt;br /&gt;
They are downloaded automatically when user install application packages that depends from those.&lt;br /&gt;
&lt;br /&gt;
OVI store can host Maemo Qt Applications as well as other official Maemo repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Qt 4.5 - community port&#039;&#039;&#039; core packages are already into the device. &lt;br /&gt;
&lt;br /&gt;
- Installing Qt binaries into the device: &amp;lt;i&amp;gt;sudo gainroot &amp;amp;&amp;amp; apt-get install libqt4-gui&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Installing Qt binaries and development packages in scratchbox: &amp;lt;i&amp;gt;fakeroot apt-get install libqt4-dev&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Qt 4.6&#039;&#039;&#039; is still underdevelopment. It&#039;s in extras-devel; To install Qt 4.6:&lt;br /&gt;
&lt;br /&gt;
- Add add extras-devel repository to /etc/apt/source.list. You can do that adding following line to that file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;deb http://repository.maemo.org/extras-devel/ fremantle free non-free&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Run &amp;lt;i&amp;gt;apt-get update&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Install lib packages into the device with: &amp;lt;i&amp;gt;fakeroot apt-get install libqt4-maemo5-gui&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Install dev packages into the SDK with: &amp;lt;i&amp;gt;fakeroot apt-get install libqt4-maemo5-dev&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
&lt;br /&gt;
- Qt 4.6tp is installed to /opt/qt4-maemo5&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Available-qtapps-32.png‎ ]]Available and proposed Qt Applications=&lt;br /&gt;
If you want to port a Qt application to Maemo or if you want to check if an application you love has been already ported.. well [http://wiki.maemo.org/Qt4HildonApplications this] is the place you would like to check; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Help-contents.png]] Docs=&lt;br /&gt;
Qt:&lt;br /&gt;
* [http://wiki.maemo.org/Qt4Hildon Qt 4 Hildon]&lt;br /&gt;
&lt;br /&gt;
Non-Qt stuff:&lt;br /&gt;
* Fremantle: &lt;br /&gt;
** [http://sw.nokia.com/id/a3187f95-ad88-4233-b0ef-a182da3ec1c7/Hildon_2_2_Widget_UI_Specification_v1_0_en.pdf Hildon 2.2 Widget UI Spec -PDF]&lt;br /&gt;
** [http://www.forum.nokia.com/info/sw.nokia.com/id/eb8a68ba-6225-4d84-ba8f-a00e4a05ff6f/Hildon_2_2_UI_Style_Guide.html Hildon 2.2 UI Style Guid -PDF]&lt;br /&gt;
* Diablo&lt;br /&gt;
** ADD_SOMETHING_HERE&lt;br /&gt;
* Other Docs&lt;br /&gt;
** [http://www.forum.nokia.com/Tools_Docs_and_Code/Documentation/Latest.xhtml Forum Nokia Docs] contain Maemo as well as other documentation related to other Nokia platforms.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Bug.png]] Bug tracking=&lt;br /&gt;
* Diablo &amp;amp; Fremanlte Qt 4.5 port&lt;br /&gt;
** [https://bugs.maemo.org/buglist.cgi?query_format=specific&amp;amp;order=relevance+desc&amp;amp;bug_status=__open__&amp;amp;product=Qt&amp;amp;content= View bug list]&lt;br /&gt;
** [https://bugs.maemo.org/enter_bug.cgi?product=Qt Report a new bug]&lt;br /&gt;
* Fremantle Qt 4.6 port&lt;br /&gt;
** [http://doc.trolltech.com/4.6/bughowto.html How to report a bug]&lt;br /&gt;
** [http://bugreports.qt.nokia.com/secure/CreateIssue!default.jspa Report a new bug]&lt;br /&gt;
** [http://bugreports.qt.nokia.com/secure/IssueNavigator.jspa?reset=true&amp;amp;&amp;amp;query=maemo&amp;amp;summary=true&amp;amp;description=true&amp;amp;body=true&amp;amp;environment=true&amp;amp;pid=10510 View bug list]&lt;br /&gt;
&lt;br /&gt;
=[[Image:Helmet.png]] Code=&lt;br /&gt;
* Qt 4.5 (Diablo)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.5 (Fremantle)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.6 (Fremantle)&lt;br /&gt;
** http://qt.gitorious.org/qt/x11-maemo&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[Image:Preferences-desktop-user.png]] Contacting us=&lt;br /&gt;
* IRC&lt;br /&gt;
** Currently this is main and faster way to communicate with Qt 4.6 and Qt 4.5 developers.&lt;br /&gt;
** Click [http://webchat.freenode.net/?channels=qt-maemo here] to join the #qt-maemo channel in frenode (irc.freenode.net).&lt;br /&gt;
&lt;br /&gt;
* Mailing list&lt;br /&gt;
** [https://garage.maemo.org/mailman/listinfo/qt4-devel Click here to Subscribe to the Qt community ML]&lt;br /&gt;
&lt;br /&gt;
* Forum&lt;br /&gt;
** [https://garage.maemo.org/forum/?group_id=424 Click here to enter the Forum]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34152</id>
		<title>Qt-Maemo</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34152"/>
		<updated>2009-12-11T14:24:41Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* Contacting us */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
=News=&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;b&amp;gt;11 Dec 09&amp;lt;/b&amp;gt; - Bye bye old static web pages.. all our pages are now in Maemo Wiki. Old website is [http://qt4.garage.maemo.org/index-old.html here]&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
=What is Qt?=&lt;br /&gt;
Qt (pronounced as the English word &amp;quot;cute&amp;quot;) is a cross-platform application development framework.&lt;br /&gt;
&lt;br /&gt;
It is produced by Nokia&#039;s Qt Development Frameworks division, which came into being after Nokia&#039;s acquisition of the Norwegian company Trolltech.&lt;br /&gt;
&lt;br /&gt;
Qt uses standard C++, but makes extensive use of the C pre-processor to enrich the language. Qt can also be used in several other programming languages via language bindings. &lt;br /&gt;
&lt;br /&gt;
Distributed under the terms of the GNU Lesser General Public License (among others), Qt is free and open source software.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Maemo Qt main features=&lt;br /&gt;
* Hildon Style&lt;br /&gt;
* Hildon Input Method&lt;br /&gt;
* Optimizations&lt;br /&gt;
* Hildon specific widget&lt;br /&gt;
** partial support in Qt 4.5&lt;br /&gt;
** Qt 4.6 will have full support&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Supported Maemo devices=&lt;br /&gt;
* Nokia N800/N810 (OS2008/Maemo4.1/Diablo)&lt;br /&gt;
* Nokia N900 (OS2009/Maemo5/Fremantle)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Installing Qt=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N8x0&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 4.1 (Diablo)&lt;br /&gt;
&lt;br /&gt;
Latest stable packages are into extras repository:&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
Testing packages are in extras-devel&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras-devel/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N900&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 5 (Fremantle)&lt;br /&gt;
&lt;br /&gt;
Qt core packages (qtcore, xml...) are pre-installed into the device. Rest of packages (GUI, webkit...) are in the Application repository (enabled by default in every device).&lt;br /&gt;
&lt;br /&gt;
They are downloaded automatically when user install application packages that depends from those.&lt;br /&gt;
&lt;br /&gt;
OVI store can host Maemo Qt Applications as well as other official Maemo repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current Maemo Qt packages are based on &#039;&#039;&#039;Qt 4.5&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Qt 4.6&#039;&#039;&#039; is still underdevelopment. It&#039;s in extras-devel;&lt;br /&gt;
&lt;br /&gt;
deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Available and proposed Qt Applications=&lt;br /&gt;
http://wiki.maemo.org/Qt4HildonApplications&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Docs=&lt;br /&gt;
http://wiki.maemo.org/Qt4Hildon&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bug tracking=&lt;br /&gt;
* Diablo &amp;amp; Fremanlte Qt 4.5 port&lt;br /&gt;
&lt;br /&gt;
* Fremantle Qt 4.6 port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
* Qt 4.5 (Diablo)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.5 (Fremantle)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.6 (Fremantle)&lt;br /&gt;
** http://qt.gitorious.org/qt/x11-maemo&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Contacting us=&lt;br /&gt;
* IRC&lt;br /&gt;
** Currently this is main and faster way to communicate with Qt 4.6 and Qt 4.5 developers.&lt;br /&gt;
** Click [http://webchat.freenode.net/?channels=qt-maemo here] to join the #qt-maemo channel in frenode (irc.freenode.net).&lt;br /&gt;
&lt;br /&gt;
* Mailing list&lt;br /&gt;
** [https://garage.maemo.org/mailman/listinfo/qt4-devel Click here to Subscribe to the Qt community ML]&lt;br /&gt;
&lt;br /&gt;
* Forum&lt;br /&gt;
** [https://garage.maemo.org/forum/?group_id=424 Click here to enter the Forum]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34153</id>
		<title>Qt-Maemo</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt-Maemo&amp;diff=34153"/>
		<updated>2009-12-11T13:44:51Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* News */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
=News=&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;b&amp;gt;11 Dec 09&amp;lt;/b&amp;gt; - Bye bye old static web pages.. all our pages are now in Maemo Wiki. Old website is [http://qt4.garage.maemo.org/index-old.html here]&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
=What is Qt?=&lt;br /&gt;
Qt (pronounced as the English word &amp;quot;cute&amp;quot;) is a cross-platform application development framework.&lt;br /&gt;
&lt;br /&gt;
It is produced by Nokia&#039;s Qt Development Frameworks division, which came into being after Nokia&#039;s acquisition of the Norwegian company Trolltech.&lt;br /&gt;
&lt;br /&gt;
Qt uses standard C++, but makes extensive use of the C pre-processor to enrich the language. Qt can also be used in several other programming languages via language bindings. &lt;br /&gt;
&lt;br /&gt;
Distributed under the terms of the GNU Lesser General Public License (among others), Qt is free and open source software.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Maemo Qt main features=&lt;br /&gt;
* Hildon Style&lt;br /&gt;
* Hildon Input Method&lt;br /&gt;
* Optimizations&lt;br /&gt;
* Hildon specific widget&lt;br /&gt;
** partial support in Qt 4.5&lt;br /&gt;
** Qt 4.6 will have full support&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Supported Maemo devices=&lt;br /&gt;
* Nokia N800/N810 (OS2008/Maemo4.1/Diablo)&lt;br /&gt;
* Nokia N900 (OS2009/Maemo5/Fremantle)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Installing Qt=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;news&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;lm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;rm&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;tr&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;bl&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;br&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;recent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N8x0&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 4.1 (Diablo)&lt;br /&gt;
&lt;br /&gt;
Latest stable packages are into extras repository:&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
Testing packages are in extras-devel&amp;lt;br&amp;gt;&lt;br /&gt;
deb http://repository.maemo.org/extras-devel/ diablo free non-free&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li class=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;H3&amp;gt;N900&amp;lt;/H3&amp;gt;&lt;br /&gt;
Supported Maemo version: 5 (Fremantle)&lt;br /&gt;
&lt;br /&gt;
Qt core packages (qtcore, xml...) are pre-installed into the device. Rest of packages (GUI, webkit...) are in the Application repository (enabled by default in every device).&lt;br /&gt;
&lt;br /&gt;
They are downloaded automatically when user install application packages that depends from those.&lt;br /&gt;
&lt;br /&gt;
OVI store can host Maemo Qt Applications as well as other official Maemo repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current Maemo Qt packages are based on &#039;&#039;&#039;Qt 4.5&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Qt 4.6&#039;&#039;&#039; is still underdevelopment. It&#039;s in extras-devel;&lt;br /&gt;
&lt;br /&gt;
deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Available and proposed Qt Applications=&lt;br /&gt;
http://wiki.maemo.org/Qt4HildonApplications&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Docs=&lt;br /&gt;
http://wiki.maemo.org/Qt4Hildon&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bug tracking=&lt;br /&gt;
* Diablo &amp;amp; Fremanlte Qt 4.5 port&lt;br /&gt;
&lt;br /&gt;
* Fremantle Qt 4.6 port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
* Qt 4.5 (Diablo)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.5 (Fremantle)&lt;br /&gt;
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo&lt;br /&gt;
* Qt 4.6 (Fremantle)&lt;br /&gt;
** http://qt.gitorious.org/qt/x11-maemo&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Contacting us=&lt;br /&gt;
* IRC&lt;br /&gt;
** Currently this is main and faster way to communicate with Qt 4.6 and Qt 4.5 developers.&lt;br /&gt;
** &lt;br /&gt;
&lt;br /&gt;
* Mailing list&lt;br /&gt;
** [https://garage.maemo.org/mailman/listinfo/qt4-devel Click here to Subscribe to the Qt community ML]&lt;br /&gt;
&lt;br /&gt;
* Forum&lt;br /&gt;
** [https://garage.maemo.org/forum/?group_id=424 Click here to enter the Forum]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34320</id>
		<title>Qt4 Hildon Legacy</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34320"/>
		<updated>2009-11-06T18:26:46Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* Is it yet possible to create Fremantle desktop widgets using Qt? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:MaemoQtPicture.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Intro.png]] Intro ==&lt;br /&gt;
&lt;br /&gt;
=== Maemo Platform ===&lt;br /&gt;
&lt;br /&gt;
The Maemo Platform is the software stack for Nokia Internet Tablets, which includes the Maemo operating system and the Maemo SDK. The Maemo Platform is mostly based on open source code, and has been developed by the Maemo Software department within Nokia in collaboration with many open source projects such as the Linux kernel, Debian, and GNOME.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform Maemo Platform on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/platform/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== What is Hildon? ===&lt;br /&gt;
&lt;br /&gt;
Hildon is an application framework for Linux operating system mobile devices (PDAs, mobile phones, etc), developed by Nokia for Maemo and now a part of GNOME, that focuses on providing a finger friendly interface.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Hildon Hildon on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://live.gnome.org/Hildon Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Developing on Maemo ===&lt;br /&gt;
&lt;br /&gt;
Developing applications for Maemo is done with the Maemo SDK. The process from creating the first prototype of your application to distributing to a wide audience consists basically of three steps:&lt;br /&gt;
&lt;br /&gt;
* Share your application project in the [http://garage.maemo.org Garage].&lt;br /&gt;
* Make your application easy to install and put in the [[Extras]].&lt;br /&gt;
* Once your application has a high quality - be promoted to the [http://www.nokia.com/os2008 Nokia user site].&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/developer_overview/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Maemo SDK ===&lt;br /&gt;
&lt;br /&gt;
The Maemo SDK is based around the Debian-oriented Scratchbox Cross Compilation Toolkit, which provides a sandbox environment in which development may take place. Scratchbox uses Qemu to emulate an ARMEL processor or sbrsh to remotely execute instructions. Scratchbox-compatible rootstraps are available for both x86 and ARMEL, so the majority of development and debugging takes place on x86, with final packaging being for ARMEL.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform#Maemo_SDK Maemo SDK on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=c8myh_iBy8k Watch the Maemo SDK in action!]&lt;br /&gt;
&lt;br /&gt;
=== What is Scratchbox? ===&lt;br /&gt;
&lt;br /&gt;
Scratchbox is a cross compilation toolkit designed to make embedded Linux application development easier. It also provides a full set of tools to integrate and cross compile an entire Linux distribution.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Scratchbox Scratchbox on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.scratchbox.org/ Read more...]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Rocket.png]] Getting started ==&lt;br /&gt;
&lt;br /&gt;
To start to develop with Maemo Qt, we need to install the Maemo SDK on a Linux machine.&lt;br /&gt;
&lt;br /&gt;
=== Hey, I don&#039;t have a Linux machine! ===&lt;br /&gt;
That&#039;s not a big problem. You can run Maemo SDK in a virtual machine;&lt;br /&gt;
You can download Maemo SDK virtual Image (Linux Ubuntu + Diablo and Fremantle SDK)&lt;br /&gt;
from [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php tablets-dev.nokia.com].&lt;br /&gt;
You can get VMPlayer from [http://www.vmware.com/products/player/ here].&lt;br /&gt;
&lt;br /&gt;
=== Installing the Maemo SDK ===&lt;br /&gt;
Maemo SDK can be installaed in any Linux environment.&lt;br /&gt;
However Debian based distros (eg: Ubuntu) are recommended.&lt;br /&gt;
&lt;br /&gt;
Documentation you need to install Maemo SDK is [http://maemo.org/development/sdks/ here].&lt;br /&gt;
&lt;br /&gt;
=== Installing Qt packages in Scratchbox ===&lt;br /&gt;
Maemo Qt developers offers a set of Qt packages for Diablo (Maemo4.1 - OS2008)&lt;br /&gt;
and Fremantle (Maemo5 - OS2009).&lt;br /&gt;
&lt;br /&gt;
==== Diablo ====&lt;br /&gt;
Diablo Qt packages are into the official Extras repository.&lt;br /&gt;
In order to start to develop with those packages you need to add&lt;br /&gt;
extras repository to your repository list.&lt;br /&gt;
&lt;br /&gt;
 1. Open /etc/apt/source.list with a text editor (eg: kate, gedit...)&lt;br /&gt;
 2. Append the following line to that file: &lt;br /&gt;
     deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
 3. Then update your APT cache with&lt;br /&gt;
      &amp;lt;i&amp;gt;apt-get update&amp;lt;/i&amp;gt;&lt;br /&gt;
 4. Install Qt packages with&lt;br /&gt;
      &amp;lt;i&amp;gt;apt-get install libqt4-dev&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fremantle ====&lt;br /&gt;
You don&#039;t need to add any extra repository for Fremantle since Qt packages are already available into the SDK.&lt;br /&gt;
&lt;br /&gt;
Then you can install Qt with:&lt;br /&gt;
 fakeroot apt-get install libqt4-gui libqt4-dev&lt;br /&gt;
&lt;br /&gt;
===How to compile a Qt application in scratchbox===&lt;br /&gt;
Qt applications are usually built using QMake. Project like KDE instead replaced&lt;br /&gt;
QMake with CMake for more flexibility.&lt;br /&gt;
 &lt;br /&gt;
==== QMake ====&lt;br /&gt;
[http://doc.trolltech.com/4.5/qmake-manual.html QMake] is a tool from Trolltech that helps simplify the build process for development project across different platforms&lt;br /&gt;
&lt;br /&gt;
You can build your Maemo Qt application in 3 simple steps:&lt;br /&gt;
 1. Generating project file [Required if there is not .pro file into the app source tree]&lt;br /&gt;
    &amp;lt;i&amp;gt;qmake -project&amp;lt;/i&amp;gt;&lt;br /&gt;
 2. Generating Makefile from the QMake project file:&lt;br /&gt;
    qmake file.pro&lt;br /&gt;
 3. make&lt;br /&gt;
&lt;br /&gt;
==== CMake ====&lt;br /&gt;
As told before it&#039;s not a standard tool but it&#039;s largely used from people and application coming from the KDE world.&lt;br /&gt;
Because of some issue with CMake, Diablo CMake packages are currently useless since CMake segfaults. This issue has been solved in Fremantle and CMake packages that comes from Fremantle SDK work nicely.&lt;br /&gt;
&lt;br /&gt;
 - CMake projects has usually a CMakeLists.txt file instead of &lt;br /&gt;
     - .pro file used by QMake projects&lt;br /&gt;
     - Makefile.am used by Autotools projects (standard in Unix/Linux)&lt;br /&gt;
&lt;br /&gt;
Using CMake to build the project is extremely easy.&lt;br /&gt;
In the directory containing CMakeLists.txt, supply the following two commands, where path is the path to the source code.&lt;br /&gt;
&lt;br /&gt;
 - cmake path&lt;br /&gt;
 - make&lt;br /&gt;
&lt;br /&gt;
Note: CMake is not installed by defualt in scratchbox. You can install it with&lt;br /&gt;
 &amp;lt;i&amp;gt;apt-get install cmake&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Running a Qt application in: ===&lt;br /&gt;
====A. Scratchbox====&lt;br /&gt;
Diablo and Fremantle Qt applications can run into the device as into scratchbox.&lt;br /&gt;
&lt;br /&gt;
First step to run a Qt application is starting the SDK UI:&lt;br /&gt;
 &lt;br /&gt;
1. Run Xephyr. It&#039;s able to run a [http://en.wikipedia.org/wiki/X_Window_System  X Server] inside another X Server. &lt;br /&gt;
 &amp;lt;i&amp;gt;Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb&amp;lt;/i&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
2. Set display for application that runs inside scratchbox&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; export DISPLAY=:2&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. You can now run the SDK UI. Diablo or Fremantle desktop will appear into your Xephyr window:&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; af-sb-init.sh start&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Now you are ready to run any Maemo or Maemo Qt application with&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; run-standalone.sh ./qtapps&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: run-standalone.sh sets some variable needed by Qt to use the Hildon style.&lt;br /&gt;
&lt;br /&gt;
====B. device====&lt;br /&gt;
Maemo Qt applications are linux binaries. They can run into the device without any problem if you copy it/them in &amp;quot;partitions&amp;quot; mounted with exec flag. (Eg: /home/user or /opt in Fremantle).&lt;br /&gt;
&lt;br /&gt;
Eg: If we want to run quassel (Qt IRC Client) we have to launch it with:&lt;br /&gt;
 &amp;lt;b&amp;gt;Nokia-N900-44-1:/home/user#&amp;lt;/b&amp;gt; ./quassel&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Hammer.png]] Porting Qt applications to Maemo ==&lt;br /&gt;
&lt;br /&gt;
===Intro===&lt;br /&gt;
&lt;br /&gt;
Porting a Qt desktop application to Maemo requires very little effort. This because the Maemo Qt libraries will take care of giving the Hildon look &amp;amp; Feel and enabling the virtual input methods for your application.&lt;br /&gt;
&lt;br /&gt;
===Overriding the Qt Maemo changes===&lt;br /&gt;
&lt;br /&gt;
====Maemo Style====&lt;br /&gt;
Hildon Style is the default Qt application style. Other style available are:&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-cleanlooks.html QCleanLooks]&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-windows.html Windows]&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-plastique.html Plastique]&lt;br /&gt;
&lt;br /&gt;
Qt application can use other Qt styles;&lt;br /&gt;
* Running your application with the style flag:&lt;br /&gt;
&amp;lt;i&amp;gt;./qt-test-application -style windows&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Using [http://doc.trolltech.com/4.4/qapplication.html#setStyle QApplication::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
* If you want to change the style of a widget:[http://doc.trolltech.com/4.4/qwidget.html#setStyle QWidget::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
====Showing the status bar====&lt;br /&gt;
&lt;br /&gt;
Hildon applications don&#039;t have a status bar. Qt for Maemo hides the status bar by default.&lt;br /&gt;
You can show it again by modifying your code.&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Using the Kinetic Finger Scrolling (cf Gtk&#039;s PannableArea)====&lt;br /&gt;
See [[Qt/Finger Scrolling|Finger Scrolling]]&lt;br /&gt;
&lt;br /&gt;
===Adding Maemo changes to a Qt Application===&lt;br /&gt;
&lt;br /&gt;
Some methods of Qt for Maemo are not available in the &amp;quot;standard&amp;quot; Qt libs, so a Qt application with specific Maemo Qt code can&#039;t be built outside the Maemo SDK. To avoid this issue, the developer can use the preprocessor directives, for example:&lt;br /&gt;
&lt;br /&gt;
 #ifdef Q_WS_HILDON&lt;br /&gt;
    //Specific hildon code here &lt;br /&gt;
 #endif&lt;br /&gt;
&lt;br /&gt;
===Limitations===&lt;br /&gt;
&lt;br /&gt;
Currently Qt Maemo lacks full support for Hildon widgets introduced in Maemo 5. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;At the moment, creating a Qt application that follows Maemo 5 UI Style requires using custom Qt widgets, coded within the application itself&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
There is work ongoing to provide Qt Hildon widgets for Maemo 5, see [http://wiki.maemo.org/Qt4_Hildon/Qt_Hildon_Widgets Qt Hildon Widgets]&lt;br /&gt;
&lt;br /&gt;
To get the benefits of the ongoing Maemo 5 hildon integration work in Qt, you must get the latest Qt source code and compile it yourself. See [http://wiki.maemo.org/Qt4_Hildon#Building_Qt_from_GIT_rep Building Qt from GIT repository].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Bug.png]] Debugging a Qt application ==&lt;br /&gt;
&lt;br /&gt;
===GDB ===&lt;br /&gt;
&lt;br /&gt;
====Intro ====&lt;br /&gt;
&lt;br /&gt;
The GNU Project Debugger, or gdb for short, is a general purpose debugger that can be used for various debugging purposes.&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application in Scratchbox====&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application on device====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Installing gdb on the device.&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the [http://maemo.org/development/tools/ SDK tools] repository to the catalogue list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;install gdb by using apt-get (require around 6 MB of space)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Install the debug symbols files in scratchbox (ARMEL target)&amp;lt;/li&amp;gt;&lt;br /&gt;
 apt-get install libqt4-dbg&lt;br /&gt;
&amp;lt;li&amp;gt;Run the application (device side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 $gdbserver 0.0.0.0:1234 ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Run the gdb client on your host PC (scratchbox side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 [sbox-DIABLO_ARMEL: ~/TEST/svn/qt4-x11-4.4.0/examples/widgets/tablet] &amp;gt; gdb ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Set the target of gdb&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) target remote 172.21.37.117:1234&lt;br /&gt;
&amp;lt;li&amp;gt;Tell to gdb to continue to debug the application on the device&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) continue&lt;br /&gt;
&amp;lt;li&amp;gt;Wait some moments...&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If necessary you can put break points; eg: for void QWidget::setPalette ( const QPalette &amp;amp; )&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) break QWidget::setPalette(QPalette const&amp;amp;)&lt;br /&gt;
 Breakpoint 1 at 0x4026ae68&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Your application will appear on the device screen. Happy debugging!&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Links===&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/software/gdb/documentation/ GDB documentation &amp;amp; tutorials]&lt;br /&gt;
* [http://maemo.org/development/documentation/man_pages/gdbserver/ GDBServer man page]&lt;br /&gt;
* [http://maemo.org/maemo_release_documentation/maemo4.1.x/node15.html Maemo debugging guide]&lt;br /&gt;
* [http://repository.maemo.org/pool/diablo/free/g/gdb/ gdb debian package for Diablo]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:chart.png]] Profiling a Qt application ==&lt;br /&gt;
&lt;br /&gt;
=== OProfile ===&lt;br /&gt;
&lt;br /&gt;
OProfile is a low overhead system-wide profiler for Linux. It can be used to find CPU usage bottlenecks in the whole system and within processes. It works fine in the device, but viewing the reports can take quite a long time (10 minutes) when fired up on N800/N810 devices. Therefore, it often makes sense to run opreport in scratchbox.&lt;br /&gt;
&lt;br /&gt;
If you want to know more about OProfile in Maemo see the [http://maemo.org/development/tools/doc/chinook/oprofile/ documentation].&lt;br /&gt;
&lt;br /&gt;
=== Valgrind ===&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:chart.png]] Qt benchmarks ==&lt;br /&gt;
2D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* [[Qt/Benchmark/qgear|QGears]]&lt;br /&gt;
3D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:package.png]] Packaging a Qt application for Maemo ==&lt;br /&gt;
&lt;br /&gt;
{{main|Packaging a Qt application}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Helmet.png]] Maemo Qt API Reference ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is based on Qt for X11. It shares same APIs avoiding API breaks. In this way every Qt application that runs in other platforms (Windows, Mac OS X, Linux, S60, etc.) can run in Maemo devices as well. &lt;br /&gt;
To Develop a Qt application you can use the [http://doc.trolltech.com/4.5/index.html Official Qt 4.5 API documentation] and the list below to see what are the Maemo changes.&lt;br /&gt;
&lt;br /&gt;
===Diablo===&lt;br /&gt;
  &#039;&#039;&#039;QString QDesktopServices::storageLocation(StandardLocation type)&#039;&#039;&#039; returns specific Maemo locations for these types:&lt;br /&gt;
  - DesktopLocation:   QDir::homePath() + QLatin1String(&amp;quot;/MyDocs&amp;quot;),            instead of QDir::homePath() + QLatin1String(&amp;quot;/Desktop&amp;quot;)&lt;br /&gt;
  - DocumentsLocation: QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;), instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;)&lt;br /&gt;
  - PicturesLocation:  QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.images&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Pictures&amp;quot;)&lt;br /&gt;
  - MusicLocation:     QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.sounds&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Music&amp;quot;)&lt;br /&gt;
  - MoviesLocation:    QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;QTabletEvents&#039;&#039;&#039; are able to get the pressure value from the touchscreen.&lt;br /&gt;
   - The eventdeviceType is for the touchscreen is set to QTabletEvent::Stylus.&lt;br /&gt;
   - QTabletEvents won&#039;t be used anymore in Fremantle&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Finger poke&#039;&#039;&#039; is emulated in scratchbox by the Middle Mouse button (NOTE: There is no Fullscreen VKB in scratchbox)&lt;br /&gt;
 &lt;br /&gt;
  &#039;&#039;&#039;QInputEvents&#039;&#039;&#039; don&#039;t move the cursor. &lt;br /&gt;
  It&#039;s mandatory to get working the HIM moving the cursor via QInputMethodEvents.&lt;br /&gt;
  Why is it mandatory?  &lt;br /&gt;
  Because if the user select text with the finger from the right to the left, we are able to remove the highlighted text, but the&lt;br /&gt;
  cursor will be moved on the last char instead to stay on the first one.&lt;br /&gt;
   &lt;br /&gt;
  To do that some changes has been added to some widget function like: &#039;&#039;widget::inputMethodEvent(QInputMethodEvent *e)&#039;&#039;.&lt;br /&gt;
  Modifing that function in some custom widgets may be necessary.&lt;br /&gt;
  Don&#039;t reimplementing that function will break some fullscreen virtual keyboard features.&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Hardcoded Keys:&#039;&#039;&#039;&lt;br /&gt;
  In the QMainWindow:&lt;br /&gt;
  - F6 - Toggle fullscreen the application&lt;br /&gt;
  - F4 - Shows/Hides the application context menu&lt;br /&gt;
  - Zoom in  - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomIn&lt;br /&gt;
  - Zoom out - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomOut&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;Input Method:&#039;&#039;&#039;&lt;br /&gt;
  Maemo Qt uses the Hildon IM as default Input method.&lt;br /&gt;
  Each kind of widget can set the IM mode. This allows the input method to focus on the type of input that the application is expecting.&lt;br /&gt;
  Eg: spinboxes can receive only numeric characters (1-9).&lt;br /&gt;
  &lt;br /&gt;
  NOTE: Qt widgets like QTextEdit, QLineEdit... set the right input method mode automatically. &lt;br /&gt;
  &lt;br /&gt;
  A developer can change it by using:&lt;br /&gt;
    void QInputContext::setInputMode(int mode);&lt;br /&gt;
  It will update immediately the Hildon Input method to use the selected IM mode.  &lt;br /&gt;
  &lt;br /&gt;
  HIC Modes:&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_ALPHA 	alphabetical characters and whitespace&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_NUMERIC 	numbers 0-9 and the &#039;-&#039; character&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_SPECIAL 	special characters&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_HEXA 	hexadecimal characters; numbers 0-9, characters a-f, and A-F&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_TELE 	telephone numbers; numbers 0-9, whitespace, and the characters &amp;quot;pwPW/().-+*#?,&amp;quot;&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_FULL 	unrestricted entry mode, combination of the alpha, numeric and special modes.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_MULTILINE 	the client contains multiple lines of text or accepts linebreaks in the input.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_INVISIBLE 	do not echo or save the input in the IM when entering sensitive information such as passwords.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_AUTOCAP 	automatically capitalize the first letter at the start of a sentence.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_DICTIONARY 	enable predictive dictionaries and learning based on the input.&lt;br /&gt;
   &lt;br /&gt;
  Example:&lt;br /&gt;
    For a password field we need to set a specific IM mode:&lt;br /&gt;
    int mode = HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_INVISIBLE&lt;br /&gt;
    QInputContext qic = widget-&amp;gt;inputContext();&lt;br /&gt;
    qic-&amp;gt;setInputMode(mode);&lt;br /&gt;
  &lt;br /&gt;
  If you are developing a Custom widget able to receive input text, you can instruct your widget to use the right IM Mode just returning&lt;br /&gt;
  the mode.&lt;br /&gt;
  &lt;br /&gt;
  - How does it work?&lt;br /&gt;
  The Hildon IM sends a XMessage to pop up the &amp;quot;Virtual Keyboard&amp;quot; (or better the Main HIM UI) when an input widget receive the focus.&lt;br /&gt;
  The IM before to raise the VKB, makes an inputMethodQuery to the widget retrieving the IM mode.&lt;br /&gt;
  If the developer of the custom widget doesn&#039;t set the mode property, the IM will use HILDON_GTK_INPUT_MODE_FULL (the default mode) for that widget.&lt;br /&gt;
  &lt;br /&gt;
  Setting the ImMode is quite easy. Check the code below for more understanding.&lt;br /&gt;
  &lt;br /&gt;
  #ifdef Q_WS_HILDON&lt;br /&gt;
  #include &amp;lt;QInputContext&amp;gt;&lt;br /&gt;
  #endif&lt;br /&gt;
  &lt;br /&gt;
  QVariant QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery query) const&lt;br /&gt;
  {    &lt;br /&gt;
    Q_D(const QAbstractSpinBox);&lt;br /&gt;
    switch(query) {&lt;br /&gt;
        case Qt::ImMode:{&lt;br /&gt;
            int mode = HILDON_GTK_INPUT_MODE_NUMERIC;&lt;br /&gt;
            return QVariant(mode);&lt;br /&gt;
        }&lt;br /&gt;
        default:&lt;br /&gt;
            return d-&amp;gt;edit-&amp;gt;inputMethodQuery(query);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FREMANTLE===&lt;br /&gt;
 [TODO]&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
 Printing (QPrint*) and System tray support has been compiled out in current&lt;br /&gt;
 Qt 4.5.3-xxxx-maemo4 packages.&lt;br /&gt;
 Since incompatibility with KDE, they will be enabled again in next Qt 4.5.3 packages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Helmet.png]] Contributing to the Maemo Qt Project ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is a community project. Contributing to the forum, sending us patches, give us feedbacks, tracking bugs are all activities that help us to improve the quality of our work.&lt;br /&gt;
&lt;br /&gt;
Here there is a list of things that every person interested in helping us should read.&lt;br /&gt;
&lt;br /&gt;
===Be updated===&lt;br /&gt;
Any Maemo Qt developer should be updated and should participate to the discussions, for that he must join the Mailing list.&lt;br /&gt;
BTW the mailing list is not for Maemo Qt Developers but it&#039;s open to Maemo Qt application developers too.&lt;br /&gt;
&lt;br /&gt;
=== Introduction to Git ===&lt;br /&gt;
If you are a git newbie you maybe find interesting these links:&lt;br /&gt;
* http://www.sourcemage.org/Git_Guide&lt;br /&gt;
* http://www.gitcasts.com/&lt;br /&gt;
* http://www.gnome.org/~newren/eg/git-for-svn-users.html&lt;br /&gt;
* Using the git protocol through a HTTP CONNECT proxy: http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/&lt;br /&gt;
&lt;br /&gt;
===Understanding the structure of our Git repository===&lt;br /&gt;
These info are here:[[Qt Maemo Git Process]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
Make sure each scratchbox target has&lt;br /&gt;
&lt;br /&gt;
  fakeroot apt-get build-dep libqt4-gui&lt;br /&gt;
&lt;br /&gt;
(you may need to apt-get install libgl-dev too as it&#039;s not in the Build-Depends: yet)&lt;br /&gt;
&lt;br /&gt;
===Building Qt from GIT rep===&lt;br /&gt;
&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Copy the remote 4.5 branch in your workingcopy&lt;br /&gt;
 git checkout -b 4.5 origin/4.5&lt;br /&gt;
&lt;br /&gt;
* Checkout ONE of these branches: &lt;br /&gt;
 git checkout -b qt-diablo    origin/qt-diablo&lt;br /&gt;
 git checkout -b qt-n900 origin/qt-n900&lt;br /&gt;
 git checkout -b qt-mer       origin/qt-mer&lt;br /&gt;
&lt;br /&gt;
* Build the packages:&lt;br /&gt;
 dpkg-buildpackage -rfakeroot -b&lt;br /&gt;
&lt;br /&gt;
===Checking out all the remote branches===&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Check out our script branch &lt;br /&gt;
 git checkout -b maemo-qt-scripts origin/maemo-qt-scripts&lt;br /&gt;
&lt;br /&gt;
* Save a copy of the script outside the working directories&lt;br /&gt;
 cp maemo-qt-scripts/copy-all-remote-branches-locally/copy.sh ../&lt;br /&gt;
&lt;br /&gt;
* Launch the copy.sh script&lt;br /&gt;
 ../copy.sh&lt;br /&gt;
&lt;br /&gt;
===Commit changes in SVN [OLD]===&lt;br /&gt;
&lt;br /&gt;
If you are a Maemo Qt developer and you want to save your changes in the Garage SVN but your project is not ready to go to the main line (trunk/qt-x11), you should create a private branch and then work there until the merging with the mainline.&lt;br /&gt;
&lt;br /&gt;
For that you have to create a your directory in branches/ named &#039;&#039;developer_name-qt&#039;&#039;. After that you can copy trunk/qt-x11 in your directory.&lt;br /&gt;
 svn copy --username developer_name https://garage.maemo.org/svn/qt4/trunk/qt-x11 https://garage.maemo.org/svn/qt4/branches/developer_name-qt -m &amp;quot;Creating private branch of trunk/qt-x11&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOTE: Subversion uses cheap copy, so them don&#039;t increase the size of the repository. Then feel free to create your own branch.&lt;br /&gt;
&lt;br /&gt;
===Merging branches changes in the mainline [OLD]===&lt;br /&gt;
&lt;br /&gt;
Before to merge your changes in the mainline, the code must be full working, cleaned and tested. A review from another developer is also needed in order to reduce the possibility to add errors.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Image:Help-contents.png]] F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt application for ARMEL, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 /targets/FREMANTLE_X86/usr/include/qt4/QtCore/qatomic_i386.h:127: error: impossible constraint in &#039;asm&#039;&lt;br /&gt;
&lt;br /&gt;
You are using x86 include files, then you have to update your Makefile. Running &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; before &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt packcage for x86, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 In file included from maemo/gconfsymbols.cpp:41:&lt;br /&gt;
 maemo/gconfsymbols_p.h:49:25: gconf/gconf.h: No such file or directory&lt;br /&gt;
&lt;br /&gt;
Your scratchbox does not have &amp;lt;code&amp;gt;/bin/sh&amp;lt;/code&amp;gt;, so when calling &amp;lt;code&amp;gt;pkg-config&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CFLAGS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;LIBS&amp;lt;/code&amp;gt; are not set correctly. Running &amp;lt;code&amp;gt;ln -s /scratchbox/tools/bin/sh /bin/sh&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a diablo Qt package, so I just created a symbolic link, debian, for debian.diablo, and then run dpkg-buildpackage command, but I got a build error because the symbolic link was deleted. ===&lt;br /&gt;
&lt;br /&gt;
When running dpkg-buildpackage, all symbolic links will be deleted, so need to rename the folder from debian.diablo to debian to make a build of diablo Qt package.&lt;br /&gt;
&lt;br /&gt;
=== I installed Qt (libqt4-dev) to scratchbox and tried to build a sample application, but I got the error because some header files such as qhildonstyle.h, and qvfbhdr.h etc. were missing. ===&lt;br /&gt;
&lt;br /&gt;
libqt4-dev should copy all header files, but now, at least in 4.5.2-1maemo1, some files are missing. Please download file below and extract to your scratchbox system.&lt;br /&gt;
&lt;br /&gt;
http://qt4.garage.maemo.org/patches/qt4-missing-header.tgz&lt;br /&gt;
&lt;br /&gt;
===Installing Qt on N900===&lt;br /&gt;
If you have already a fremantle device then you can install new Qt packages from extras-devel.&lt;br /&gt;
The step to follow are:&lt;br /&gt;
* Free space&lt;br /&gt;
* echo &amp;quot;deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list.d/hildon-application-manager.list&lt;br /&gt;
* apt-get install libqt4-gui&lt;br /&gt;
The basic packages will be so installed.&lt;br /&gt;
&lt;br /&gt;
Current known issues:&lt;br /&gt;
*  libqt4-opengl depends by libgles2, but it is not installable anymore.Has it been replaced with libgles2-sgx-img?&lt;br /&gt;
&lt;br /&gt;
===Where are the Hildon Widgets for Qt===&lt;br /&gt;
Short answer : they&#039;ve not been written.... yet.&lt;br /&gt;
&lt;br /&gt;
Qt allows you to create your own widgets very easily. However, in order to provide as consistent an appearance as possible for the Maemo platform the community will be creating a set of [[/Qt Hildon Widgets|Qt Hildon Widgets]]&lt;br /&gt;
&lt;br /&gt;
===Is it possible to create fremantle desktop widgets with Qt?===&lt;br /&gt;
Yes, but unfortunately you can&#039;t load them with the widget manager since hildon widgets are GTK shared object file.&lt;br /&gt;
&lt;br /&gt;
A simple Qt hildon-desktop widget is in Extras-devel; Browse your application manager and look for qt-example-hildondesktopwidget.&lt;br /&gt;
&lt;br /&gt;
== How to minimize a Qt application? ==&lt;br /&gt;
 QDBusConnection c = QDBusConnection::sessionBus();&lt;br /&gt;
 QDBusMessage m = QDBusMessage::createSignal(&amp;quot;/&amp;quot;,&amp;quot;com.nokia.hildon_desktop&amp;quot;,&amp;quot;exit_app_view&amp;quot;);&lt;br /&gt;
 c.send(m);&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Qt]]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34321</id>
		<title>Qt4 Hildon Legacy</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34321"/>
		<updated>2009-11-06T18:25:28Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* Is it yet possible to create Fremantle desktop widgets using Qt? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:MaemoQtPicture.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Intro.png]] Intro ==&lt;br /&gt;
&lt;br /&gt;
=== Maemo Platform ===&lt;br /&gt;
&lt;br /&gt;
The Maemo Platform is the software stack for Nokia Internet Tablets, which includes the Maemo operating system and the Maemo SDK. The Maemo Platform is mostly based on open source code, and has been developed by the Maemo Software department within Nokia in collaboration with many open source projects such as the Linux kernel, Debian, and GNOME.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform Maemo Platform on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/platform/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== What is Hildon? ===&lt;br /&gt;
&lt;br /&gt;
Hildon is an application framework for Linux operating system mobile devices (PDAs, mobile phones, etc), developed by Nokia for Maemo and now a part of GNOME, that focuses on providing a finger friendly interface.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Hildon Hildon on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://live.gnome.org/Hildon Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Developing on Maemo ===&lt;br /&gt;
&lt;br /&gt;
Developing applications for Maemo is done with the Maemo SDK. The process from creating the first prototype of your application to distributing to a wide audience consists basically of three steps:&lt;br /&gt;
&lt;br /&gt;
* Share your application project in the [http://garage.maemo.org Garage].&lt;br /&gt;
* Make your application easy to install and put in the [[Extras]].&lt;br /&gt;
* Once your application has a high quality - be promoted to the [http://www.nokia.com/os2008 Nokia user site].&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/developer_overview/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Maemo SDK ===&lt;br /&gt;
&lt;br /&gt;
The Maemo SDK is based around the Debian-oriented Scratchbox Cross Compilation Toolkit, which provides a sandbox environment in which development may take place. Scratchbox uses Qemu to emulate an ARMEL processor or sbrsh to remotely execute instructions. Scratchbox-compatible rootstraps are available for both x86 and ARMEL, so the majority of development and debugging takes place on x86, with final packaging being for ARMEL.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform#Maemo_SDK Maemo SDK on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=c8myh_iBy8k Watch the Maemo SDK in action!]&lt;br /&gt;
&lt;br /&gt;
=== What is Scratchbox? ===&lt;br /&gt;
&lt;br /&gt;
Scratchbox is a cross compilation toolkit designed to make embedded Linux application development easier. It also provides a full set of tools to integrate and cross compile an entire Linux distribution.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Scratchbox Scratchbox on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.scratchbox.org/ Read more...]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Rocket.png]] Getting started ==&lt;br /&gt;
&lt;br /&gt;
To start to develop with Maemo Qt, we need to install the Maemo SDK on a Linux machine.&lt;br /&gt;
&lt;br /&gt;
=== Hey, I don&#039;t have a Linux machine! ===&lt;br /&gt;
That&#039;s not a big problem. You can run Maemo SDK in a virtual machine;&lt;br /&gt;
You can download Maemo SDK virtual Image (Linux Ubuntu + Diablo and Fremantle SDK)&lt;br /&gt;
from [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php tablets-dev.nokia.com].&lt;br /&gt;
You can get VMPlayer from [http://www.vmware.com/products/player/ here].&lt;br /&gt;
&lt;br /&gt;
=== Installing the Maemo SDK ===&lt;br /&gt;
Maemo SDK can be installaed in any Linux environment.&lt;br /&gt;
However Debian based distros (eg: Ubuntu) are recommended.&lt;br /&gt;
&lt;br /&gt;
Documentation you need to install Maemo SDK is [http://maemo.org/development/sdks/ here].&lt;br /&gt;
&lt;br /&gt;
=== Installing Qt packages in Scratchbox ===&lt;br /&gt;
Maemo Qt developers offers a set of Qt packages for Diablo (Maemo4.1 - OS2008)&lt;br /&gt;
and Fremantle (Maemo5 - OS2009).&lt;br /&gt;
&lt;br /&gt;
==== Diablo ====&lt;br /&gt;
Diablo Qt packages are into the official Extras repository.&lt;br /&gt;
In order to start to develop with those packages you need to add&lt;br /&gt;
extras repository to your repository list.&lt;br /&gt;
&lt;br /&gt;
 1. Open /etc/apt/source.list with a text editor (eg: kate, gedit...)&lt;br /&gt;
 2. Append the following line to that file: &lt;br /&gt;
     deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
 3. Then update your APT cache with&lt;br /&gt;
      &amp;lt;i&amp;gt;apt-get update&amp;lt;/i&amp;gt;&lt;br /&gt;
 4. Install Qt packages with&lt;br /&gt;
      &amp;lt;i&amp;gt;apt-get install libqt4-dev&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fremantle ====&lt;br /&gt;
You don&#039;t need to add any extra repository for Fremantle since Qt packages are already available into the SDK.&lt;br /&gt;
&lt;br /&gt;
Then you can install Qt with:&lt;br /&gt;
 fakeroot apt-get install libqt4-gui libqt4-dev&lt;br /&gt;
&lt;br /&gt;
===How to compile a Qt application in scratchbox===&lt;br /&gt;
Qt applications are usually built using QMake. Project like KDE instead replaced&lt;br /&gt;
QMake with CMake for more flexibility.&lt;br /&gt;
 &lt;br /&gt;
==== QMake ====&lt;br /&gt;
[http://doc.trolltech.com/4.5/qmake-manual.html QMake] is a tool from Trolltech that helps simplify the build process for development project across different platforms&lt;br /&gt;
&lt;br /&gt;
You can build your Maemo Qt application in 3 simple steps:&lt;br /&gt;
 1. Generating project file [Required if there is not .pro file into the app source tree]&lt;br /&gt;
    &amp;lt;i&amp;gt;qmake -project&amp;lt;/i&amp;gt;&lt;br /&gt;
 2. Generating Makefile from the QMake project file:&lt;br /&gt;
    qmake file.pro&lt;br /&gt;
 3. make&lt;br /&gt;
&lt;br /&gt;
==== CMake ====&lt;br /&gt;
As told before it&#039;s not a standard tool but it&#039;s largely used from people and application coming from the KDE world.&lt;br /&gt;
Because of some issue with CMake, Diablo CMake packages are currently useless since CMake segfaults. This issue has been solved in Fremantle and CMake packages that comes from Fremantle SDK work nicely.&lt;br /&gt;
&lt;br /&gt;
 - CMake projects has usually a CMakeLists.txt file instead of &lt;br /&gt;
     - .pro file used by QMake projects&lt;br /&gt;
     - Makefile.am used by Autotools projects (standard in Unix/Linux)&lt;br /&gt;
&lt;br /&gt;
Using CMake to build the project is extremely easy.&lt;br /&gt;
In the directory containing CMakeLists.txt, supply the following two commands, where path is the path to the source code.&lt;br /&gt;
&lt;br /&gt;
 - cmake path&lt;br /&gt;
 - make&lt;br /&gt;
&lt;br /&gt;
Note: CMake is not installed by defualt in scratchbox. You can install it with&lt;br /&gt;
 &amp;lt;i&amp;gt;apt-get install cmake&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Running a Qt application in: ===&lt;br /&gt;
====A. Scratchbox====&lt;br /&gt;
Diablo and Fremantle Qt applications can run into the device as into scratchbox.&lt;br /&gt;
&lt;br /&gt;
First step to run a Qt application is starting the SDK UI:&lt;br /&gt;
 &lt;br /&gt;
1. Run Xephyr. It&#039;s able to run a [http://en.wikipedia.org/wiki/X_Window_System  X Server] inside another X Server. &lt;br /&gt;
 &amp;lt;i&amp;gt;Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb&amp;lt;/i&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
2. Set display for application that runs inside scratchbox&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; export DISPLAY=:2&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. You can now run the SDK UI. Diablo or Fremantle desktop will appear into your Xephyr window:&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; af-sb-init.sh start&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Now you are ready to run any Maemo or Maemo Qt application with&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;[sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt;&amp;lt;/b&amp;gt; run-standalone.sh ./qtapps&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: run-standalone.sh sets some variable needed by Qt to use the Hildon style.&lt;br /&gt;
&lt;br /&gt;
====B. device====&lt;br /&gt;
Maemo Qt applications are linux binaries. They can run into the device without any problem if you copy it/them in &amp;quot;partitions&amp;quot; mounted with exec flag. (Eg: /home/user or /opt in Fremantle).&lt;br /&gt;
&lt;br /&gt;
Eg: If we want to run quassel (Qt IRC Client) we have to launch it with:&lt;br /&gt;
 &amp;lt;b&amp;gt;Nokia-N900-44-1:/home/user#&amp;lt;/b&amp;gt; ./quassel&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Hammer.png]] Porting Qt applications to Maemo ==&lt;br /&gt;
&lt;br /&gt;
===Intro===&lt;br /&gt;
&lt;br /&gt;
Porting a Qt desktop application to Maemo requires very little effort. This because the Maemo Qt libraries will take care of giving the Hildon look &amp;amp; Feel and enabling the virtual input methods for your application.&lt;br /&gt;
&lt;br /&gt;
===Overriding the Qt Maemo changes===&lt;br /&gt;
&lt;br /&gt;
====Maemo Style====&lt;br /&gt;
Hildon Style is the default Qt application style. Other style available are:&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-cleanlooks.html QCleanLooks]&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-windows.html Windows]&lt;br /&gt;
* [http://doc.trolltech.com/4.4/gallery-plastique.html Plastique]&lt;br /&gt;
&lt;br /&gt;
Qt application can use other Qt styles;&lt;br /&gt;
* Running your application with the style flag:&lt;br /&gt;
&amp;lt;i&amp;gt;./qt-test-application -style windows&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Using [http://doc.trolltech.com/4.4/qapplication.html#setStyle QApplication::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
* If you want to change the style of a widget:[http://doc.trolltech.com/4.4/qwidget.html#setStyle QWidget::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
====Showing the status bar====&lt;br /&gt;
&lt;br /&gt;
Hildon applications don&#039;t have a status bar. Qt for Maemo hides the status bar by default.&lt;br /&gt;
You can show it again by modifying your code.&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Using the Kinetic Finger Scrolling (cf Gtk&#039;s PannableArea)====&lt;br /&gt;
See [[Qt/Finger Scrolling|Finger Scrolling]]&lt;br /&gt;
&lt;br /&gt;
===Adding Maemo changes to a Qt Application===&lt;br /&gt;
&lt;br /&gt;
Some methods of Qt for Maemo are not available in the &amp;quot;standard&amp;quot; Qt libs, so a Qt application with specific Maemo Qt code can&#039;t be built outside the Maemo SDK. To avoid this issue, the developer can use the preprocessor directives, for example:&lt;br /&gt;
&lt;br /&gt;
 #ifdef Q_WS_HILDON&lt;br /&gt;
    //Specific hildon code here &lt;br /&gt;
 #endif&lt;br /&gt;
&lt;br /&gt;
===Limitations===&lt;br /&gt;
&lt;br /&gt;
Currently Qt Maemo lacks full support for Hildon widgets introduced in Maemo 5. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;At the moment, creating a Qt application that follows Maemo 5 UI Style requires using custom Qt widgets, coded within the application itself&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
There is work ongoing to provide Qt Hildon widgets for Maemo 5, see [http://wiki.maemo.org/Qt4_Hildon/Qt_Hildon_Widgets Qt Hildon Widgets]&lt;br /&gt;
&lt;br /&gt;
To get the benefits of the ongoing Maemo 5 hildon integration work in Qt, you must get the latest Qt source code and compile it yourself. See [http://wiki.maemo.org/Qt4_Hildon#Building_Qt_from_GIT_rep Building Qt from GIT repository].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Bug.png]] Debugging a Qt application ==&lt;br /&gt;
&lt;br /&gt;
===GDB ===&lt;br /&gt;
&lt;br /&gt;
====Intro ====&lt;br /&gt;
&lt;br /&gt;
The GNU Project Debugger, or gdb for short, is a general purpose debugger that can be used for various debugging purposes.&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application in Scratchbox====&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application on device====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Installing gdb on the device.&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the [http://maemo.org/development/tools/ SDK tools] repository to the catalogue list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;install gdb by using apt-get (require around 6 MB of space)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Install the debug symbols files in scratchbox (ARMEL target)&amp;lt;/li&amp;gt;&lt;br /&gt;
 apt-get install libqt4-dbg&lt;br /&gt;
&amp;lt;li&amp;gt;Run the application (device side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 $gdbserver 0.0.0.0:1234 ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Run the gdb client on your host PC (scratchbox side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 [sbox-DIABLO_ARMEL: ~/TEST/svn/qt4-x11-4.4.0/examples/widgets/tablet] &amp;gt; gdb ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Set the target of gdb&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) target remote 172.21.37.117:1234&lt;br /&gt;
&amp;lt;li&amp;gt;Tell to gdb to continue to debug the application on the device&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) continue&lt;br /&gt;
&amp;lt;li&amp;gt;Wait some moments...&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If necessary you can put break points; eg: for void QWidget::setPalette ( const QPalette &amp;amp; )&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) break QWidget::setPalette(QPalette const&amp;amp;)&lt;br /&gt;
 Breakpoint 1 at 0x4026ae68&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Your application will appear on the device screen. Happy debugging!&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Links===&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/software/gdb/documentation/ GDB documentation &amp;amp; tutorials]&lt;br /&gt;
* [http://maemo.org/development/documentation/man_pages/gdbserver/ GDBServer man page]&lt;br /&gt;
* [http://maemo.org/maemo_release_documentation/maemo4.1.x/node15.html Maemo debugging guide]&lt;br /&gt;
* [http://repository.maemo.org/pool/diablo/free/g/gdb/ gdb debian package for Diablo]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:chart.png]] Profiling a Qt application ==&lt;br /&gt;
&lt;br /&gt;
=== OProfile ===&lt;br /&gt;
&lt;br /&gt;
OProfile is a low overhead system-wide profiler for Linux. It can be used to find CPU usage bottlenecks in the whole system and within processes. It works fine in the device, but viewing the reports can take quite a long time (10 minutes) when fired up on N800/N810 devices. Therefore, it often makes sense to run opreport in scratchbox.&lt;br /&gt;
&lt;br /&gt;
If you want to know more about OProfile in Maemo see the [http://maemo.org/development/tools/doc/chinook/oprofile/ documentation].&lt;br /&gt;
&lt;br /&gt;
=== Valgrind ===&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:chart.png]] Qt benchmarks ==&lt;br /&gt;
2D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* [[Qt/Benchmark/qgear|QGears]]&lt;br /&gt;
3D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:package.png]] Packaging a Qt application for Maemo ==&lt;br /&gt;
&lt;br /&gt;
{{main|Packaging a Qt application}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Helmet.png]] Maemo Qt API Reference ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is based on Qt for X11. It shares same APIs avoiding API breaks. In this way every Qt application that runs in other platforms (Windows, Mac OS X, Linux, S60, etc.) can run in Maemo devices as well. &lt;br /&gt;
To Develop a Qt application you can use the [http://doc.trolltech.com/4.5/index.html Official Qt 4.5 API documentation] and the list below to see what are the Maemo changes.&lt;br /&gt;
&lt;br /&gt;
===Diablo===&lt;br /&gt;
  &#039;&#039;&#039;QString QDesktopServices::storageLocation(StandardLocation type)&#039;&#039;&#039; returns specific Maemo locations for these types:&lt;br /&gt;
  - DesktopLocation:   QDir::homePath() + QLatin1String(&amp;quot;/MyDocs&amp;quot;),            instead of QDir::homePath() + QLatin1String(&amp;quot;/Desktop&amp;quot;)&lt;br /&gt;
  - DocumentsLocation: QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;), instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;)&lt;br /&gt;
  - PicturesLocation:  QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.images&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Pictures&amp;quot;)&lt;br /&gt;
  - MusicLocation:     QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.sounds&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Music&amp;quot;)&lt;br /&gt;
  - MoviesLocation:    QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;QTabletEvents&#039;&#039;&#039; are able to get the pressure value from the touchscreen.&lt;br /&gt;
   - The eventdeviceType is for the touchscreen is set to QTabletEvent::Stylus.&lt;br /&gt;
   - QTabletEvents won&#039;t be used anymore in Fremantle&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Finger poke&#039;&#039;&#039; is emulated in scratchbox by the Middle Mouse button (NOTE: There is no Fullscreen VKB in scratchbox)&lt;br /&gt;
 &lt;br /&gt;
  &#039;&#039;&#039;QInputEvents&#039;&#039;&#039; don&#039;t move the cursor. &lt;br /&gt;
  It&#039;s mandatory to get working the HIM moving the cursor via QInputMethodEvents.&lt;br /&gt;
  Why is it mandatory?  &lt;br /&gt;
  Because if the user select text with the finger from the right to the left, we are able to remove the highlighted text, but the&lt;br /&gt;
  cursor will be moved on the last char instead to stay on the first one.&lt;br /&gt;
   &lt;br /&gt;
  To do that some changes has been added to some widget function like: &#039;&#039;widget::inputMethodEvent(QInputMethodEvent *e)&#039;&#039;.&lt;br /&gt;
  Modifing that function in some custom widgets may be necessary.&lt;br /&gt;
  Don&#039;t reimplementing that function will break some fullscreen virtual keyboard features.&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Hardcoded Keys:&#039;&#039;&#039;&lt;br /&gt;
  In the QMainWindow:&lt;br /&gt;
  - F6 - Toggle fullscreen the application&lt;br /&gt;
  - F4 - Shows/Hides the application context menu&lt;br /&gt;
  - Zoom in  - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomIn&lt;br /&gt;
  - Zoom out - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomOut&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;Input Method:&#039;&#039;&#039;&lt;br /&gt;
  Maemo Qt uses the Hildon IM as default Input method.&lt;br /&gt;
  Each kind of widget can set the IM mode. This allows the input method to focus on the type of input that the application is expecting.&lt;br /&gt;
  Eg: spinboxes can receive only numeric characters (1-9).&lt;br /&gt;
  &lt;br /&gt;
  NOTE: Qt widgets like QTextEdit, QLineEdit... set the right input method mode automatically. &lt;br /&gt;
  &lt;br /&gt;
  A developer can change it by using:&lt;br /&gt;
    void QInputContext::setInputMode(int mode);&lt;br /&gt;
  It will update immediately the Hildon Input method to use the selected IM mode.  &lt;br /&gt;
  &lt;br /&gt;
  HIC Modes:&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_ALPHA 	alphabetical characters and whitespace&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_NUMERIC 	numbers 0-9 and the &#039;-&#039; character&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_SPECIAL 	special characters&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_HEXA 	hexadecimal characters; numbers 0-9, characters a-f, and A-F&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_TELE 	telephone numbers; numbers 0-9, whitespace, and the characters &amp;quot;pwPW/().-+*#?,&amp;quot;&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_FULL 	unrestricted entry mode, combination of the alpha, numeric and special modes.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_MULTILINE 	the client contains multiple lines of text or accepts linebreaks in the input.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_INVISIBLE 	do not echo or save the input in the IM when entering sensitive information such as passwords.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_AUTOCAP 	automatically capitalize the first letter at the start of a sentence.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_DICTIONARY 	enable predictive dictionaries and learning based on the input.&lt;br /&gt;
   &lt;br /&gt;
  Example:&lt;br /&gt;
    For a password field we need to set a specific IM mode:&lt;br /&gt;
    int mode = HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_INVISIBLE&lt;br /&gt;
    QInputContext qic = widget-&amp;gt;inputContext();&lt;br /&gt;
    qic-&amp;gt;setInputMode(mode);&lt;br /&gt;
  &lt;br /&gt;
  If you are developing a Custom widget able to receive input text, you can instruct your widget to use the right IM Mode just returning&lt;br /&gt;
  the mode.&lt;br /&gt;
  &lt;br /&gt;
  - How does it work?&lt;br /&gt;
  The Hildon IM sends a XMessage to pop up the &amp;quot;Virtual Keyboard&amp;quot; (or better the Main HIM UI) when an input widget receive the focus.&lt;br /&gt;
  The IM before to raise the VKB, makes an inputMethodQuery to the widget retrieving the IM mode.&lt;br /&gt;
  If the developer of the custom widget doesn&#039;t set the mode property, the IM will use HILDON_GTK_INPUT_MODE_FULL (the default mode) for that widget.&lt;br /&gt;
  &lt;br /&gt;
  Setting the ImMode is quite easy. Check the code below for more understanding.&lt;br /&gt;
  &lt;br /&gt;
  #ifdef Q_WS_HILDON&lt;br /&gt;
  #include &amp;lt;QInputContext&amp;gt;&lt;br /&gt;
  #endif&lt;br /&gt;
  &lt;br /&gt;
  QVariant QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery query) const&lt;br /&gt;
  {    &lt;br /&gt;
    Q_D(const QAbstractSpinBox);&lt;br /&gt;
    switch(query) {&lt;br /&gt;
        case Qt::ImMode:{&lt;br /&gt;
            int mode = HILDON_GTK_INPUT_MODE_NUMERIC;&lt;br /&gt;
            return QVariant(mode);&lt;br /&gt;
        }&lt;br /&gt;
        default:&lt;br /&gt;
            return d-&amp;gt;edit-&amp;gt;inputMethodQuery(query);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FREMANTLE===&lt;br /&gt;
 [TODO]&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
 Printing (QPrint*) and System tray support has been compiled out in current&lt;br /&gt;
 Qt 4.5.3-xxxx-maemo4 packages.&lt;br /&gt;
 Since incompatibility with KDE, they will be enabled again in next Qt 4.5.3 packages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Helmet.png]] Contributing to the Maemo Qt Project ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is a community project. Contributing to the forum, sending us patches, give us feedbacks, tracking bugs are all activities that help us to improve the quality of our work.&lt;br /&gt;
&lt;br /&gt;
Here there is a list of things that every person interested in helping us should read.&lt;br /&gt;
&lt;br /&gt;
===Be updated===&lt;br /&gt;
Any Maemo Qt developer should be updated and should participate to the discussions, for that he must join the Mailing list.&lt;br /&gt;
BTW the mailing list is not for Maemo Qt Developers but it&#039;s open to Maemo Qt application developers too.&lt;br /&gt;
&lt;br /&gt;
=== Introduction to Git ===&lt;br /&gt;
If you are a git newbie you maybe find interesting these links:&lt;br /&gt;
* http://www.sourcemage.org/Git_Guide&lt;br /&gt;
* http://www.gitcasts.com/&lt;br /&gt;
* http://www.gnome.org/~newren/eg/git-for-svn-users.html&lt;br /&gt;
* Using the git protocol through a HTTP CONNECT proxy: http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/&lt;br /&gt;
&lt;br /&gt;
===Understanding the structure of our Git repository===&lt;br /&gt;
These info are here:[[Qt Maemo Git Process]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
Make sure each scratchbox target has&lt;br /&gt;
&lt;br /&gt;
  fakeroot apt-get build-dep libqt4-gui&lt;br /&gt;
&lt;br /&gt;
(you may need to apt-get install libgl-dev too as it&#039;s not in the Build-Depends: yet)&lt;br /&gt;
&lt;br /&gt;
===Building Qt from GIT rep===&lt;br /&gt;
&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Copy the remote 4.5 branch in your workingcopy&lt;br /&gt;
 git checkout -b 4.5 origin/4.5&lt;br /&gt;
&lt;br /&gt;
* Checkout ONE of these branches: &lt;br /&gt;
 git checkout -b qt-diablo    origin/qt-diablo&lt;br /&gt;
 git checkout -b qt-n900 origin/qt-n900&lt;br /&gt;
 git checkout -b qt-mer       origin/qt-mer&lt;br /&gt;
&lt;br /&gt;
* Build the packages:&lt;br /&gt;
 dpkg-buildpackage -rfakeroot -b&lt;br /&gt;
&lt;br /&gt;
===Checking out all the remote branches===&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Check out our script branch &lt;br /&gt;
 git checkout -b maemo-qt-scripts origin/maemo-qt-scripts&lt;br /&gt;
&lt;br /&gt;
* Save a copy of the script outside the working directories&lt;br /&gt;
 cp maemo-qt-scripts/copy-all-remote-branches-locally/copy.sh ../&lt;br /&gt;
&lt;br /&gt;
* Launch the copy.sh script&lt;br /&gt;
 ../copy.sh&lt;br /&gt;
&lt;br /&gt;
===Commit changes in SVN [OLD]===&lt;br /&gt;
&lt;br /&gt;
If you are a Maemo Qt developer and you want to save your changes in the Garage SVN but your project is not ready to go to the main line (trunk/qt-x11), you should create a private branch and then work there until the merging with the mainline.&lt;br /&gt;
&lt;br /&gt;
For that you have to create a your directory in branches/ named &#039;&#039;developer_name-qt&#039;&#039;. After that you can copy trunk/qt-x11 in your directory.&lt;br /&gt;
 svn copy --username developer_name https://garage.maemo.org/svn/qt4/trunk/qt-x11 https://garage.maemo.org/svn/qt4/branches/developer_name-qt -m &amp;quot;Creating private branch of trunk/qt-x11&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOTE: Subversion uses cheap copy, so them don&#039;t increase the size of the repository. Then feel free to create your own branch.&lt;br /&gt;
&lt;br /&gt;
===Merging branches changes in the mainline [OLD]===&lt;br /&gt;
&lt;br /&gt;
Before to merge your changes in the mainline, the code must be full working, cleaned and tested. A review from another developer is also needed in order to reduce the possibility to add errors.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Image:Help-contents.png]] F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt application for ARMEL, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 /targets/FREMANTLE_X86/usr/include/qt4/QtCore/qatomic_i386.h:127: error: impossible constraint in &#039;asm&#039;&lt;br /&gt;
&lt;br /&gt;
You are using x86 include files, then you have to update your Makefile. Running &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; before &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt packcage for x86, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 In file included from maemo/gconfsymbols.cpp:41:&lt;br /&gt;
 maemo/gconfsymbols_p.h:49:25: gconf/gconf.h: No such file or directory&lt;br /&gt;
&lt;br /&gt;
Your scratchbox does not have &amp;lt;code&amp;gt;/bin/sh&amp;lt;/code&amp;gt;, so when calling &amp;lt;code&amp;gt;pkg-config&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CFLAGS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;LIBS&amp;lt;/code&amp;gt; are not set correctly. Running &amp;lt;code&amp;gt;ln -s /scratchbox/tools/bin/sh /bin/sh&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a diablo Qt package, so I just created a symbolic link, debian, for debian.diablo, and then run dpkg-buildpackage command, but I got a build error because the symbolic link was deleted. ===&lt;br /&gt;
&lt;br /&gt;
When running dpkg-buildpackage, all symbolic links will be deleted, so need to rename the folder from debian.diablo to debian to make a build of diablo Qt package.&lt;br /&gt;
&lt;br /&gt;
=== I installed Qt (libqt4-dev) to scratchbox and tried to build a sample application, but I got the error because some header files such as qhildonstyle.h, and qvfbhdr.h etc. were missing. ===&lt;br /&gt;
&lt;br /&gt;
libqt4-dev should copy all header files, but now, at least in 4.5.2-1maemo1, some files are missing. Please download file below and extract to your scratchbox system.&lt;br /&gt;
&lt;br /&gt;
http://qt4.garage.maemo.org/patches/qt4-missing-header.tgz&lt;br /&gt;
&lt;br /&gt;
===Installing Qt on N900===&lt;br /&gt;
If you have already a fremantle device then you can install new Qt packages from extras-devel.&lt;br /&gt;
The step to follow are:&lt;br /&gt;
* Free space&lt;br /&gt;
* echo &amp;quot;deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list.d/hildon-application-manager.list&lt;br /&gt;
* apt-get install libqt4-gui&lt;br /&gt;
The basic packages will be so installed.&lt;br /&gt;
&lt;br /&gt;
Current known issues:&lt;br /&gt;
*  libqt4-opengl depends by libgles2, but it is not installable anymore.Has it been replaced with libgles2-sgx-img?&lt;br /&gt;
&lt;br /&gt;
===Where are the Hildon Widgets for Qt===&lt;br /&gt;
Short answer : they&#039;ve not been written.... yet.&lt;br /&gt;
&lt;br /&gt;
Qt allows you to create your own widgets very easily. However, in order to provide as consistent an appearance as possible for the Maemo platform the community will be creating a set of [[/Qt Hildon Widgets|Qt Hildon Widgets]]&lt;br /&gt;
&lt;br /&gt;
===Is it yet possible to create Fremantle desktop widgets using Qt?===&lt;br /&gt;
Yes you can write Fremantle desktop widgets using Qt. But unfortunately you can&#039;t load them with the widget manager since hildon widgets are GTK shared object file.&lt;br /&gt;
&lt;br /&gt;
A simple desktop widget is in Extras-devel; Browse your application manager and look for qt-example-hildondesktopwidget.&lt;br /&gt;
&lt;br /&gt;
== How to minimize a Qt application? ==&lt;br /&gt;
 QDBusConnection c = QDBusConnection::sessionBus();&lt;br /&gt;
 QDBusMessage m = QDBusMessage::createSignal(&amp;quot;/&amp;quot;,&amp;quot;com.nokia.hildon_desktop&amp;quot;,&amp;quot;exit_app_view&amp;quot;);&lt;br /&gt;
 c.send(m);&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Qt]]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt4_Hildon/Qt_Hildon_Widgets&amp;diff=34210</id>
		<title>Qt4 Hildon/Qt Hildon Widgets</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt4_Hildon/Qt_Hildon_Widgets&amp;diff=34210"/>
		<updated>2009-10-14T20:10:22Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Qt for Hildon won&#039;t provide a set of composite widgets similar to those provided in Gtk Hildon. They will be part of an extra library.&lt;br /&gt;
&lt;br /&gt;
This page is intended to link to resources to help the community develop these widgets.&lt;br /&gt;
&lt;br /&gt;
Note that they will not be part of Qt as such, but will be optional widgets to aid developing applications for Maemo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For details about Maemo 5 user experience, see:&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/eb8a68ba-6225-4d84-ba8f-a00e4a05ff6f/Hildon_2_2_UI_Style_Guide.html Hildon 2.2 UI Style Guide]&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/019c2b31-3777-49a0-9257-970d79580756/Hildon_2_2_Widget_UI_Specification.html Hildon 2.2 Widget UI Specification]&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/e778ba1f-2507-4672-be45-798359a3aea7/Fremantle_Master_Layout_Guide.html Fremantle Master Layout Guide]&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines Maemo 5 Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Graphical_UI_Tutorial Maemo 5 Graphical UI Tutorial]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following existing Qt Widgets have issues with Maemo 5 theming/Maemo 5 UI Style:&lt;br /&gt;
* Toolbar does not have correct height [Toolbar sizeHint is 48px] =&amp;gt; Visual height should be 70px in Maemo 5.&lt;br /&gt;
* Toolbar icons do not have correct size (HILDON_ICON_SIZE_FINGER) &lt;br /&gt;
* &amp;lt;s&amp;gt;Dialogs do not have finger size buttons (HILDON_SIZE_FINGER_HEIGHT)&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Dialogs do not theme dialog buttons as such (different theme from normal buttons)&amp;lt;/s&amp;gt;&lt;br /&gt;
* Dialogs have type icons (e.g. warning) where has in Maemo 5 use of those icons is not allowed.&lt;br /&gt;
* &amp;lt;s&amp;gt;Dialog buttons should stack on top of each other, but currently they layout themselves horizontally&amp;lt;/s&amp;gt;&lt;br /&gt;
* Checkboxes should be embedded into button =&amp;gt; Checkboxbutton. [Checkable QPushButton have to be themed or this will be part of an extra lib]&lt;br /&gt;
* &amp;lt;s&amp;gt;keyboard accelerator hints (underscores) are being shown, while Maemo 5 UI Style requires them to be hidden&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Stock dialogs use button strings such as &amp;quot;OK&amp;quot; and &amp;quot;Cancel&amp;quot;, which are forbidden in Maemo 5 UI Style. &amp;quot;OK&amp;quot; should be replaced with an action string or with &amp;quot;Done&amp;quot;.&amp;lt;s&amp;gt; The &amp;quot;Cancel&amp;quot; should be removed, as dialogs are cancelled by tapping outside of the dialog.&amp;lt;/s&amp;gt;&lt;br /&gt;
* stock &amp;quot;Exit&amp;quot; command should be removed from the menus. It is not allowed in Maemo 5 UI Style. [Legacy menus should not be used]&lt;br /&gt;
* &amp;lt;s&amp;gt;Sliders/Scales&amp;lt;/s&amp;gt; &lt;br /&gt;
* &amp;lt;s&amp;gt;Button heights? [minimal pushbutton height sizeHints is set by the style to 65px]&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Text input fields&amp;lt;/s&amp;gt; [Style is okay]&lt;br /&gt;
* text areas(?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following important Hildon widgets need the respective Qt Hildon widget (in priority order):&lt;br /&gt;
* &amp;lt;s&amp;gt;Sub views ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Windows description]) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-stackable-window.h;hb=HEAD HildonStackableWindow] ([http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/commits/patch-hildon.stacked.windows-fremantle])&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;view menu ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/View_Menu description], filter buttons) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-app-menu.h;hb=HEAD HildonAppMenu] (NOTE: this is not at all same widget as the legacy application menu in Gtk or Maemo 4) &amp;lt;/s&amp;gt;&lt;br /&gt;
* Edit mode toolbar ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Edit_Toolbar description]) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-edit-toolbar.h;hb=HEAD HildonEditToolbar] [This could be part of our Qt Hildon Extra lib]&lt;br /&gt;
* Action buttons for pannable lists ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Redesigning_From_Maemo_4_to_Maemo_5#Accounts_view example]) - [https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/gtk%2B/gtk/gtktreeview.h?root=maemo&amp;amp;view=markup hildon_tree_view_get_action_area_box etc. in Maemo GtkTreeview][will be part of the extra Qt lib or you can use a QPushButton and load the &amp;quot;+&amp;quot; icon by yourself]&lt;br /&gt;
* Picker buttons ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Picker_Button description], see also HildonTouchSelector) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-picker-button.h;hb=HEAD HildonPickerButton][will be part of the extra Qt lib]&lt;br /&gt;
* list selectors ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Touch_Selectors description], single column, multi column, single selection, multiselection, picker with entry, with images) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-touch-selector.h;hb=HEAD HildonTouchSelector][will be part of the extra Qt lib]&lt;br /&gt;
* Date picker ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Date_Button description], including column re-layout based on locale data) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-date-button.h;hb=HEAD HildonDateButton][will be part of the extra Qt lib]&lt;br /&gt;
* Time picker ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Time_Button description], including AM/PM support based on user setting) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-time-button.h;hb=HEAD HildonTimeButton][will be part of the extra Qt lib]&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon banner&amp;lt;/s&amp;gt; [part of the extra lib http://gitorious.org/qt-maemo/qmaemo-ext-libs/commit/f05642e2faa8a0bdef1f7d6f0cc004e825abba8a]&lt;br /&gt;
* hildon confirmation note&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon dialog (with buttons on the bottom right side in landscape)&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon entry (including the possibility for placeholder text)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following QT toolkit widgets are not optimized for mobile ui, and consequently are not finger usable on high DPI touchscreens like Nokia N900.&lt;br /&gt;
* &amp;lt;s&amp;gt;QColorDialog&amp;lt;/s&amp;gt; [Qt dialog has been modified in order to be usable with fingers]&lt;br /&gt;
* &amp;lt;s&amp;gt;QFontDialog&amp;lt;/s&amp;gt; [Qt dialog has been modified in order to be usable with fingers]&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These links may be of use:&lt;br /&gt;
* Discussion thread starting [http://www.mail-archive.com/maemo-developers@maemo.org/msg20237.html about here]&lt;br /&gt;
* http://maemomm.garage.maemo.org/docs/tutorial/figures/&lt;br /&gt;
* https://bugs.maemo.org/show_bug.cgi?id=4625&lt;br /&gt;
* https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=summary&lt;br /&gt;
* [[Using Fremantle Widgets]] and the [[Talk:Using Fremantle Widgets|talk]] page&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34345</id>
		<title>Qt4 Hildon Legacy</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt4_Hildon_Legacy&amp;diff=34345"/>
		<updated>2009-10-04T21:31:43Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: /* Building Qt from GIT rep */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:MaemoQtPicture.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Intro.png]] Intro ==&lt;br /&gt;
&lt;br /&gt;
=== Maemo Platform ===&lt;br /&gt;
&lt;br /&gt;
The Maemo Platform is the software stack for Nokia Internet Tablets, which includes the Maemo operating system and the Maemo SDK. The Maemo Platform is mostly based on open source code, and has been developed by the Maemo Software department within Nokia in collaboration with many open source projects such as the Linux kernel, Debian, and GNOME.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform Maemo Platform on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/platform/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== What is Hildon? ===&lt;br /&gt;
&lt;br /&gt;
Hildon is an application framework for Linux operating system mobile devices (PDAs, mobile phones, etc), developed by Nokia for Maemo and now a part of GNOME, that focuses on providing a finger friendly interface.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Hildon Hildon on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://live.gnome.org/Hildon Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Developing on Maemo ===&lt;br /&gt;
&lt;br /&gt;
Developing applications for Maemo is done with the Maemo SDK. The process from creating the first prototype of your application to distributing to a wide audience consists basically of three steps:&lt;br /&gt;
&lt;br /&gt;
* Share your application project in the [http://garage.maemo.org Garage].&lt;br /&gt;
* Make your application easy to install and put in the [[Extras]].&lt;br /&gt;
* Once your application has a high quality - be promoted to the [http://www.nokia.com/os2008 Nokia user site].&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/intro/developer_overview/ Read more...]&lt;br /&gt;
&lt;br /&gt;
=== Maemo SDK ===&lt;br /&gt;
&lt;br /&gt;
The Maemo SDK is based around the Debian-oriented Scratchbox Cross Compilation Toolkit, which provides a sandbox environment in which development may take place. Scratchbox uses Qemu to emulate an ARMEL processor or sbrsh to remotely execute instructions. Scratchbox-compatible rootstraps are available for both x86 and ARMEL, so the majority of development and debugging takes place on x86, with final packaging being for ARMEL.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Maemo_Platform#Maemo_SDK Maemo SDK on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=c8myh_iBy8k Watch the Maemo SDK in action!]&lt;br /&gt;
&lt;br /&gt;
=== What is Scratchbox? ===&lt;br /&gt;
&lt;br /&gt;
Scratchbox is a cross compilation toolkit designed to make embedded Linux application development easier. It also provides a full set of tools to integrate and cross compile an entire Linux distribution.&amp;lt;ref&amp;gt;[http://en.wikipedia.org/wiki/Scratchbox Scratchbox on Wikipedia]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.scratchbox.org/ Read more...]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Rocket.png]] Getting started ==&lt;br /&gt;
&lt;br /&gt;
To start to develop with Maemo Qt, we need to install the Maemo SDK on a Linux machine.&lt;br /&gt;
&lt;br /&gt;
=== Hey, I don&#039;t have a Linux machine! ===&lt;br /&gt;
&lt;br /&gt;
That&#039;s not a big problem. [http://maemovmware.garage.maemo.org/ Maemo SDK Virtual Image project] provides a virtual development image for the Maemo platform that can be used with [http://www.vmware.com/products/player/ VMPlayer].&lt;br /&gt;
&lt;br /&gt;
=== Installing the Maemo SDK ===&lt;br /&gt;
&lt;br /&gt;
See the [http://maemo.org/development/sdks/ SDK documentation] for details on installing the SDK. &lt;br /&gt;
&lt;br /&gt;
If you are on a non-debian system such as openSUSE you might need to perform the following command&lt;br /&gt;
in another shell prior to logging in in order to get ARM CPU emulation working:&lt;br /&gt;
&lt;br /&gt;
 sudo /scratchbox/sbin/sbox_ctl start&lt;br /&gt;
&lt;br /&gt;
=== Installing the Qt packages in Scratchbox ===&lt;br /&gt;
&lt;br /&gt;
After Scratchbox and the SDK are installed and working, you need to login, add the [[Extras]] and [[Extras#Extras-devel|Extras-devel]] repositories to your apt-get sources and install the Qt libs. Paste this into your Scratchbox shell (without the &amp;quot;&amp;gt;&amp;quot; prompt):&lt;br /&gt;
&lt;br /&gt;
==== Diablo ====&lt;br /&gt;
 &amp;gt; echo &amp;quot;# Maemo extras and extras-devel&lt;br /&gt;
 deb http://repository.maemo.org/extras/ diablo free non-free&lt;br /&gt;
 deb-src http://repository.maemo.org/extras/ diablo free&lt;br /&gt;
 deb http://repository.maemo.org/extras-devel/ diablo free non-free&lt;br /&gt;
 deb-src http://repository.maemo.org/extras-devel/ diablo free&amp;quot; &amp;gt; /etc/apt/sources.list.d/qt.list&lt;br /&gt;
&lt;br /&gt;
==== Fremantle ====&lt;br /&gt;
 &amp;gt; echo &amp;quot;# Maemo extras and extras-devel&lt;br /&gt;
 deb http://repository.maemo.org/extras/ fremantle free non-free&lt;br /&gt;
 deb-src http://repository.maemo.org/extras/ fremantle free&lt;br /&gt;
 deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
 deb-src http://repository.maemo.org/extras-devel/ fremantle free&amp;quot; &amp;gt; /etc/apt/sources.list.d/qt.list&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then run these commands to update the catalog and install Qt libraries:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; apt-get update&lt;br /&gt;
 &amp;gt; fakeroot apt-get install libqt4-gui libqt4-dev&lt;br /&gt;
&lt;br /&gt;
Do these steps for each of the DIABLO_X86, FREMANTLE_X86, DIABLO_ARMEL, FREMANTLE_ARMEL targets that you plan to build on.&lt;br /&gt;
&lt;br /&gt;
===How to compile a Qt application in scratchbox===&lt;br /&gt;
&lt;br /&gt;
All the Qt tools you need are available in scratchbox. In order to compile a Qt application you need to follow the&lt;br /&gt;
standard Qt way:&lt;br /&gt;
&lt;br /&gt;
 qmake -project&lt;br /&gt;
 qmake file.pro&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
===Running a Qt application in scratchbox===&lt;br /&gt;
You can run a Qt application in both the target supported by scratchbox (ARMEL, X86).&lt;br /&gt;
However using the X86 target is recommended.&lt;br /&gt;
&lt;br /&gt;
Before running the application you have to start Xephyr outside Scratchbox with the following parameters:&lt;br /&gt;
 $ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite&lt;br /&gt;
&lt;br /&gt;
In the Scratchbox environment the DISPLAY variable has to be set so that it matches the display setting given above for the Xephyr server (parameter :2 in the above example).&lt;br /&gt;
&lt;br /&gt;
 [sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt; export DISPLAY=:2&lt;br /&gt;
&lt;br /&gt;
After the Xephyr server is running on the Linux host, you can start the Hildon Application Framework with the following command:&lt;br /&gt;
&lt;br /&gt;
 [sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt; af-sb-init.sh start&lt;br /&gt;
&lt;br /&gt;
This should start the Hildon Application Framework inside the Xephyr window.&lt;br /&gt;
&lt;br /&gt;
Now we are ready to run an application in scratchbox:&lt;br /&gt;
&lt;br /&gt;
 [sbox-DIABLO_&amp;lt;target&amp;gt;:~] &amp;gt; run-standalone.sh ./qtapps&lt;br /&gt;
&lt;br /&gt;
===Running a Qt application on the device===&lt;br /&gt;
&lt;br /&gt;
To run a Qt application into the device, we need to copy it there.&lt;br /&gt;
&lt;br /&gt;
====Installing OpenSSH server on the device====&lt;br /&gt;
&lt;br /&gt;
To install and run applications on the device, we&#039;ll need to install an [[SSH]] server.&lt;br /&gt;
&lt;br /&gt;
* Open the Application Manager.&lt;br /&gt;
* Make sure [[Extras]] is enabled.&lt;br /&gt;
* Install openssh-server from the list.&lt;br /&gt;
&lt;br /&gt;
====Setting up a network connection====&lt;br /&gt;
&lt;br /&gt;
We can connect to device to our working machine via WLAN or USB. Connecting the device to a WLAN is quite easy, but [[USB networking]] is more difficult to set up.&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy the excutable on the device====&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Secure_copy scp] or secure copy is a common Linux application. It can copy files or a directories over a secure connection. To copy our application on the device we just need to run it with a syntax like this:&lt;br /&gt;
&lt;br /&gt;
 PC_$&amp;gt; scp qtApplication root@DEVICE-IP:/home/user&lt;br /&gt;
&lt;br /&gt;
====Executing the application====&lt;br /&gt;
&lt;br /&gt;
Now that the application has been copied onto the device, we can run it. For that we need to open the terminal or we can use ssh from our PC.&lt;br /&gt;
&lt;br /&gt;
 PC_$&amp;gt; ssh root@DEVICE-IP&lt;br /&gt;
 N810_#&amp;gt; su - user&lt;br /&gt;
 N810_$&amp;gt; ./qtApplication&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Hammer.png]] Porting a Qt application to Maemo ==&lt;br /&gt;
&lt;br /&gt;
===Intro===&lt;br /&gt;
&lt;br /&gt;
Porting a Qt desktop application to Maemo requires very little effort. This because the Maemo Qt libraries will take care of giving the Hildon look &amp;amp; Feel and enabling the virtual input methods for your application.&lt;br /&gt;
&lt;br /&gt;
===Overriding the Qt Maemo changes===&lt;br /&gt;
&lt;br /&gt;
====Maemo Style====&lt;br /&gt;
&lt;br /&gt;
The Maemo style is the default style of Qt applications on Maemo. The other styles available in Qt 4.4 Maemo are [http://doc.trolltech.com/4.4/gallery-cleanlooks.html QCleanLooks], [http://doc.trolltech.com/4.4/gallery-windows.html Windows] and [http://doc.trolltech.com/4.4/gallery-plastique.html Plastique] (It will be available in the next release of Qt).&lt;br /&gt;
&lt;br /&gt;
You can force your application to use another style in several ways:&lt;br /&gt;
&lt;br /&gt;
* Running your application with the flag -style &amp;lt;style_name&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;HINT: You can put this flag in the Exec field of the desktop file that launch the application.&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $&amp;gt; ./qt-test-application -style windows&lt;br /&gt;
&lt;br /&gt;
* If you want to change your code, you can use this static function:[http://doc.trolltech.com/4.4/qapplication.html#setStyle QApplication::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
* If you want to change the style only for a particular widget, you can call this function in the widget constructor: [http://doc.trolltech.com/4.4/qwidget.html#setStyle QWidget::setStyle( QStyle * style )]&lt;br /&gt;
&lt;br /&gt;
====Showing the status bar====&lt;br /&gt;
&lt;br /&gt;
Hildon applications don&#039;t have a status bar. Qt for Maemo hides the status bar by default.&lt;br /&gt;
You can show it again by modifying your code.&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Using the Kinetic Finger Scrolling (cf Gtk&#039;s PannableArea)====&lt;br /&gt;
See [[Qt/Finger Scrolling|Finger Scrolling]]&lt;br /&gt;
&lt;br /&gt;
===Adding Maemo changes to a Qt Application===&lt;br /&gt;
&lt;br /&gt;
Some methods of Qt for Maemo are not available in the &amp;quot;standard&amp;quot; Qt libs, so a Qt application with specific Maemo Qt code can&#039;t be built outside the Maemo SDK. To avoid this issue, the developer can use the preprocessor directives, for example:&lt;br /&gt;
&lt;br /&gt;
 #ifdef Q_WS_HILDON&lt;br /&gt;
    //Specific hildon code here &lt;br /&gt;
 #endif&lt;br /&gt;
&lt;br /&gt;
===Limitations===&lt;br /&gt;
&lt;br /&gt;
Currently Qt Maemo lacks full support for Hildon widgets introduced in Maemo 5. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;At the moment, creating a Qt application that follows Maemo 5 UI Style requires using custom Qt widgets, coded within the application itself&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
There is work ongoing to provide Qt Hildon widgets for Maemo 5, see [http://wiki.maemo.org/Qt4_Hildon/Qt_Hildon_Widgets Qt Hildon Widgets]&lt;br /&gt;
&lt;br /&gt;
To get the benefits of the ongoing Maemo 5 hildon integration work in Qt, you must get the latest Qt source code and compile it yourself. See [http://wiki.maemo.org/Qt4_Hildon#Building_Qt_from_GIT_rep Building Qt from GIT repository].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Bug.png]] Debugging a Qt application ==&lt;br /&gt;
&lt;br /&gt;
===GDB ===&lt;br /&gt;
&lt;br /&gt;
====Intro ====&lt;br /&gt;
&lt;br /&gt;
The GNU Project Debugger, or gdb for short, is a general purpose debugger that can be used for various debugging purposes.&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application in Scratchbox====&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
====Debugging a Qt application on device====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Installing gdb on the device.&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the [http://maemo.org/development/tools/ SDK tools] repository to the catalogue list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;install gdb by using apt-get (require around 6 MB of space)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Install the debug symbols files in scratchbox (ARMEL target)&amp;lt;/li&amp;gt;&lt;br /&gt;
 apt-get install libqt4-dbg&lt;br /&gt;
&amp;lt;li&amp;gt;Run the application (device side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 $gdbserver 0.0.0.0:1234 ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Run the gdb client on your host PC (scratchbox side)&amp;lt;/li&amp;gt;&lt;br /&gt;
 [sbox-DIABLO_ARMEL: ~/TEST/svn/qt4-x11-4.4.0/examples/widgets/tablet] &amp;gt; gdb ./qtApplication&lt;br /&gt;
&amp;lt;li&amp;gt;Set the target of gdb&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) target remote 172.21.37.117:1234&lt;br /&gt;
&amp;lt;li&amp;gt;Tell to gdb to continue to debug the application on the device&amp;lt;/li&amp;gt;&lt;br /&gt;
 (gdb) continue&lt;br /&gt;
&amp;lt;li&amp;gt;Wait some moments...&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Your application will appear on the device screen. Happy debugging!&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Links===&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/software/gdb/documentation/ GDB documentation &amp;amp; tutorials]&lt;br /&gt;
* [http://maemo.org/development/documentation/man_pages/gdbserver/ GDBServer man page]&lt;br /&gt;
* [http://maemo.org/maemo_release_documentation/maemo4.1.x/node15.html Maemo debugging guide]&lt;br /&gt;
* [http://repository.maemo.org/pool/diablo/free/g/gdb/ gdb debian package for Diablo]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:chart.png]] Profiling a Qt application ==&lt;br /&gt;
&lt;br /&gt;
=== OProfile ===&lt;br /&gt;
&lt;br /&gt;
OProfile is a low overhead system-wide profiler for Linux. It can be used to find CPU usage bottlenecks in the whole system and within processes. It works fine in the device, but viewing the reports can take quite a long time (10 minutes) when fired up on N800/N810 devices. Therefore, it often makes sense to run opreport in scratchbox.&lt;br /&gt;
&lt;br /&gt;
If you want to know more about OProfile in Maemo see the [http://maemo.org/development/tools/doc/chinook/oprofile/ documentation].&lt;br /&gt;
&lt;br /&gt;
=== Valgrind ===&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:chart.png]] Qt benchmarks ==&lt;br /&gt;
2D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.maemo.org/Qt/Benchmark/qgear QGears]&lt;br /&gt;
3D graphic benchmark tools:&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:package.png]] Packaging a Qt application for Maemo ==&lt;br /&gt;
&lt;br /&gt;
{{main|Packaging a Qt application}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Image:Helmet.png]] Maemo Qt API Reference ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is based on Qt for X11. It shares the same API avoiding API breaks. In this way every Qt application that runs in other platforms (Windows, Mac OS X, Linux, S60, etc.) can run also into the Maemo devices. To Develop a Qt application you can use the [http://doc.trolltech.com/4.5/index.html Official Qt 4.5 API documentation] and the list below to see what are the Maemo changes.&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;QString QDesktopServices::storageLocation(StandardLocation type)&#039;&#039;&#039; returns specific Maemo locations for these types:&lt;br /&gt;
  - DesktopLocation:   QDir::homePath() + QLatin1String(&amp;quot;/MyDocs&amp;quot;),            instead of QDir::homePath() + QLatin1String(&amp;quot;/Desktop&amp;quot;)&lt;br /&gt;
  - DocumentsLocation: QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;), instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.documents&amp;quot;)&lt;br /&gt;
  - PicturesLocation:  QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.images&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Pictures&amp;quot;)&lt;br /&gt;
  - MusicLocation:     QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.sounds&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/Music&amp;quot;)&lt;br /&gt;
  - MoviesLocation:    QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;),    instead of QDir::homePath() + QLatin1String(&amp;quot;/MyDocs/.videos&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;QTabletEvents&#039;&#039;&#039; are able to get the pressure value from the touchscreen.&lt;br /&gt;
   - The eventdeviceType is for the touchscreen is set to QTabletEvent::Stylus.&lt;br /&gt;
   - QTabletEvents won&#039;t be used anymore in Fremantle&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Finger poke&#039;&#039;&#039; is emulated in scratchbox by the Middle Mouse button (NOTE: There is no Fullscreen VKB in scratchbox)&lt;br /&gt;
 &lt;br /&gt;
  &#039;&#039;&#039;QInputEvents&#039;&#039;&#039; don&#039;t move the cursor. &lt;br /&gt;
  It&#039;s mandatory to get working the HIM moving the cursor via QInputMethodEvents.&lt;br /&gt;
  Why is it mandatory?  &lt;br /&gt;
  Because if the user select text with the finger from the right to the left, we are able to remove the highlighted text, but the&lt;br /&gt;
  cursor will be moved on the last char instead to stay on the first one.&lt;br /&gt;
   &lt;br /&gt;
  To do that some changes has been added to some widget function like: &#039;&#039;widget::inputMethodEvent(QInputMethodEvent *e)&#039;&#039;.&lt;br /&gt;
  Modifing that function in some custom widgets may be necessary.&lt;br /&gt;
  Don&#039;t reimplementing that function will break some fullscreen virtual keyboard features.&lt;br /&gt;
  &lt;br /&gt;
  &#039;&#039;&#039;Hardcoded Keys:&#039;&#039;&#039;&lt;br /&gt;
  In the QMainWindow:&lt;br /&gt;
  - F6 - Toggle fullscreen the application&lt;br /&gt;
  - F4 - Shows/Hides the application context menu&lt;br /&gt;
  - Zoom in  - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomIn&lt;br /&gt;
  - Zoom out - is a standard [http://doc.trolltech.com/4.4/qkeysequence.html#StandardKey-enum key sequence] QKeySequence::ZoomOut&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;Input Method:&#039;&#039;&#039;&lt;br /&gt;
  Maemo Qt uses the Hildon IM as default Input method.&lt;br /&gt;
  Each kind of widget can set the IM mode. This allows the input method to focus on the type of input that the application is expecting.&lt;br /&gt;
  Eg: spinboxes can receive only numeric characters (1-9).&lt;br /&gt;
  &lt;br /&gt;
  NOTE: Qt widgets like QTextEdit, QLineEdit... set the right input method mode automatically. &lt;br /&gt;
  &lt;br /&gt;
  A developer can change it by using:&lt;br /&gt;
    void QInputContext::setInputMode(int mode);&lt;br /&gt;
  It will update immediately the Hildon Input method to use the selected IM mode.  &lt;br /&gt;
  &lt;br /&gt;
  HIC Modes:&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_ALPHA 	alphabetical characters and whitespace&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_NUMERIC 	numbers 0-9 and the &#039;-&#039; character&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_SPECIAL 	special characters&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_HEXA 	hexadecimal characters; numbers 0-9, characters a-f, and A-F&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_TELE 	telephone numbers; numbers 0-9, whitespace, and the characters &amp;quot;pwPW/().-+*#?,&amp;quot;&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_FULL 	unrestricted entry mode, combination of the alpha, numeric and special modes.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_MULTILINE 	the client contains multiple lines of text or accepts linebreaks in the input.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_INVISIBLE 	do not echo or save the input in the IM when entering sensitive information such as passwords.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_AUTOCAP 	automatically capitalize the first letter at the start of a sentence.&lt;br /&gt;
    HILDON_GTK_INPUT_MODE_DICTIONARY 	enable predictive dictionaries and learning based on the input.&lt;br /&gt;
   &lt;br /&gt;
  Example:&lt;br /&gt;
    For a password field we need to set a specific IM mode:&lt;br /&gt;
    int mode = HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_INVISIBLE&lt;br /&gt;
    QInputContext qic = widget-&amp;gt;inputContext();&lt;br /&gt;
    qic-&amp;gt;setInputMode(mode);&lt;br /&gt;
  &lt;br /&gt;
  If you are developing a Custom widget able to receive input text, you can instruct your widget to use the right IM Mode just returning&lt;br /&gt;
  the mode.&lt;br /&gt;
  &lt;br /&gt;
  - How does it work?&lt;br /&gt;
  The Hildon IM sends a XMessage to pop up the &amp;quot;Virtual Keyboard&amp;quot; (or better the Main HIM UI) when an input widget receive the focus.&lt;br /&gt;
  The IM before to raise the VKB, makes an inputMethodQuery to the widget retrieving the IM mode.&lt;br /&gt;
  If the developer of the custom widget doesn&#039;t set the mode property, the IM will use HILDON_GTK_INPUT_MODE_FULL (the default mode) for that widget.&lt;br /&gt;
  &lt;br /&gt;
  Setting the ImMode is quite easy. Check the code below for more understanding.&lt;br /&gt;
  &lt;br /&gt;
  #ifdef Q_WS_HILDON&lt;br /&gt;
  #include &amp;lt;QInputContext&amp;gt;&lt;br /&gt;
  #endif&lt;br /&gt;
  &lt;br /&gt;
  QVariant QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery query) const&lt;br /&gt;
  {    &lt;br /&gt;
    Q_D(const QAbstractSpinBox);&lt;br /&gt;
    switch(query) {&lt;br /&gt;
        case Qt::ImMode:{&lt;br /&gt;
            int mode = HILDON_GTK_INPUT_MODE_NUMERIC;&lt;br /&gt;
            return QVariant(mode);&lt;br /&gt;
        }&lt;br /&gt;
        default:&lt;br /&gt;
            return d-&amp;gt;edit-&amp;gt;inputMethodQuery(query);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;QDialogs in fremantle.&#039;&#039;&#039;&lt;br /&gt;
   The fremantle WM doesn&#039;t allow QDialogs without a parent (at least this is true for Qt apps).&lt;br /&gt;
   A dialog without a parent won&#039;t be shown by the WM.&lt;br /&gt;
   &lt;br /&gt;
   Eg:&lt;br /&gt;
   This is what you MUST avoid. &lt;br /&gt;
   QColorDialog::getColor ( Qt::white, 0 )&lt;br /&gt;
   &lt;br /&gt;
   Remember to setup a parent&lt;br /&gt;
   QColorDialog::getColor ( Qt::white, this )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;QPrinter and QPrintDialog&#039;&#039;&#039;&lt;br /&gt;
   Print support has been removed from Maemo Qt.&lt;br /&gt;
   Application compiled with old libs are still binary compatible with the new libs but they crash when a removed component is called.&lt;br /&gt;
 &lt;br /&gt;
   Nokia: /home/user# ./textedit &lt;br /&gt;
./textedit: symbol lookup error: ./textedit: undefined symbol: _ZN8QPrinterC1ENS_11PrinterModeE&lt;br /&gt;
&lt;br /&gt;
   &#039;&#039;&#039;System tray support&#039;&#039;&#039;&lt;br /&gt;
   System tray is not available anymore in Fremantle. That support has been removed from Qt too.&lt;br /&gt;
   Hence QSystemTrayIcon class is not available anymore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Image:Helmet.png]] Contributing to the Maemo Qt Project ==&lt;br /&gt;
&lt;br /&gt;
Maemo Qt is a community project. Contributing to the forum, sending us patches, give us feedbacks, tracking bugs are all activities that help us to improve the quality of our work.&lt;br /&gt;
&lt;br /&gt;
Here there is a list of things that every person interested in helping us should read.&lt;br /&gt;
&lt;br /&gt;
===Be updated===&lt;br /&gt;
Any Maemo Qt developer should be updated and should participate to the discussions, for that he must join the Mailing list.&lt;br /&gt;
BTW the mailing list is not for Maemo Qt Developers but it&#039;s open to Maemo Qt application developers too.&lt;br /&gt;
&lt;br /&gt;
=== Introduction to Git ===&lt;br /&gt;
If you are a git newbie you maybe find interesting these links:&lt;br /&gt;
* http://www.sourcemage.org/Git_Guide&lt;br /&gt;
* http://www.gitcasts.com/&lt;br /&gt;
* http://www.gnome.org/~newren/eg/git-for-svn-users.html&lt;br /&gt;
* Using the git protocol through a HTTP CONNECT proxy: http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/&lt;br /&gt;
&lt;br /&gt;
===Understanding the structure of our Git repository===&lt;br /&gt;
These info are here:[[Qt Maemo Git Process]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
Make sure each scratchbox target has&lt;br /&gt;
&lt;br /&gt;
  fakeroot apt-get build-dep libqt4-gui&lt;br /&gt;
&lt;br /&gt;
(you may need to apt-get install libgl-dev too as it&#039;s not in the Build-Depends: yet)&lt;br /&gt;
&lt;br /&gt;
===Building Qt from GIT rep===&lt;br /&gt;
&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Copy the remote 4.5 branch in your workingcopy&lt;br /&gt;
 git checkout -b 4.5 origin/4.5&lt;br /&gt;
&lt;br /&gt;
* Checkout ONE of these branches: &lt;br /&gt;
 git checkout -b qt-diablo    origin/qt-diablo&lt;br /&gt;
 git checkout -b qt-n900 origin/qt-n900&lt;br /&gt;
 git checkout -b qt-mer       origin/qt-mer&lt;br /&gt;
&lt;br /&gt;
* Build the packages:&lt;br /&gt;
 dpkg-buildpackage -rfakeroot -b&lt;br /&gt;
&lt;br /&gt;
===Checking out all the remote branches===&lt;br /&gt;
* Clone the repository:&lt;br /&gt;
 git clone git://gitorious.org/+qt-maemo-developers/qt/qt-maemo.git &lt;br /&gt;
or if you are a member of our team:&lt;br /&gt;
 git clone git@gitorious.org:+qt-maemo-developers/qt/qt-maemo.git&lt;br /&gt;
&lt;br /&gt;
* Change dir&lt;br /&gt;
 cd qt-maemo&lt;br /&gt;
&lt;br /&gt;
* Check out our script branch &lt;br /&gt;
 git checkout -b maemo-qt-scripts origin/maemo-qt-scripts&lt;br /&gt;
&lt;br /&gt;
* Save a copy of the script outside the working directories&lt;br /&gt;
 cp maemo-qt-scripts/copy-all-remote-branches-locally/copy.sh ../&lt;br /&gt;
&lt;br /&gt;
* Launch the copy.sh script&lt;br /&gt;
 ../copy.sh&lt;br /&gt;
&lt;br /&gt;
===Commit changes in SVN [OLD]===&lt;br /&gt;
&lt;br /&gt;
If you are a Maemo Qt developer and you want to save your changes in the Garage SVN but your project is not ready to go to the main line (trunk/qt-x11), you should create a private branch and then work there until the merging with the mainline.&lt;br /&gt;
&lt;br /&gt;
For that you have to create a your directory in branches/ named &#039;&#039;developer_name-qt&#039;&#039;. After that you can copy trunk/qt-x11 in your directory.&lt;br /&gt;
 svn copy --username developer_name https://garage.maemo.org/svn/qt4/trunk/qt-x11 https://garage.maemo.org/svn/qt4/branches/developer_name-qt -m &amp;quot;Creating private branch of trunk/qt-x11&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOTE: Subversion uses cheap copy, so them don&#039;t increase the size of the repository. Then feel free to create your own branch.&lt;br /&gt;
&lt;br /&gt;
===Merging branches changes in the mainline [OLD]===&lt;br /&gt;
&lt;br /&gt;
Before to merge your changes in the mainline, the code must be full working, cleaned and tested. A review from another developer is also needed in order to reduce the possibility to add errors.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Image:Help-contents.png]] F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt application for ARMEL, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 /targets/FREMANTLE_X86/usr/include/qt4/QtCore/qatomic_i386.h:127: error: impossible constraint in &#039;asm&#039;&lt;br /&gt;
&lt;br /&gt;
You are using x86 include files, then you have to update your Makefile. Running &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; before &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a Qt packcage for x86, but I got the error below. What&#039;s wrong? ===&lt;br /&gt;
&lt;br /&gt;
 In file included from maemo/gconfsymbols.cpp:41:&lt;br /&gt;
 maemo/gconfsymbols_p.h:49:25: gconf/gconf.h: No such file or directory&lt;br /&gt;
&lt;br /&gt;
Your scratchbox does not have &amp;lt;code&amp;gt;/bin/sh&amp;lt;/code&amp;gt;, so when calling &amp;lt;code&amp;gt;pkg-config&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CFLAGS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;LIBS&amp;lt;/code&amp;gt; are not set correctly. Running &amp;lt;code&amp;gt;ln -s /scratchbox/tools/bin/sh /bin/sh&amp;lt;/code&amp;gt; will be solve this issue.&lt;br /&gt;
&lt;br /&gt;
=== I&#039;m trying to compile a diablo Qt package, so I just created a symbolic link, debian, for debian.diablo, and then run dpkg-buildpackage command, but I got a build error because the symbolic link was deleted. ===&lt;br /&gt;
&lt;br /&gt;
When running dpkg-buildpackage, all symbolic links will be deleted, so need to rename the folder from debian.diablo to debian to make a build of diablo Qt package.&lt;br /&gt;
&lt;br /&gt;
=== I installed Qt (libqt4-dev) to scratchbox and tried to build a sample application, but I got the error because some header files such as qhildonstyle.h, and qvfbhdr.h etc. were missing. ===&lt;br /&gt;
&lt;br /&gt;
libqt4-dev should copy all header files, but now, at least in 4.5.2-1maemo1, some files are missing. Please download file below and extract to your scratchbox system.&lt;br /&gt;
&lt;br /&gt;
http://qt4.garage.maemo.org/patches/qt4-missing-header.tgz&lt;br /&gt;
&lt;br /&gt;
===Installing Qt on N900===&lt;br /&gt;
If you have already a fremantle device then you can install new Qt packages from extras-devel.&lt;br /&gt;
The step to follow are:&lt;br /&gt;
* Free space&lt;br /&gt;
* echo &amp;quot;deb http://repository.maemo.org/extras-devel/ fremantle free non-free&lt;br /&gt;
&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list.d/hildon-application-manager.list&lt;br /&gt;
* apt-get install libqt4-gui&lt;br /&gt;
The basic packages will be so installed.&lt;br /&gt;
&lt;br /&gt;
Current known issues:&lt;br /&gt;
*  libqt4-opengl depends by libgles2, but it is not installable anymore.Has it been replaced with libgles2-sgx-img?&lt;br /&gt;
&lt;br /&gt;
===Where are the Hildon Widgets for Qt===&lt;br /&gt;
Short answer : they&#039;ve not been written.... yet.&lt;br /&gt;
&lt;br /&gt;
Qt allows you to create your own widgets very easily. However, in order to provide as consistent an appearance as possible for the Maemo platform the community will be creating a set of [[/Qt Hildon Widgets|Qt Hildon Widgets]]&lt;br /&gt;
&lt;br /&gt;
===Is it yet possible to create Fremantle desktop widgets using Qt?===&lt;br /&gt;
Since desktop applet are libraries (.so files) then it&#039;s not so simple making Qt desktop applet.&lt;br /&gt;
&lt;br /&gt;
At moment I didn&#039;t investigate for a solution.. but it&#039;s possible (I tried it) to put Qt Widgets into the desktop just changing the Window Type of the widget (eg a QDialog) with the right Window Type.&lt;br /&gt;
&lt;br /&gt;
Then a Qt application can put widgets in the hildon-desktop but the &amp;quot;applet manager&amp;quot; that loads the desktop widgets doesn&#039;t recognize them as applet, then it doesn&#039;t manage Qt home applets.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Qt]]&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Qt4_Hildon/Qt_Hildon_Widgets&amp;diff=34212</id>
		<title>Qt4 Hildon/Qt Hildon Widgets</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Qt4_Hildon/Qt_Hildon_Widgets&amp;diff=34212"/>
		<updated>2009-10-04T15:30:29Z</updated>

		<summary type="html">&lt;p&gt;82.181.173.103: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Qt for Hildon won&#039;t provide a set of composite widgets similar to those provided in Gtk Hildon. They will be part of an extra library.&lt;br /&gt;
&lt;br /&gt;
This page is intended to link to resources to help the community develop these widgets.&lt;br /&gt;
&lt;br /&gt;
Note that they will not be part of Qt as such, but will be optional widgets to aid developing applications for Maemo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For details about Maemo 5 user experience, see:&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/eb8a68ba-6225-4d84-ba8f-a00e4a05ff6f/Hildon_2_2_UI_Style_Guide.html Hildon 2.2 UI Style Guide]&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/019c2b31-3777-49a0-9257-970d79580756/Hildon_2_2_Widget_UI_Specification.html Hildon 2.2 Widget UI Specification]&lt;br /&gt;
* [http://www.forum.nokia.com/info/sw.nokia.com/id/e778ba1f-2507-4672-be45-798359a3aea7/Fremantle_Master_Layout_Guide.html Fremantle Master Layout Guide]&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines Maemo 5 Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Graphical_UI_Tutorial Maemo 5 Graphical UI Tutorial]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following existing Qt Widgets have issues with Maemo 5 theming/Maemo 5 UI Style:&lt;br /&gt;
* Toolbar does not have correct height [Toolbar sizeHint is 48px] =&amp;gt; Visual height should be 70px in Maemo 5.&lt;br /&gt;
* Toolbar icons do not have correct size (HILDON_ICON_SIZE_FINGER) &lt;br /&gt;
* &amp;lt;s&amp;gt;Dialogs do not have finger size buttons (HILDON_SIZE_FINGER_HEIGHT)&amp;lt;/s&amp;gt;&lt;br /&gt;
* Dialogs do not theme dialog buttons as such (different theme from normal buttons)&lt;br /&gt;
* Dialogs have type icons (e.g. warning) where has in Maemo 5 use of those icons is not allowed.&lt;br /&gt;
* &amp;lt;s&amp;gt;Dialog buttons should stack on top of each other, but currently they layout themselves horizontally&amp;lt;/s&amp;gt;&lt;br /&gt;
* Checkboxes should be embedded into button =&amp;gt; Checkboxbutton. [Checkable QPushButton have to be themed or this will be part of an extra lib]&lt;br /&gt;
* &amp;lt;s&amp;gt;keyboard accelerator hints (underscores) are being shown, while Maemo 5 UI Style requires them to be hidden&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Stock dialogs use button strings such as &amp;quot;OK&amp;quot; and &amp;quot;Cancel&amp;quot;, which are forbidden in Maemo 5 UI Style. &amp;quot;OK&amp;quot; should be replaced with an action string or with &amp;quot;Done&amp;quot;.&amp;lt;s&amp;gt; The &amp;quot;Cancel&amp;quot; should be removed, as dialogs are cancelled by tapping outside of the dialog.&amp;lt;/s&amp;gt;&lt;br /&gt;
* stock &amp;quot;Exit&amp;quot; command should be removed from the menus. It is not allowed in Maemo 5 UI Style. [Legacy menus should not be used]&lt;br /&gt;
* &amp;lt;s&amp;gt;Sliders/Scales&amp;lt;/s&amp;gt; &lt;br /&gt;
* &amp;lt;s&amp;gt;Button heights? [minimal pushbutton height sizeHints is set by the style to 65px]&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;Text input fields&amp;lt;/s&amp;gt; [Style is okay]&lt;br /&gt;
* text areas(?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following important Hildon widgets need the respective Qt Hildon widget (in priority order):&lt;br /&gt;
* &amp;lt;s&amp;gt;Sub views ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Windows description]) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-stackable-window.h;hb=HEAD HildonStackableWindow] ([http://qt.gitorious.org/+qt-maemo-developers/qt/qt-maemo/commits/patch-hildon.stacked.windows-fremantle])&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;view menu ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/View_Menu description], filter buttons) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-app-menu.h;hb=HEAD HildonAppMenu] (NOTE: this is not at all same widget as the legacy application menu in Gtk or Maemo 4) &amp;lt;/s&amp;gt;&lt;br /&gt;
* Edit mode toolbar ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Edit_Toolbar description]) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-edit-toolbar.h;hb=HEAD HildonEditToolbar] [This could be part of our Qt Hildon Extra lib]&lt;br /&gt;
* Action buttons for pannable lists ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Redesigning_From_Maemo_4_to_Maemo_5#Accounts_view example]) - [https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/gtk%2B/gtk/gtktreeview.h?root=maemo&amp;amp;view=markup hildon_tree_view_get_action_area_box etc. in Maemo GtkTreeview][will be part of the extra Qt lib or you can use a QPushButton and load the &amp;quot;+&amp;quot; icon by yourself]&lt;br /&gt;
* Picker buttons ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Picker_Button description], see also HildonTouchSelector) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-picker-button.h;hb=HEAD HildonPickerButton][will be part of the extra Qt lib]&lt;br /&gt;
* list selectors ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Touch_Selectors description], single column, multi column, single selection, multiselection, picker with entry, with images) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-touch-selector.h;hb=HEAD HildonTouchSelector][will be part of the extra Qt lib]&lt;br /&gt;
* Date picker ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Date_Button description], including column re-layout based on locale data) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-date-button.h;hb=HEAD HildonDateButton][will be part of the extra Qt lib]&lt;br /&gt;
* Time picker ([http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Controls#Time_Button description], including AM/PM support based on user setting) - [https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-time-button.h;hb=HEAD HildonTimeButton][will be part of the extra Qt lib]&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon banner&amp;lt;/s&amp;gt; [part of the extra lib http://gitorious.org/qt-maemo/qmaemo-ext-libs/commit/f05642e2faa8a0bdef1f7d6f0cc004e825abba8a]&lt;br /&gt;
* hildon confirmation note&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon dialog (with buttons on the bottom right side in landscape)&amp;lt;/s&amp;gt;&lt;br /&gt;
* &amp;lt;s&amp;gt;hildon entry (including the possibility for placeholder text)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following QT toolkit widgets are not optimized for mobile ui, and consequently are not finger usable on high DPI touchscreens like Nokia N900.&lt;br /&gt;
* &amp;lt;s&amp;gt;QColorDialog&amp;lt;/s&amp;gt; [Qt dialog has been modified in order to be usable with fingers]&lt;br /&gt;
* &amp;lt;s&amp;gt;QFontDialog&amp;lt;/s&amp;gt; [Qt dialog has been modified in order to be usable with fingers]&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These links may be of use:&lt;br /&gt;
* Discussion thread starting [http://www.mail-archive.com/maemo-developers@maemo.org/msg20237.html about here]&lt;br /&gt;
* http://maemomm.garage.maemo.org/docs_unstable/tutorial/figures/&lt;br /&gt;
* https://bugs.maemo.org/show_bug.cgi?id=4625&lt;br /&gt;
* https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=summary&lt;br /&gt;
* [[Using Fremantle Widgets]] and the [[Talk:Using Fremantle Widgets|talk]] page&lt;/div&gt;</summary>
		<author><name>82.181.173.103</name></author>
	</entry>
</feed>