<?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=124.6.181.161</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=124.6.181.161"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/124.6.181.161"/>
	<updated>2026-04-22T01:03:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=QML&amp;diff=33948</id>
		<title>QML</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=QML&amp;diff=33948"/>
		<updated>2012-01-26T10:32:56Z</updated>

		<summary type="html">&lt;p&gt;124.6.181.161: /* Building Qt 4.6 with QML */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Qt]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
== QML on N900 ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
QML is the latest experimental feature based on Qt 4.6. If you don&#039;t know QML yet, probably you would like to look at demo [http://labs.trolltech.com/blogs/2009/11/04/qt-declarative-binaries/ here].&lt;br /&gt;
&lt;br /&gt;
It&#039;s a Javascript like language and allow you to build your own application rapidly. And yes, you don&#039;t need to really care about your development platform too much. All you need to do is using QmlViewer to examine your code. That&#039;s pretty much the same when you run on the device (though might be slightly different because of resolution and performance. And note that currently it&#039;s still highly experimental!)&lt;br /&gt;
&lt;br /&gt;
A small example on QML use [[QML-EnhancedCalcExample]]&lt;br /&gt;
&lt;br /&gt;
== QtScript ==&lt;br /&gt;
[http://doc.trolltech.com/4.6/qtscript.html Qt Script 4.6]&lt;br /&gt;
&lt;br /&gt;
[http://qt.linux-life.net/4/doc/ja/porting-qsa.html Tutorial on Qt Scripting]&lt;br /&gt;
&lt;br /&gt;
=== Binary Package ===&lt;br /&gt;
Binary package is available on [[Extras-devel|extras-devel]] now:&lt;br /&gt;
* libqt4-maemo5-declarative: The QtDeclarative library&lt;br /&gt;
* libqt4-maemo5-declarative-dev: The development package, contains the headers for QtDeclarative&lt;br /&gt;
* libqt4-maemo5-declarative-dbg: The debugging symbols, for more meaningful backtraces&lt;br /&gt;
* qt4-maemo5-declarative-qmlviewer: The “player” for QML based apps&lt;br /&gt;
* qt4-maemo5-samegame: The SameGame demo&lt;br /&gt;
&lt;br /&gt;
To install qt4-maemo5-samegame example, simple type the command within your console with root permission:&lt;br /&gt;
&amp;lt;code&amp;gt;apt-get install qt4-maemo5-samegame&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Building Qt 4.6 with QML ===&lt;br /&gt;
To build Qt with QML support on N900, you need a 32-bit Linux box (better choice is Ubuntu, I am using Karmic, but you can use other versions as well).&lt;br /&gt;
&lt;br /&gt;
I assumed you &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.phuketproperty.com/&amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;Phuket property&amp;lt;/span&amp;gt;] already have Maemo SDK running (also Nokia closed binary with SGX). Now it&#039;s time to download [http://qt.gitorious.org/+qt-kinetic-developers/qt/kinetic/commits/kinetic-declarativeui Qt-declarative UI branch].&lt;br /&gt;
&lt;br /&gt;
Once you unpack it within your scratchbox, say &#039;&#039;~/qt-kinetic&#039;&#039;, create a build directory &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.andrewflusche.com/services/fredericksburg-dui-lawyer/&amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;Fredericksburg DUI lawyer&amp;lt;/span&amp;gt;] anywhere you like, e.g.: &#039;&#039;~/qt-build&#039;&#039;, then do the following within scratchbox: &lt;br /&gt;
&lt;br /&gt;
# Execute &amp;lt;code&amp;gt; export PKG_CONFIG_PATH=/usr/lib/pkgconfig; export PKG_CONFIG_SYSROOT=/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Edit &#039;&#039;~/qt-kinetic/mkspecs/common/g++.conf&#039;&#039;, and remove &amp;lt;code&amp;gt; -fvisibility=hidden -fvisibility-inlines-hidden&amp;lt;/code&amp;gt;, otherwise qemu would crash during compiling.&lt;br /&gt;
# Configure Qt with &amp;lt;code&amp;gt;~/qt-kinetic/configure -platform linux-g++ -release -opengl es -webkit -force-pkg-config --prefix=/opt/qt&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It will take a whole day to compile this sexy devil. Make sure you have brewed the coffee. In case of running into linking problem (or you have trouble to pass EGL test), please try &amp;lt;code&amp;gt;export SUBLIBS=&#039;-lX11 -lXau -lEGL -lGLESv2 ...&#039;&amp;lt;/code&amp;gt;, throwing whatever GCC complains what&#039;s missing (I left my laptop in the office, forgive me I am typing this in my plain memory).&lt;br /&gt;
&lt;br /&gt;
Now, you should have the Qt 4.6 DUI binary sitting in your scratchbox. You can either copy those binaries under &#039;&#039;/opt/qt&#039;&#039; to your device or mount it as NFS.&lt;br /&gt;
&lt;br /&gt;
=== Test Run on Device ===&lt;br /&gt;
On this stage, you should be able to write your first QML application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#include &amp;lt;QtGui/QApplication&amp;gt;&lt;br /&gt;
#include &amp;lt;QmlView&amp;gt;&lt;br /&gt;
#include &amp;lt;QUrl&amp;gt;&lt;br /&gt;
#include &amp;lt;QGLWidget&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char *argv[])&lt;br /&gt;
{&lt;br /&gt;
    QApplication a(argc, argv);&lt;br /&gt;
&lt;br /&gt;
    QmlView *canvas = new QmlView;&lt;br /&gt;
    QGLFormat format = QGLFormat::defaultFormat();&lt;br /&gt;
    format.setSampleBuffers(false);&lt;br /&gt;
    QGLWidget *glWidget = new QGLWidget(format); // make QmlView use OpenGL ES2 backend.&lt;br /&gt;
    glWidget-&amp;gt;setAutoFillBackground(false);&lt;br /&gt;
    canvas-&amp;gt;setViewport(glWidget);&lt;br /&gt;
    canvas-&amp;gt;setUrl(QUrl::fromLocalFile(&amp;quot;/home/user/demos/declarative/flickr/flickr-desktop.qml&amp;quot;)); // wherever your qml file is.&lt;br /&gt;
    canvas-&amp;gt;execute();&lt;br /&gt;
    canvas-&amp;gt;show();&lt;br /&gt;
&lt;br /&gt;
    return a.exec();&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you will see the program running as same as this [http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui/ demo].&lt;br /&gt;
&lt;br /&gt;
Some screenshots running on N900:&lt;br /&gt;
&lt;br /&gt;
[[Image:Screenshot1.png|400px]]&lt;br /&gt;
[[Image:Screenshot2.png|400px]]&lt;br /&gt;
[[Image:Screenshot3.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Conclusion ===&lt;br /&gt;
&lt;br /&gt;
Finally, here are some few notices / limitation of current Qt4.6-QML:&lt;br /&gt;
* Performance is not that great yet. You may suffer some tearing issues. Write your Qt app in full screen mode will give you some boost. Another alternative is turning off hildon-desktop (gives you 40-50 fps on the device):&lt;br /&gt;
 $ dsmetool -k /usr/bin/hildon-desktop&lt;br /&gt;
To turn back on:&lt;br /&gt;
 $ dsmetool -t /usr/bin/hildon-desktop&lt;br /&gt;
* On PR1.1 and onwards all fullscreen applications are automatically non-composited, so no trickery like the above is needed on N900 once that drops to end users devices. &lt;br /&gt;
* Document is bundle inside the source tree. Execute the following command will generate proper document for you:&lt;br /&gt;
 $ make docs&lt;br /&gt;
* &amp;lt;code&amp;gt;-webkit&amp;lt;/code&amp;gt; may crash your qmlviewer under N900 if you wish to try. That&#039;s why I wrote the code with QmlView binding. If you want to play with qmlviewer, please remove &amp;lt;code&amp;gt;-webkit&amp;lt;/code&amp;gt; from your configuration.&lt;br /&gt;
* All credits go to Qt team. Thanks for their help on technical support. If you have any questions / comments, please don&#039;t hesitate to visit [http://labs.trolltech.com/page/Projects/Graphics/Kinetic QML Team] and give response.&lt;br /&gt;
* Happy hacking!&lt;br /&gt;
&lt;br /&gt;
=== External Link ===&lt;br /&gt;
* [http://labs.trolltech.com/blogs/2009/12/17/qt-declarative-for-maemo-5/ Qt Labs Blogs: Qt Declarative for Maemo 5]&lt;br /&gt;
* [http://labs.trolltech.com/forums/forum/14 Qt Declarative UI Team Forum]&lt;/div&gt;</summary>
		<author><name>124.6.181.161</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer&amp;diff=23002</id>
		<title>Mer</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer&amp;diff=23002"/>
		<updated>2011-07-19T03:45:54Z</updated>

		<summary type="html">&lt;p&gt;124.6.181.161: /* Former goals */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: absolute; z-index: 0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;Image:Mer-faded-background.png|631px&lt;br /&gt;
rect 0 0 0 0 [[Mer]]&lt;br /&gt;
desc none&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;z-index: 3; position: absolute; top: 42px; left: 180px; color: #fff; font-style: italic; font-family: Georgia, serif; line-height: 1.5em; font-size: 1.8em; width: 360px&amp;quot;&amp;gt;An open, community-led, Linux distribution for mobile devices&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left: 18px; z-index: 4; margin-right: 4em&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; padding-top: 120px; margin-right: 10em; margin-bottom: 2em&amp;quot;&amp;gt;&lt;br /&gt;
== [[/Goals|Former goals]] ==&lt;br /&gt;
&lt;br /&gt;
Mer is now an inactive project, due to the introduction of the MeeGo (http://www.meego.com) project which shares a similar mission &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.diamondlinks.net/ &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;link building&amp;lt;/span&amp;gt;] as Mer. Mer was a community research project into an open and openly developed Maemo platform.&lt;br /&gt;
&lt;br /&gt;
* Integrate the best solutions for a wide variety of small form-factor devices&lt;br /&gt;
* Encourage wider access to device capabilities through the Vendor Social Contract&lt;br /&gt;
* [http://www.allwritingsource.co.uk/essay-writing-service.php UK Essay Writing]&lt;br /&gt;
* Demonstrably provide an easy route to market for vendors&lt;br /&gt;
* Dramatically reduce costs to vendors of supporting EOL hardware&lt;br /&gt;
* Focus, harness and support community contributions to the platform&lt;br /&gt;
* Encourage and ease migration of existing applications&lt;br /&gt;
* [http://www.allwritingsource.co.uk/university-essays.php University Essays]&lt;br /&gt;
* [http://www.essaymojo.co.uk/Essay-writing.php/ Essays Help]&lt;br /&gt;
* [http://www.essaymojo.co.uk/essay-service.php/ UK Essay Writing]&lt;br /&gt;
* Support experimentation, innovation and development&lt;br /&gt;
&lt;br /&gt;
or, to put it another way:&lt;br /&gt;
&lt;br /&gt;
* As much of Fremantle as we can get on the N8x0&lt;br /&gt;
&lt;br /&gt;
We&#039;re hanging out on #mer on FreeNode IRC (irc.freenode.net) if you would like to discuss Mer (here&#039;s a [http://webchat.freenode.net/?channels=Mer web based IRC client]) and you can follow all the chat on the [http://tinyurl.com/ngroq8 IRClog] [http://www.assignmentmojo.co.uk/assignment-writing-service/ Assignment Writing]||[http://www.essayinn.co.uk/ Essay Writing]||[http://www.essayinn.co.uk/university-essay/ University Essays].&lt;br /&gt;
&lt;br /&gt;
Read [[Mer/Documentation|Documentation]] / Development [[Mer/Status|Status]].&lt;br /&gt;
&lt;br /&gt;
See [[/Tasks|tasks]], [[/Blueprints|blueprints]], [[/Proposals|proposals]] and [[/User Reactions|user reactions]] for the project.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right; clear: both; width: 35%&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Latest activity ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 85%; line-height: 1.3em&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;Image:RSS_feed.png|12px|left&lt;br /&gt;
rect 0 0 12 12 [http://pipes.yahoo.com/pipes/pipe.run?_id=qJEaF4Xp3RGPv3S1rLQIDg&amp;amp;_render=rss]&lt;br /&gt;
desc none&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
From [http://n2.nabble.com/Mer-Chatter-f2732813.html mer-chatter] and [http://planet.maemo.org planet.maemo.org]:&lt;br /&gt;
&amp;lt;rss title=&amp;quot;off&amp;quot; desc=&amp;quot;off&amp;quot; number=&amp;quot;8&amp;quot; time=&amp;quot;3600&amp;quot;&amp;gt;http://pipes.yahoo.com/pipes/pipe.run?_id=qJEaF4Xp3RGPv3S1rLQIDg&amp;amp;_render=rss&amp;lt;/rss&amp;gt;&lt;br /&gt;
[http://www.assignmentmojo.co.uk Assignment Writing Help]&lt;br /&gt;
[http://www.mightydesigners.com Logo Design Competition]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; clear: left; width: 60%; border-right: 1px solid #bbb; padding-right: 2em&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What next? ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left&amp;quot;&amp;gt;&amp;lt;imagemap&amp;gt;Image:Mer-button-about.png|255px&lt;br /&gt;
rect 0 0 255 106 [[Mer/About|About: Learn more about Mer, this new Linux/Gnu distribution, and its history.]]&lt;br /&gt;
desc none&amp;lt;/imagemap&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left&amp;quot;&amp;gt;&amp;lt;imagemap&amp;gt;Image:Mer-button-download.png|255px&lt;br /&gt;
rect 0 0 255 106 [[Mer/Releases|Download: Get the latest release of Mer on your device or PC.]]&lt;br /&gt;
desc none&amp;lt;/imagemap&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left&amp;quot;&amp;gt;&amp;lt;imagemap&amp;gt;Image:Mer-button-people.png|255px&lt;br /&gt;
rect 0 0 255 106 [[Mer/People|People: Join the Mer community, and find out who’s already involved.]]&lt;br /&gt;
desc none&amp;lt;/imagemap&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left&amp;quot;&amp;gt;&amp;lt;imagemap&amp;gt;Image:Mer-button-development.png|255px&lt;br /&gt;
rect 0 0 255 106 [[Mer/Sprints|Development: Enhance Mer itself, and develop applications.]]&lt;br /&gt;
desc none&amp;lt;/imagemap&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;height: 60em&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>124.6.181.161</name></author>
	</entry>
</feed>