Re: [SailfishDevel] (no subject)

2016-12-26 Thread Andrey Kozhevnikov
He want to use new Sailfish WebEngine stuff 26.12.2016 15:15, jerome levreau пишет: hi, can you be more specific because you gave us barely information to help you. I'm assuming you want to embed an html page in a qml, just use SilicaWebView, no additional import needed : import QtQuick 2

Re: [SailfishDevel] (no subject)

2016-12-26 Thread jerome levreau
hi, can you be more specific because you gave us barely information to help you. I'm assuming you want to embed an html page in a qml, just use SilicaWebView, no additional import needed : import QtQuick 2.2 import Sailfish.Silica 1.0 Page { id:page SilicaWebView { id:web v

Re: [SailfishDevel] (no subject)

2015-03-18 Thread Luciano Montanaro
Well, I am no expert on SDL. But apparently there should be a way to set orientation on wayland. The SDL_waylandwindow.h shows there is a qt_extended_surface pointer in the SDL_WindowData structure, which is used by the qt_extended_surface_set_content_orientation(struct qt_extended_surface *qt_ex

Re: [SailfishDevel] (no subject)

2015-03-18 Thread Iosif Hamlatzis
Regarding the orientation it's not something I can patch and submit, it's a thing for Jolla since it has to do with the video driver. Looking at the code of SDL2, I would say the hint for the orientation is iOS specific: >From the SDL_hints.h /** * \brief A variable controlling which orientati

Re: [SailfishDevel] (no subject)

2015-03-17 Thread Tone Kastlunger
I believe SDL library is open sourced on SailfihsOS; perhaps you could submit a patch that fixes the issue? Best, tk On Mon, Mar 16, 2015 at 10:05 PM, Iosif Hamlatzis wrote: > Unfortunately the SDL_SetHint function didn't work, the game still only > closes as if you hold the device in portrait

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Iosif Hamlatzis
Unfortunately the SDL_SetHint function didn't work, the game still only closes as if you hold the device in portrait mode. So since the game renders rotated (in order to have the perception of landscape) the only way to close the game is to swipe from right to left, which was one of the reasons th

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Iosif Hamlatzis
Regarding the power consumption: "Your application is draining too much power when device is on idle state. It is critical for any application to go to the idle state within reasonable amount of time, depending on what the app is doing. For example if the app is fetching some data, syncing data, o

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Luciano Montanaro
un...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Iosif Hamlatzis > [i.hamlat...@gmail.com] > Sent: Monday, March 16, 2015 6:21 PM > To: Sailfish OS Developers > Subject: Re: [SailfishDevel] (no subject) > > Thank you for the respond. > > Since I have no know

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Jonni Rainisto
[i.hamlat...@gmail.com] Sent: Monday, March 16, 2015 6:21 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] (no subject) Thank you for the respond. Since I have no knowledge of Qt, I will try to find out why the game consumes so much power, since I already try to sync to 60fps. Also I will try

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Iosif Hamlatzis
Thank you for the respond. Since I have no knowledge of Qt, I will try to find out why the game consumes so much power, since I already try to sync to 60fps. Also I will try to address the warnings. And wait and see if anyone else has similar problem and how it was addressed, since not all games

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Luciano Montanaro
I did not try this, but Qt documentation lists a contentOrientation property of QWindow. So I would try to create the window for the applicationm then: mywindow->setContentOrientation(Qt::LandscapeOrientation); and then use pass the window surface to the sdl part of the application. About the h

Re: [SailfishDevel] (no subject)

2014-12-18 Thread Martin Kolman
Thu, 18 Dec 2014 18:07:18 +0100 David van rijn : Thanks for the feedback :) I had already looked a bit at the monav stuff because i had it on my N900, but like you said, it seems abandoned, so i didn't feel like using it. But the Mapbox GL definitely looks primising, i will have a look at it

Re: [SailfishDevel] (no subject)

2014-12-18 Thread David van rijn
Thanks for the feedback :) I had already looked a bit at the monav stuff because i had it on my N900, but like you said, it seems abandoned, so i didn't feel like using it. But the Mapbox GL definitely looks primising, i will have a look at it later. I did not know about the qml pinchmap. I hav

Re: [SailfishDevel] (no subject)

2014-12-17 Thread Martin Kolman
Wed, 17 Dec 2014 16:04:31 +0100 David van rijn : Hello, Hi! I am writing a qml component to display a slippy map (eg. google maps). (You can look at the code at https://github.com/unsanded/harbour-mapp.) The idea is to be able to add maps in qml by just typing something like: SlippyMap{ Go