Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread Aaron McCarthy
Hi, On Mon, 13 Jan 2014 07:55:32 christopher.l...@thurweb.ch wrote: > Thanks for this. I am glad to hear a fix is underway. > > I was about to play around with solution like the one you suggest > until others in this mailing list provided me with demo code that > indicates that despite the error,

Re: [SailfishDevel] GPS not turned off if app exits without stopping the GPS

2014-01-12 Thread Aaron McCarthy
Hi, On Mon, 13 Jan 2014 08:11:05 christopher.l...@thurweb.ch wrote: > I will call this a behaviour for the moment. Yesterday I noticed that > if an app that uses the GPS exits without stopping the GPS, then the > GPS remains running on the Jolla. How did you confirm this? Presence of the Location

[SailfishDevel] Does /dev/urandom is strong enough to rely on it for crypto

2014-01-12 Thread Benoît HERVIER
Hi all, Does /dev/urandom is strong enough to be used for cryptographic purpose on Sailfish OS ? Regards, Thx ___ SailfishOS.org Devel mailing list

[SailfishDevel] Device deployment problems (SSH connection dies)

2014-01-12 Thread Jaakko Koskenkorva
I've been terribly frustrated by erratically working deployment to device from the SDK. It seems that the SSH connection dies frequently i.e. compile output shows: ssh: connect to host 192.168.2.250 port 22: Connection timed out rsync: connection unexpectedly closed (0 bytes received so far) [sen

Re: [SailfishDevel] How to activate GPS on device

2014-01-12 Thread Caliste Damien
Hello, Le vendredi 03 janvier 2014, Aaron McCarthy a écrit : > GPS works without network coverage, though the acquisition time is > How long did you wait? Were you outside or inside? Without assisted > GPS I've seen the device take between one and tens of minutes to get > a position fix. When in m

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Aaron McCarthy
Hi, On Mon, 13 Jan 2014 08:01:43 christopher.l...@thurweb.ch wrote: > Zitat von "Aaron McCarthy" : > > Hi, > > > > Unfortunately, due to a build configuration issue, the satellite interface > > is not available in the current released version. The issue has already > > been fixed and will be rele

[SailfishDevel] GPS not turned off if app exits without stopping the GPS

2014-01-12 Thread christopher . lamb
Hi I will call this a behaviour for the moment. Yesterday I noticed that if an app that uses the GPS exits without stopping the GPS, then the GPS remains running on the Jolla. I compared this to my Nokia N9. On that device if an app using the GPS exits (e.g. the user closes it), then the

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Aaron Zitat von "Aaron McCarthy" : Hi, Unfortunately, due to a build configuration issue, the satellite interface is not available in the current released version. The issue has already been fixed and will be released with a future update. Thanks for the confirmation that this is not yet

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread christopher . lamb
HI Aaron Thanks for this. I am glad to hear a fix is underway. I was about to play around with solution like the one you suggest until others in this mailing list provided me with demo code that indicates that despite the error, the PositionSource element seems to work! If so, is this ac

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Aaron McCarthy
Hi, On Sun, 12 Jan 2014 15:15:13 Marcel wrote: > I'm trying to get satellite information using QGeoSatelliteInfoSource, but I > cannot create a default source. Is it not implemented in Sailfish? I know > that Sailfish is using Geoclue, and there is a commit in Qt for supporting > the Geoclue Satel

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread Aaron McCarthy
Hi, On Sat, 11 Jan 2014 18:08:25 christopher.l...@thurweb.ch wrote: > I have added a QML PositionSource element to the FirstPage of the > default HelloSailors new project, and call the start() method from > Component.onCompleted (see code snippet below mail). > > When running on the Emulator

Re: [SailfishDevel] How to translate (lupdate) ?

2014-01-12 Thread Antoine Reversat
When running from Qt Creator the locale is always C, when clicking the app button on the emulator then the locale is right. I also run my app from the emulator through ssh with something like : LC_ALL="fr_FR.UTF-8" my_app to test different locales. On Sun, Jan 12, 2014 at 12:20 PM, Unai IRIGOYEN

Re: [SailfishDevel] Fwd: Re: QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Salut Damien Marcel used the Compass element from QtSensors for azimuth. Chris Zitat von dcali...@free.fr: Hello, À Sun Jan 12 2014 17:17:11 GMT+0100 (CET), Marcel a écrit : The QML position source is working here, and you can see the compass access, too Do you have the direction attrib

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread christopher . lamb
Hi Bob Thanks for the confirmation that things work for you. I too now suspect that it is a ghost problem. The trouble is, as soon as I saw the error I just assumed that it was a real problem and did not even bother to try and display Position info. To mix metaphors it led me up the garden

[SailfishDevel] Fwd: Re: QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread dcaliste
Hello, >À Sun Jan 12 2014 17:17:11 GMT+0100 (CET), Marcel a écrit : >>The QML position source is working here, and you can see the compass access, >>too Do you have the direction attribute of QGeoPositionInfo that is set ? When using hasAttribute() method on a valid GPS info source, I always ge

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread Bob Jelica
I get the same error/warning in my app, without it affecting the app. At least not enough for me to dig into the error. I still get the GPS fix, location etc, so my app is usable. Would love to find out if it’s a real problem or just a ”ghost” problem, but thus far it seems like it’s not going t

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread christopher . lamb
Hi All The plot thickens! Marcel very kindly posted his code using PositionSource in QML. https://github.com/balta3/sailfish-gpsinfo So I loaded up Marcel's app, and it worked! Then I scanned the application output, and found: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeo

Re: [SailfishDevel] How to translate (lupdate) ?

2014-01-12 Thread Unai IRIGOYEN
Ok, I'm replying to myself here and for reference in case someone else is disappointed. I launched the app from Jolla's app menu and found out it was translated so in fact this only happens when running from QtCreator. -- Unai IRIGOYEN Le dimanche 12 janvier 2014 17:54:50, vous avez écrit : >

Re: [SailfishDevel] Harbour: Allow more libraries to link against

2014-01-12 Thread Thomas Tanghus
On Friday 10 January 2014 17:30 Reto Zingg wrote: > Hi, > > On 10.01.2014 16:11, Thomas Tanghus wrote: > > On Thursday 02 January 2014 11:43 Reto Zingg wrote: > >> If not then we reject it. Most likely you have still some timer running? > >> Stop them when your app is not active. > > > > What if

Re: [SailfishDevel] How to translate (lupdate) ?

2014-01-12 Thread Unai IRIGOYEN
I followed those steps to try to fix my app translations but QLocale::system() still returns "C". Am I the only one in this case? I'm running my app on Jolla so it's not a problem with emulator. -- Unai IRIGOYEN Le vendredi 3 janvier 2014 02:30:48, Andrey Kozhevnikov a écrit : > you can use any

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Marcel Thanks for posting your code. In the meantime I have dug out and posted the SatInfoSource demo I played around with at Christmas - at the time on the Emulator (my Jolla only arrived on the 30th Dec). https://github.com/sailfishapps/ThrowawayDemos/tree/master/Kaputt/SatInfoSourceD

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi Chris, I've pushed my existing code to github for you, but be warned, it is chaotic, and my first "real" qt project. There is a lot to do... https://github.com/balta3/sailfish-gpsinfo The QML position source is working here, and you can see the compass access, too. Is there any existing QML

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-12 Thread christopher . lamb
Hi All In an attempt to track down the source of this problem, and possibly even solve it, I have created a throwaway demo posted to Github under: https://github.com/sailfishapps/ThrowawayDemos/tree/master/Kaputt/PositionSourceDemo The demo is basically a standard Sailfish new project, with

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread Mike Sheldon
On Sun, 2014-01-12 at 16:42 +0100, Franck Routier (perso) wrote: > But... I get this: > > SensorManagerInterface::interface:78 - Requested sensor id ' > "accelerometersensor" ' interface not granted > > Any idea where this comes from ? The emulator doesn't simulate accelerometer sensors, for thi

Re: [SailfishDevel] Listing of to use macros in .yaml?

2014-01-12 Thread Timur Kristóf
Here is a list of macros with explanations: http://fedoraproject.org/wiki/How_to_create_an_RPM_package#Macros Cheers, Timur Timur On Thu, Jan 9, 2014 at 12:21 PM, Wim de Vries wrote: > OK.Thanks. > > On 01/09/2014 12:05 PM, Ruslan Nigmatullin wrote: > >> Hello! >> >> SailfishOS is mostly li

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Marcel. The fast response is pure self interest - I am fighting with GPS code myself right now! Are you using SatelliteinfoSource from C++ or QML? on Harmattan I wrote my own C++ plugin to expose SatsInuse and SatsInView to QML as this was not available in QML for Qt Mobility 1.2 Loca

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread Mike Sheldon
On Sun, 2014-01-12 at 11:49 +0100, Franck Routier (perso) wrote: > Hi, > > I'm still stuck with this. Back to the basics... > > In my qml, I have added: > > import QtSensors 5.0 and used Accelerometer. > > Fine. But On deployment, I get an error: module "QtSensors" is not installed > > I think

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread Franck Routier (perso)
This blog helps a lot indeed, thanks for the link ! Now I have qt5-qtdeclarative-import-sensors automatically installed by the rpm, and got rid of the "not installed" error. But... I get this: SensorManagerInterface::interface:78 - Requested sensor id ' "accelerometersensor" ' interface not gran

Re: [SailfishDevel] No inbox?

2014-01-12 Thread Norbert Wenzel
On 01/12/2014 01:01 PM, Valerio Valerio wrote: On 10/01/14 10:53, Norbert Wenzel wrote: I've seen similar problems with the mail-only GMX account, but there I only had to retype my password (though the account manager showed the correct number of dots, so it looked as if a valid password has bee

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi Chris, Thanks for the quick response on a sunday... I've already seen that there is no GPS in the Emulator, but since Friday I have my own Jolla device :) As first project I'm trying to create a simple app showing the GPS infos similiar to "GPS Info Qt" on Symbian. QML PositionSource (and i

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hoi Marcel Good to see a fellow Sailfish GPS hacker at work. I am fighting with PositionSource (in QML), but have not got as far as SatelliteInfoSource on a real device - but I hope to soon, as the app I am porting has a C++ plugin to expose SatelliteInfoSource to QML. You don't state what

[SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi, I'm trying to get satellite information using QGeoSatelliteInfoSource, but I cannot create a default source. Is it not implemented in Sailfish? I know that Sailfish is using Geoclue, and there is a commit in Qt for supporting the Geoclue Satellite interface: https://qt.gitorious.org/qt/qtl

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 12.01.2014 14:14, Mikael Hermansson pisze: To clarify... What I meant is app itself need no root. ofcourse user still need to pass root password to libssh to execute commands... well it sounds like a solution, but I would say it's a bit partisan type of thing. Anyway I would like to hea

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
To clarify... What I meant is app *itself* need no root. ofcourse user still need to pass root password to libssh to execute commands... On Sunday 12 January 2014 14.11.55 Mikael Hermansson wrote: > On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote: > > So what would be the proper way of

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote: > > So what would be the proper way of creating such app? Can someone from > Jolla - Thomas or anyone there who feels competent in this area suggest > the proper way of handling such use case. That could really help to > mitigate some of the

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread David Greaves
All run as user: (Aside: the "chum" repository is something I'm doing with my community hat on, not my Jolla one. It's intended to be run ***and QA'ed*** by the community. More on this 'soon') On 11/01/14 21:45, Semuonov Basil wrote:> I guess, that I am the person who started this story about scr

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread christopher . lamb
Hi Franck This blog post should go somewhere towards helping you. http://flyingsheeponsailfish.blogspot.ch/2013/11/deploying-additional-packages-to.html What is your target? The Emulator or a real device? Either way, ssh into it, then run the following commands to see what is already install

Re: [SailfishDevel] No inbox?

2014-01-12 Thread Valerio Valerio
Hi, On 10/01/14 10:53, Norbert Wenzel wrote: On 01/09/2014 06:16 PM, Reto Zingg wrote: On 09.01.2014 19:03, Markus Svensson wrote: Does the mail app log errors somewhere on the device? If you have developer mode enabled, set in /home/nemo/.config/QtProject/Messageserver.conf: [StdStreamLog]

Re: [SailfishDevel] Questions about not yet allowed APIs

2014-01-12 Thread Mikael Hermansson
On Sunday 12 January 2014 09.11.38 Filip Kłębczyk wrote: > W dniu 12.01.2014 05:43, Timur Kristóf pisze: > > Hi, > > > > I'd like to ask about status & ETA about the following QML imports, ie. > > what's their current status (stability, maturity, etc) and when are we > > going to be able to use th

[SailfishDevel] Detecting if running in emulator/debug mode in QML

2014-01-12 Thread Antoine Reversat
Hi, I was wondering if there is a way to know if we're in debug mode or running in the emulator in QML (something like the #ifdef QT_QML_DEBUG in c++). I'd like to be able to act differently whether the app is running on a real device or not. Antoine __

[SailfishDevel] Starting debug session failed

2014-01-12 Thread Matthias Barmeier
Hi, Is Information available on how to debug the debug process ? I am unable to run a debug session in emulator or on the phone. On the emulator I have a messages in the log window saying that debugging has started, but nothing happened. On the phone the log messages say that the session has s

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread Franck Routier (perso)
Hi, I'm still stuck with this. Back to the basics... In my qml, I have added: import QtSensors 5.0 and used Accelerometer. Fine. But On deployment, I get an error: module "QtSensors" is not installed I think I have to edit something in my .pro file: I tried CONFIG += qt5-qtsensors but it didn

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 11.01.2014 16:06, Thomas Perl pisze: The problem in this thread is that somebody is trying to do something that’s a bad idea in general. The question should not be “How do I make /usr/share/$NAME world-writable?” (that is usually NEVER a good idea), but rather “My app wants to do this a

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 11.01.2014 16:06, Thomas Perl pisze: The problem in this thread is that somebody is trying to do something that’s a bad idea in general. The question should not be “How do I make /usr/share/$NAME world-writable?” (that is usually NEVER a good idea), but rather “My app wants to do this a

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-12 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Mike. now that I know it will work, I'll dig deeper ! BR Franck Le 11/01/2014 18:22, Mike Sheldon a écrit : > Hi Frank, > > On Sat, 2014-01-11 at 18:03 +0100, Franck Routier (perso) wrote: >> So: is QAccelerometer available in Sailfish SDK ?

Re: [SailfishDevel] Questions about not yet allowed APIs

2014-01-12 Thread Ruediger Gad
Hi, there are also already some requests at together.jolla.com Look for/use the "harbour-api-request" keyword. BR, Ruediger On 01/12/2014 05:43 AM, Timur Kristóf wrote: > Hi, > > I'd like to ask about status & ETA about the following QML imports, ie. > what's their current status (stabili

Re: [SailfishDevel] Questions about not yet allowed APIs

2014-01-12 Thread Filip Kłębczyk
W dniu 12.01.2014 05:43, Timur Kristóf pisze: Hi, I'd like to ask about status & ETA about the following QML imports, ie. what's their current status (stability, maturity, etc) and when are we going to be able to use them in the harbour. import Qt.labs.settings 1.0 import QtGraphicalEffects 1.0