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
Continuing on the orientation problem, you may see if the SDL_setHint(SDL_HINT_ORIENTATION) method works. That should avoid linking Qt, if you are not using it. For the high cpu while hidden, maybe you can look at the sdl documentation here: https://wiki.libsdl.org/SDL_WindowEvent On Mon, Mar 1

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Jonni Rainisto
What was the exact wording on power consumption reject? Usually that kind of reject reason comes if your application doesn't suspend when application is swiped to background (afaik on foreground you can consume about as much power as you want, but its a bad thing if your application doesn't foll

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] Debugging external libraries

2015-03-16 Thread Dmitriy Purgin
Hi, thanks for answering. Yes, I do have both debuginfo and debugsource packages on both Mer VM and Jolla Emulator VM but it doesn't help much. If I understand it correctly, the gdb client that runs on the host machine should access the sources that debugging symbols point to, but these sources s

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] Debugging external libraries

2015-03-16 Thread Tone Kastlunger
Also do you have debugging symbols for that particular library installed (either on phone or simulator, wherever you are testing)? Best, tk On Sun, Mar 15, 2015 at 7:10 PM, Andrey Kozhevnikov wrote: > Yes i was thinking about no contacts case. As seaside is cached database > it can not produce