<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
Yes, orientation support is not included in Alpha SDK. We hope to include it in the future.<br>
<br>
re, Jonni<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF670454"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Seppo Tiainen [seppo.tiainen@gmail.com]<br>
<b>Sent:</b> Thursday, May 02, 2013 9:34 AM<br>
<b>To:</b> Jonni Rainisto<br>
<b>Cc:</b> devel@lists.sailfishos.org<br>
<b>Subject:</b> Re: [SailfishDevel] QML support of Multitouch<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">In addtition to generating touch events (multi or single), it seems it is not possible to change the device orientation in the SDK's Sailfish OS Emulator either. Is this true or is there a way to test switching between portrait and landscape
orientations?<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/3/24 Seppo Tiainen <span dir="ltr"><<a href="mailto:seppo.tiainen@gmail.com" target="_blank">seppo.tiainen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Still, being able generate touch events in the next update of QtCreator's Sailfish OS Emulator would surely be welcomed by many...<span class="HOEnZb"><font color="#888888"><br>
<br>
Seppo</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
<div class="gmail_quote">2013/3/20 Seppo Tiainen <span dir="ltr"><<a href="mailto:seppo.tiainen@gmail.com" target="_blank">seppo.tiainen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi Lucien and Jonni,<br>
<br>
Thanks for your help guys. I appreciate very much having your advice and a working framework which I can use as a starting point while porting my app to Sailfish OS.<span><font color="#888888"><br>
<br>
Seppo</font></span>
<div>
<div><br>
<br>
<div class="gmail_quote">2013/3/19 Jonni Rainisto <span dir="ltr"><<a href="mailto:jonni.rainisto@jollamobile.com" target="_blank">jonni.rainisto@jollamobile.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi Seppo,<br>
<br>
Lauri's example should work pretty much unmodified, and I did a very quick hack Sailfish example code in gitorious:<br>
<br>
<a href="https://gitorious.org/sailfishtouchexample/sailfishtouchexample" target="_blank">https://gitorious.org/sailfishtouchexample/sailfishtouchexample</a><br>
<br>
That seems to work at least on those armhf Sailfish devices that I have access to. For SDK that example does not work, since currently SDK does not report any QTouchEvents, ie. SDK only reports mouse events. But if at some point there is armhf rootfs released,
then it might be useful to you. And I only tested portrait mode, one might or might not need to do some x y tweaking for mapping raw events other QML orientations.<br>
<br>
re, Jonni<br>
________________________________________<br>
From: <a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.sailfishos.org</a> [<a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.sailfishos.org</a>] on behalf of Lucien XU [<a href="mailto:sfietkonstantin@free.fr" target="_blank">sfietkonstantin@free.fr</a>]<br>
Sent: Wednesday, March 13, 2013 10:18 PM<br>
To: <a href="mailto:devel@lists.sailfishos.org" target="_blank">devel@lists.sailfishos.org</a><br>
Subject: Re: [SailfishDevel] QML support of Multitouch<br>
<div>
<div><br>
Hello Seppo,<br>
<br>
Instead of subclassing QmlApplicationViewer, did you ever tried to just<br>
subclass a QDeclarativeView, and add the given code from your link to that<br>
subclass ? It should work.<br>
<br>
Cheers,<br>
Lucien<br>
<br>
Le mercredi 6 mars 2013 10:48:15 Seppo Tiainen a écrit :<br>
> What I have been missing most in QML is multitouch support. Only Qt 5.0 has<br>
> QML MultiPointTouchArea but Sailfish is using Qt 4.8. In Harmattan, I was<br>
> able to read multiple touch points by Lauri Jääskeläinen's QmlMultiTouch<br>
> code (<br>
> <a href="http://www.developer.nokia.com/Community/Blogs/blog/lauri-jaaskelas-forum-no" target="_blank">
http://www.developer.nokia.com/Community/Blogs/blog/lauri-jaaskelas-forum-no</a><br>
> kia-blog/2011/02/03/raw-multitouch-pointer-events-in-qml) where a new class<br>
> (TouchApplicationViewer) is inherited from<br>
> QmlApplicationViewer, and viewportEvent(QEvent*) method is reimplemented.<br>
> The code also implements a class MultiTouch which exposes a list of touch<br>
> points to QML.<br>
><br>
> Now that I'm planning to port my app from Harmattan to Sailfish I'm having<br>
> problems dealing with view and installing multitouch in main.cpp of<br>
> Sailfish/Silica. Any ideas how to do that? Or, would it be possible to have<br>
> a TouchArea library or plugin for Sailfish QtCreator (next update)? I think<br>
> being able to easily deal with multiple touch points in QML is one of the<br>
> key features needed while developing interesting Qt apps for modern<br>
> smartphones. A sample code for main.cpp or Sailfish QtCreator lib<br>
> upgrade/plugin would be great!<br>
><br>
> - tiptyper<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>