Hi,

Yes, orientation support is not included in Alpha SDK. We hope to include it in 
the future.

re, Jonni
________________________________
From: Seppo Tiainen [seppo.tiai...@gmail.com]
Sent: Thursday, May 02, 2013 9:34 AM
To: Jonni Rainisto
Cc: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] QML support of Multitouch

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?


2013/3/24 Seppo Tiainen 
<seppo.tiai...@gmail.com<mailto:seppo.tiai...@gmail.com>>
Still, being able generate touch events in the next update of QtCreator's 
Sailfish OS Emulator would surely be welcomed by many...

Seppo


2013/3/20 Seppo Tiainen 
<seppo.tiai...@gmail.com<mailto:seppo.tiai...@gmail.com>>
Hi Lucien and Jonni,

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.

Seppo


2013/3/19 Jonni Rainisto 
<jonni.raini...@jollamobile.com<mailto:jonni.raini...@jollamobile.com>>
Hi Seppo,

Lauri's example should work pretty much unmodified, and I did a very quick hack 
Sailfish example code in gitorious:

https://gitorious.org/sailfishtouchexample/sailfishtouchexample

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.

re, Jonni
________________________________________
From: 
devel-boun...@lists.sailfishos.org<mailto:devel-boun...@lists.sailfishos.org> 
[devel-boun...@lists.sailfishos.org<mailto:devel-boun...@lists.sailfishos.org>] 
on behalf of Lucien XU [sfietkonstan...@free.fr<mailto:sfietkonstan...@free.fr>]
Sent: Wednesday, March 13, 2013 10:18 PM
To: devel@lists.sailfishos.org<mailto:devel@lists.sailfishos.org>
Subject: Re: [SailfishDevel] QML support of Multitouch

Hello Seppo,

Instead of subclassing QmlApplicationViewer, did you ever tried to just
subclass a QDeclarativeView, and add the given code from your link to that
subclass ? It should work.

Cheers,
Lucien

Le mercredi 6 mars 2013 10:48:15 Seppo Tiainen a écrit :
> What I have been missing most in QML is multitouch support. Only Qt 5.0 has
> QML MultiPointTouchArea but Sailfish is using Qt 4.8. In Harmattan, I was
> able to read multiple touch points by Lauri Jääskeläinen's QmlMultiTouch
> code (
> http://www.developer.nokia.com/Community/Blogs/blog/lauri-jaaskelas-forum-no
> kia-blog/2011/02/03/raw-multitouch-pointer-events-in-qml) where a new class
> (TouchApplicationViewer) is inherited from
> QmlApplicationViewer, and viewportEvent(QEvent*) method is reimplemented.
> The code also implements a class MultiTouch which exposes a list of touch
> points to QML.
>
> Now that I'm planning to port my app from Harmattan to Sailfish I'm having
> problems dealing with view and installing multitouch in main.cpp of
> Sailfish/Silica. Any ideas how to do that? Or, would it be possible to have
> a TouchArea library or plugin for Sailfish QtCreator (next update)? I think
> being able to easily deal with multiple touch points in QML is one of the
> key features needed while developing interesting Qt apps for modern
> smartphones. A sample code for main.cpp or Sailfish QtCreator lib
> upgrade/plugin would be great!
>
> - tiptyper
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list



_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to