Re: [SailfishDevel] applicationDisplayName and applicationName

2015-03-27 Thread Alfonso Martone
> QGuiApplication app(argc, argv); > appDispName = app.applicationDisplayName(); > appName = app.applicationName(); > > I would expect that > > appDispName="myApp" > appName = harbour-myapp > > but they don’t, both are "harbour-myapp", is this correct ? > Apparently you need to set it

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Alfonso Martone
If you use a shell to execute dbus-send, you may need to quote the "quoted" message string. Here this works for me from command-line (note that this does not update the database of SMS messages and does not let you know if it was actually sent): dbus-send --system --print-reply --dest=org.ofono /r

[SailfishDevel] converting apps to/from UbuntuPhone

2015-02-23 Thread Alfonso Martone
After browsing sources for a simple UbuntuPhone app ( https://launchpad.net/dice-roller ) I was wondering if some awk/python/ruby script wizardry could convert UbuntuPhone pure QML apps to SailfishOS. Yes, Ubuntu.Components is different than Sailfish.Silica - including properties with different na

Re: [SailfishDevel] NMEA

2015-02-23 Thread Alfonso Martone
To write my own GPS logger I tried everything thinkable, even fiddling with the GPS server (/opt/alien/system/genv/bin/alien_gps_server) but did not find any way to get RAW NMEA strings... except using the library function calls (like QtPositioning/QGeoP

[SailfishDevel] defining version number only once

2015-01-07 Thread Alfonso Martone
Sorry to ask here, but I wasn't able to get some official guidelines. 1) Version/Release numbers: - I have to place them both in the /.yaml /file (for RPM build) and in some /.h/ or /.qml /source (to show it in some "about" dialog): is there a way to define the Version/Release numbers in a /singl