[SailfishDevel] (no subject)

2018-02-13 Thread Zoltán Lutor
Hi, I have some issue with my very first native Sailfish game: there is some problem with audio. Game is using QML & Javascript, it is mainly a PageStack and there are lots of Audio components in actual game Page. If there are more than 5 Audio elements there, app hangs-up mysteriously after leav

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

[SailfishDevel] (no subject)

2016-12-23 Thread Иван Черненький via Devel
Guys help plz In the project I want to use ** sailfish.webview 1.0 **. It is part of the package sailfish-components-webview-qt5. This package is installed into the architecture through Sailfish Control Centre. The .pro file added PKGCONFIG + = qt5embedwidget and .yaml PkgBR file:    - Qtmozemb

[SailfishDevel] (no subject)

2016-05-04 Thread Sepehr James Noori
Hi everyone! Following up last week’s postponed Community collaboration meeting on IRC, this week’s meeting is going to be held at the agreed time and date, 5/5/2016 at 13:30 UTC. Please see this link for your local time (Redirects to timeanddate.com) : http://tinyurl.com/z4ry6ar Location: #mer

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

[SailfishDevel] (no subject)

2015-03-16 Thread Iosif Hamlatzis
My SDL2 game was just rejected for two reasons. 1. For consuming too much battery 2. swipe closing gesture not working as it should I would like to address first the second remark and then go to the first. *Rejection Reason 2:* Specifically the rejection reason states: " Your application is cod

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

[SailfishDevel] (no subject)

2014-12-17 Thread David van rijn
Hello, 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{ GoogleMapsProvider{ apiKey: "blabla" } } I have a few

[SailfishDevel] (no subject)

2014-11-07 Thread Richard Grooff
Hi, In a page I have a fuction to update the xmllistmodel en then the listview with it. fuction previous(){ list_model2.clear() xmllistmodel.reload() listview.update() In the page calling the function works, the information in the listview is replaced with the new information. Wh

[SailfishDevel] (no subject)

2014-08-08 Thread Fedor Zaitsev
___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] (no subject)

2013-12-21 Thread Unai IRIGOYEN
Hi everybody, Does someone know how I can access the current locale in Sailfish OS? QLocale::system() always returns "C" for me and thus my app is not translated. Thank you for your help. Best regards. -- Unai IRIGOYEN ___ SailfishOS.org Devel mail

[SailfishDevel] (no subject)

2013-04-08 Thread Mr Miknis
mariusm...@gmail.com ___ SailfishOS.org Devel mailing list