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 16, 2015 at 5:45 PM, Jonni Rainisto <jonni.raini...@jolla.com> wrote: > 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 follow > window state changes and still is busylooping when swiped on background (or > if cover-page is taking too much cpu cycled)). > > Br, Jonni > ________________________________ > From: devel-boun...@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 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 use Qt. > > I am not in a hurry, besides I only need to port the company's games to this > platform as a portfolio. It would be nice to have them in installable form > in the market, but for showing and demonstrating them I can just use my > phone > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luciano Montanaro Anyone who is capable of getting themselves made President should on no account be allowed to do the job. -- Douglas Adams _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org