Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread christopher . lamb
Hi Mohammed A minor part of the app is indeed an emergency flashlight. It's not that important to the app, it was just the first error thrown on porting to Qt5 / Sailfish. Once I get the app compiled and running on a real device then will come the fun / pain of finding out what works / do

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread Mohammed Hassan
On Sun, Dec 08, 2013 at 11:43:21PM +0100, christopher.l...@thurweb.ch wrote: > Hoi Sven > > That is a valuable tip, one that is easy to miss. > > The "#include " version is also more explicit, > and had the advantage that if I copy the C++ file using this into > another project, I don't need to r

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread christopher . lamb
Hoi Sven That is a valuable tip, one that is easy to miss. The "#include " version is also more explicit, and had the advantage that if I copy the C++ file using this into another project, I don't need to remember to also modify the .pro file of the new project. In fact all what I want i

Re: [SailfishDevel] Emulator: Mouse pointer not visible

2013-12-08 Thread Mikael Hermansson
I have also seen this issue randomly on my kubuntu box. The solution for me is to restart sailfish emulator when it happens. I got the feeling that it has to do with how Vbox mouse has focus inside VM when booting the sailfishos? I noticed that if you accidently click inside the emulator when

Re: [SailfishDevel] Emulator: Mouse pointer not visible

2013-12-08 Thread Jarko Vihriala
Well we have seen on-site one setup like this where user had manually modified VBox settings and thus causing mouse to non-work. However, let's try to solve this first of all a)what it the distro ? b)do you have started the VBox kernel drivers on host? c)have you tested other VBox machines d)does

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread Sven Putze
> > > c) .h file #include > Hi, if you just need the camera, you should prefer this version, I quote from http://qt-project.org/doc/qt-5.0/qtmultimedia/qtmultimedia-index.html: "[...]Note: If you are using a few classes from this module, we recommend including those specific classes only i

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread christopher . lamb
Hi Filip Both options you suggest work! magic! i.e. either a) pro file QT += multimedia and b) .h file #include OR c) .h file #include It would seem that the "old* CONFIG += multimedia no longer works with the latest templates. Thanks Chris Zitat von "Filip K??bczyk" : W dniu 08.1

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread christopher . lamb
Hi Filip Thanks for your rapid answers! Am on the train, and have just discovered myself the #include which you suggested in your first mail. This works. Next I will try the QT += multimedia Zitat von "Filip K??bczyk" : W dniu 08.12.2013 14:48, christopher.l...@thurweb.ch pisze: In lande

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread Filip Kłębczyk
W dniu 08.12.2013 14:48, christopher.l...@thurweb.ch pisze: In landedtorch.h I have #include #include In the .pro file I have: CONFIG += multimedia" Any ideas? I am sure it something simple that I have missed ... also QT += multimedia Did it help? Regards, Filip _

Re: [SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread Filip Kłębczyk
W dniu 08.12.2013 14:48, christopher.l...@thurweb.ch pisze: In landedtorch.h I have #include #include In the .pro file I have: CONFIG += multimedia" Any ideas? I am sure it something simple that I have missed ... #include in landedtorch.h also and it should work. Regards, Filip

[SailfishDevel] QCamera not found: yet again ....

2013-12-08 Thread christopher . lamb
Hi Now that my main app on harmattan is finished, and that Jolla Sailfish devices should be in our hands in the next few days, I am having another stab at porting my app from Harmattan to Sailfish. I have started with a brand-new default app, based on the latest SDK template, and am gradu

Re: [SailfishDevel] Harbour should allow libcrypt/openssl

2013-12-08 Thread Kari Pihkala
It would be nice to know how stable the openssl api actually is. Apple has deprecated it on Mac OS X due to its unstable api between versions: "OpenSSL does not provide a stable API from version to version." "If your app depends on OpenSSL, you should compile OpenSSL yourself and statically link a

[SailfishDevel] Emulator: Mouse pointer not visible

2013-12-08 Thread Uwe Koch
Hi, quite disappointing for me - can't catch the mouse inside the Sailfish SDK emulator. Nothing to see - so no clicking and dragging ;-( Installed latest Virtualbox environment - both in KDE and Linux Mint. Any help how to see where the problem is? Can't find anything in virtualbox forums - so