[SailfishDevel] Problems with the emulator (I think)

2013-11-16 Thread Lavanti Lauri
Hi all, First time on this list, so sorry if this is an old problem but: When I created my new project on SailfishOS IDE the main.cpp file complains that: #include sailfishapp.h No such file or directory And whenever I try to add a package to my sdk it says the following (as an example):

Re: [SailfishDevel] Harbour publishing - Invalid website

2013-11-16 Thread Andrey Kozhevnikov
i have prefix, and Submit button is active, this error message occurs after i pressed Submit :) On 16.11.2013 17:31, Stephen Jayna wrote: Hello, On 16 Nov 2013 [46], at 08:20, Andrey Kozhevnikov wrote: Trying to publish my app to Harbour, but i'm getting Invalid website message. What it

Re: [SailfishDevel] Harbour publishing - Invalid website

2013-11-16 Thread Stephen Jayna
Hello, i have prefix, and Submit button is active, this error message occurs after i pressed Submit :) Could you let me know what the URL is please? If you don't wish to share it publicly my email address is stephen.ja...@jolla.com, or I'm in #jollamobile and #sailfishos as 'sdjayna'.

Re: [SailfishDevel] best way to work with covers?

2013-11-16 Thread Artem Marchenko
Gabriel, there are a couple of solutions again :) One way is that you can instantiate your pages via createObject and pass variables during createObject call or set them later using reference returned by createObject - see

[SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
Hi All **Context** I am trying to build a flashlight app, but the same question is valid for any camera app that wants to shoot photos/videos in low light. **The problem** I am trying to control LED flash by setting flash mode to ON (api confirms that ON mode is supported) and starting camera.

Re: [SailfishDevel] best way to work with covers?

2013-11-16 Thread Gabriel Böhme
Thanks again, I tried the createObject already, but was not working. But I guess the mistake was on my side. ;) So I'll look into the Docs and play a bit around tomorrow. By the way, where possible I use the model, so this could also be a solution in my case: extend the model with the things I

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Mohammed Hassan
Hi Artem, On Sat, Nov 16, 2013 at 02:48:30PM +0200, Artem Marchenko wrote: Hi All *Context* I am trying to build a flashlight app, but the same question is valid for any camera app that wants to shoot photos/videos in low light. *The problem* I am trying to control LED flash by

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
Thanks, Mohammed. I know that torch mode is not supported, but ON mode is. So my current workaround idea is to make phone think it shoots video with flash mode ON (ok, we can even shoot video for real if needed). Assumption is that video + flash mode ON should make phone record video with light

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Mohammed Hassan
Hi Artem, On Sat, Nov 16, 2013 at 04:43:57PM +0200, Artem Marchenko wrote: Thanks, Mohammed. I know that torch mode is not supported, but ON mode is. So my current workaround idea is to make phone think it shoots video with flash mode ON (ok, we can even shoot video for real if needed).

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
I used to work a little with GStreamer in the past, it wasn't much fun, though I was doing video processing, not just LED manipulation.. Oh well, I try searchAndLock trick, if it doesn't work, I'll need to think if I am into diving to gstreamer or into waiting for the Torch API. Technically,

[SailfishDevel] Cannot launch app by clicking app icon in emulator

2013-11-16 Thread Stockona
My app launches fine when deployed by QtCreator. But clicking the app icon in emulator only showed a cover with Loading label, then the app died silently. I took a look at jolla-settings.desktop and didn't understand what was wrong. My .desktop looks like this [Desktop Entry] Type=Application