Qt-Maemo: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>amigadave
add logo
 
(46 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__


=[[Image:Kblogger.png‎ ]] News=
[[Image:QtLogos.png|thumb|200px|right|alt=Qt banner|Qt]]
<div id="news"><div class="tm"><div class="bm"><div class="lm"><div class="rm"><div class="tl"><div class="tr"><div class="bl"><div class="br">
<ul class="recent">
  <li class="first">
  </li>
  <li>
      <b>11 Dec 09</b> - 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]
  </li>
</ul>
</div></div></div></div></div></div></div></div></div>
<br>
<br>
.


=[[Image:Intro.png]] What is Qt?=
==News==
Qt (pronounced as the English word "cute") is a cross-platform application development framework.


It is produced by Nokia's Qt Development Frameworks division, which came into being after Nokia's acquisition of the Norwegian company Trolltech.
<b>7 May 10</b> - Qt 4.7 Beta1 packages for Maemo available [http://labs.trolltech.com/blogs/2010/05/06/new-experimental-qt-47-packages-for-the-n900/ read more]<br/>
<b>27 Apr 10</b> - [http://labs.trolltech.com/blogs/2010/04/27/qt-mobility-100-package/ Qt Mobility 1.0.0] is out but Maemo5 packages will be available after the PR 1.2. Extras-Devel still hosts old Mobility Beta packages.<br/>
<b>22 Mar 10</b> - Qt 4.6.2 has replaced Qt 4.5.3 in the SDK [[Maemo 5/PR1.2|PR 1.2]]. Run apt-get update && apt-get upgrade to update it.<br/>
<b>25 Feb 10</b> - [http://labs.trolltech.com/blogs/2010/02/24/qt-for-maemo-5-home-screen-widgets/ How to make Qt Desktop Widgets]<br/>
<b>15 Feb 10</b> - Qt 4.6.2 is out. Qt Mobility (beta1) packages are in extras-devel.<br/>
<b>20 Jan 10</b> - [http://www.anselmolsm.org/blog/qt-mobile-demos-in-extras-devel/ Qt Mobile Demos in extras-devel]<br/>
<b>19 Jan 10</b> - [http://qt.nokia.com/developer/qt-for-maemo-developers Qt 4.6 for Maemo 5 going Beta]<br/>
<b>15 Jan 10</b> - New Qt 4.5.3~git20090723-0maemo6 packages are now in Fremantle [[Maemo_5/PR1.1|PR 1.1]]<br/>
<b>22 Dec 09</b> - [[MADDE/Qt_Example|Qt example]] for [[MADDE]] ([http://talk.maemo.org/showthread.php?t=38075 talk thread])<br/>
<b>17 Dec 09</b> - [http://labs.trolltech.com/blogs/2009/12/17/qt-declarative-for-maemo-5/Qt declarative hits Maemo extras-devel repository]<br/>
<b>11 Dec 09</b> - Bye bye old static web pages.. all our pages are now in the Maemo Wiki. Old website is [http://qt4.garage.maemo.org/index-old.html here]<br/>


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.
==What is Qt?==


Distributed under the terms of the GNU Lesser General Public License (among others), Qt is free and open source software.
Qt (pronounced as the English word "cute") is a cross-platform application development framework. More information is available at the [http://qt.nokia.com/ Qt website].
<br>
<br>


=[[Image:Rocket.png]] Maemo Qt main features=
==Maemo Qt main features==
* Hildon Style
* Hildon Input Method
* Optimizations
* Hildon specific widget
** partial support in Qt 4.5
** Qt 4.6 will have full support
<br>
<br>


= Maemo Qt in Actions =
* Hildon Style, so applications look like Hildon/GTK+ applications
* Hildon Input Method, so applications can use the virtual keyboard
* Hildon-specific widgets
** Qt 4.6, in [[Maemo 5/PR1.2|Fremantle PR1.2]] has full support
 
== Maemo Qt in Action ==
* Diablo Maemo Qt
* Diablo Maemo Qt
  ADD_HERE_SOME_THUMBS
  ADD_HERE_SOME_PICS
* Fremantle Maemo Qt
* Fremantle Maemo Qt
  ADD HERE SOME THUMBS
  ADD HERE SOME PICS
 
=[[Image:Pda.png]] Supported Maemo devices=
* Nokia N800/N810 (OS2008/Maemo4.1/Diablo)
* Nokia N900 (OS2009/Maemo5/Fremantle)
<br>
<br>
 
=[[Image:Ktorrent.png‎ ]] Installing Qt=
 
<div id="news"><div class="tm"><div class="bm"><div class="lm"><div class="rm"><div class="tl"><div class="tr"><div class="bl"><div class="br">
<ul class="recent">
  <li class="first">
    <H3>N8x0</H3>
Supported Maemo version: 4.1 (Diablo)
 
Latest stable packages are into extras repository:<br>
deb http://repository.maemo.org/extras/ diablo free non-free
 
Testing packages are in extras-devel<br>
deb http://repository.maemo.org/extras-devel/ diablo free non-free
 
Install Qt binaries onto the device: <i>sudo gainroot && apt-get install libqt4-gui</i>
 
Install Qt binaries and development packages into the SDK:
<i>fakeroot apt-get install libqt4-dev</i>
  </li>
  <li class="">
    <H3>N900</H3>
Supported Maemo version: 5 (Fremantle)
 
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).
 
They are downloaded automatically when user install application packages that depends from those.


OVI store can host Maemo Qt Applications as well as other official Maemo repositories.
==Supported Maemo devices==


* [[Nokia N800]]/[[Nokia N810|N810]] (OS2008/Maemo4.1/[[Open development/Maemo roadmap/Diablo|Diablo]])
* [[Nokia N900]] (OS2009/Maemo5/[[Open development/Maemo roadmap/Fremantle|Fremantle]])


'''Qt 4.5 - community port''' core packages are already into the device.
==Installing Qt==


- Installing Qt binaries into the device: <i>sudo gainroot && apt-get install libqt4-gui</i>
Qt can be [[Qt4_development#Getting_started|installed in Scratchbox]] for development. For applications that use Qt and are installed via the application manager, the necessary Qt packages will automatically be installed.


- Installing Qt binaries and development packages in scratchbox: <i>fakeroot apt-get install libqt4-dev</i>
==Available and proposed Qt Applications==


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.. [[Qt4HildonApplications|this]] is the place you would like to check.


'''Qt 4.6''' is still underdevelopment. It's in extras-devel; To install Qt 4.6:
== Documentation==


- Add add extras-devel repository to /etc/apt/source.list. You can do that adding following line to that file.
=== Qt ===


<i>deb http://repository.maemo.org/extras-devel/ fremantle free non-free</i>
* [[Qt4 development]] developing with Qt for Maemo
* [[QML]]
* [[QtRuby]]
* [[PyQt Tips and Tricks]]


- Run <i>apt-get update</i>
=== Non-Qt documentation ===


- Install lib packages into the device with: <i>fakeroot apt-get install libqt4-maemo5-gui</i>
- Install dev packages into the SDK with: <i>fakeroot apt-get install libqt4-maemo5-dev</i>
Note:
- Qt 4.6tp is installed to /opt/qt4-maemo5
  </li>
</ul>
</div></div></div></div></div></div></div></div></div>.
<br>
<br>
=[[Image:Available-qtapps-32.png‎ ]]Available and proposed Qt Applications=
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;
<br>
<br>
=[[Image:Help-contents.png]] Docs=
Qt:
* [http://wiki.maemo.org/Qt4Hildon Qt 4 Hildon]
Non-Qt stuff:
* Fremantle:  
* Fremantle:  
** [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]
** [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]
Line 121: Line 63:
* Diablo
* Diablo
** ADD_SOMETHING_HERE
** ADD_SOMETHING_HERE
* Other Docs
** [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.
<br>
<br>


=[[Image:Bug.png]] Bug tracking=
=== Further reading ===
* Diablo & Fremanlte Qt 4.5 port
 
* [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
* [http://wiki.forum.nokia.com/index.php/Qt_for_Maemo_Developers_Guide Qt for Maemo Developers Guide, Forum Nokia]
* [http://www.forum.nokia.com/Tools_Docs_and_Code/Documentation/Maemo.xhtml Maemo documentation, mostly about Qt, Forum Nokia]
* [http://doc.trolltech.com/qt-maemo-4.6/how-to-learn-qt.html How to learn Qt, Trolltech]
* [http://qt.nokia.com/developer/books Books] listed at qt.nokia.com
* [http://talk.maemo.org/showthread.php?t=39879 Qt4 hello world with python in 30 minutes]
* [http://wiki.forum.nokia.com/index.php/Qt_application_for_Maemo_with_DBus_support Install D-Bus Service with Qt]
* [[University Course]] (in progress): A syllabus for teaching Qt as an intensive two-week course.
 
==Bug tracking==
 
* Diablo & Fremantle Qt 4.5 port
** [https://bugs.maemo.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Qt&content= View bug list]
** [https://bugs.maemo.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Qt&content= View bug list]
** [https://bugs.maemo.org/enter_bug.cgi?product=Qt Report a new bug]
** [https://bugs.maemo.org/enter_bug.cgi?product=Qt Report a new bug]
Line 135: Line 85:
** [http://bugreports.qt.nokia.com/secure/IssueNavigator.jspa?reset=true&&query=maemo&summary=true&description=true&body=true&environment=true&pid=10510 View bug list]
** [http://bugreports.qt.nokia.com/secure/IssueNavigator.jspa?reset=true&&query=maemo&summary=true&description=true&body=true&environment=true&pid=10510 View bug list]


=[[Image:Helmet.png]] Code=
==Code==
 
* Qt 4.5 (Diablo)
* Qt 4.5 (Diablo)
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo
** http://gitorious.org/+qt-maemo-developers/qt/qt-maemo
Line 142: Line 93:
* Qt 4.6 (Fremantle)
* Qt 4.6 (Fremantle)
** http://qt.gitorious.org/qt/x11-maemo
** http://qt.gitorious.org/qt/x11-maemo
<br>
<br>


=[[Image:Preferences-desktop-user.png]] Contacting us=
==Get Help==
 
* Forums
** [http://discussion.forum.nokia.com/forum/forumdisplay.php?f=220 Qt for Maemo Forum Nokia Discussion board]
** [https://garage.maemo.org/forum/?group_id=424 Old qt4.garage.maemo.org forum]
* IRC
* IRC
** Currently this is main and faster way to communicate with Qt 4.6 and Qt 4.5 developers.
** Official Qt for Maemo IRC Channel
** Click [http://webchat.freenode.net/?channels=qt-maemo here] to join the #qt-maemo channel in frenode (irc.freenode.net).
** Click [http://webchat.freenode.net/?channels=qt-maemo here] to join the #qt-maemo channel in frenode (irc.freenode.net).


Line 153: Line 106:
** [https://garage.maemo.org/mailman/listinfo/qt4-devel Click here to Subscribe to the Qt community ML]
** [https://garage.maemo.org/mailman/listinfo/qt4-devel Click here to Subscribe to the Qt community ML]


* Forums
[[Category:Qt]]
** [http://discussion.forum.nokia.com/forum/forumdisplay.php?f=220 Click here to enter Forum Nokia Discussion board]
** [https://garage.maemo.org/forum/?group_id=424 Click here to enter Old garage.maemo.org Forum]

Latest revision as of 10:54, 30 December 2010


Qt banner
Qt

News

7 May 10 - Qt 4.7 Beta1 packages for Maemo available read more
27 Apr 10 - Qt Mobility 1.0.0 is out but Maemo5 packages will be available after the PR 1.2. Extras-Devel still hosts old Mobility Beta packages.
22 Mar 10 - Qt 4.6.2 has replaced Qt 4.5.3 in the SDK PR 1.2. Run apt-get update && apt-get upgrade to update it.
25 Feb 10 - How to make Qt Desktop Widgets
15 Feb 10 - Qt 4.6.2 is out. Qt Mobility (beta1) packages are in extras-devel.
20 Jan 10 - Qt Mobile Demos in extras-devel
19 Jan 10 - Qt 4.6 for Maemo 5 going Beta
15 Jan 10 - New Qt 4.5.3~git20090723-0maemo6 packages are now in Fremantle PR 1.1
22 Dec 09 - Qt example for MADDE (talk thread)
17 Dec 09 - declarative hits Maemo extras-devel repository
11 Dec 09 - Bye bye old static web pages.. all our pages are now in the Maemo Wiki. Old website is here

What is Qt?

Qt (pronounced as the English word "cute") is a cross-platform application development framework. More information is available at the Qt website.

Maemo Qt main features

  • Hildon Style, so applications look like Hildon/GTK+ applications
  • Hildon Input Method, so applications can use the virtual keyboard
  • Hildon-specific widgets

Maemo Qt in Action

  • Diablo Maemo Qt
ADD_HERE_SOME_PICS
  • Fremantle Maemo Qt
ADD HERE SOME PICS

Supported Maemo devices

Installing Qt

Qt can be installed in Scratchbox for development. For applications that use Qt and are installed via the application manager, the necessary Qt packages will automatically be installed.

Available and proposed Qt Applications

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.. this is the place you would like to check.

Documentation

Qt

Non-Qt documentation

Further reading

Bug tracking

Code

Get Help