Re: [SailfishDevel] How to get GPS Location in QML

2013-10-29 Thread christopher . lamb
Hi Bolek In my last post I hinted that my example yaml / spectacle file worked, but was not perfect. This evening on the train I was able to experiment further. I am now home, with a roast chicken bubbling in the oven, and a glass of cold white Rioja next to me, so I have time to post the

Re: [SailfishDevel] How to get GPS Location in QML

2013-10-30 Thread christopher . lamb
Hi Bolek I also have nothing direct to do with Jolla, I am just a developer like you, but it is still a pleasure to help and to puzzle out how things work. I agree with much of what you say; but I think we should not forget that the Alpha is just that, an Alpha. That means that not everyt

Re: [SailfishDevel] How to get GPS Location in QML (after installing QtPositioning packages to targets and emulator)

2013-10-30 Thread christopher . lamb
Hi Bolek Zitat von tw_bolek : BUT if I deploy to the emulator "by copying binaries" I still get an error message about missing libQt5Location.so.5 but WHY? I did install qt5-qtpositioning to the emulator and to the x86 target so the library should be there... libQt5Location.so

Re: [SailfishDevel] Updated emulator in SailfishOS SDK available

2013-10-30 Thread christopher . lamb
Hi Jarko On OSX and on Windows I get an Installer Error (OSX version error below, Window error coming in my next mail). Fatal error while evaluating a script. Error: cannot access member `updateRequested' of deleted QObject Backtrace: ()@/var/folders/lz/ghjnjzs11tbg581csnqbpbhm000

[SailfishDevel] How to check Emulator version

2013-10-30 Thread christopher . lamb
Hi Jarko Is there a way of checking the Emulator version? (e.g. by terminal command on the emulator?). Today's update bugged out on OSX, but after that the Emulator still starts, so either a) the update did nothing, and I have the old state b) the update more or less succeeded, I have the

Re: [SailfishDevel] Installing packages to the SDK and Emulator via the rpm/yaml file

2013-10-30 Thread christopher . lamb
Hi Jarko Thanks for your detailed comments. My understanding of this topic has vastly improved. I will be spending most of Friday on a plane, so I should be able to spend some time writing an article on installing to sailfish for my blog. One bit that still eludes me is this: I can find

Re: [SailfishDevel] Updated emulator in SailfishOS SDK available: and works!

2013-10-31 Thread christopher . lamb
Hi Jarko I can confirm that the update on Windows now works faultlessly. After the failure of the install yesterday afternoon, I did a complete de-install + reinstall of 2013-10-18. This morning I ran the update with no problems. Thanks Chris Zitat von "Jarko Vihriala" : Hello again,

Re: [SailfishDevel] Interesting problem with SDK installation

2013-10-31 Thread christopher . lamb
Tone are you sure there was a qmake.exe before the update?. On my Windows installation (post update) I have qmake.cmd. Chris Zitat von "Tone Kastlunger" : I noticed a quite weird issue with the installer. Upon reinstalling, it seems qmake.exe is missing. Targets + vm's are there, but qma

Re: [SailfishDevel] Installing packages to the SDK and Emulator via the rpm/yaml file

2013-10-31 Thread christopher . lamb
Thomas Thank you for helpful answer. I had pretty much understood the benefits of PkgConfig, which is why I was keen to use PkgConfigBR to install packages to the SDK. However thinking more deeply this may not be possible for all packages. If the .pc files that PkgConfig uses are "mainly"

Re: [SailfishDevel] Can't open emulator after updating the latest emulator

2013-11-02 Thread christopher . lamb
Hi Brad you don't say what your host OS is, but my first attempt earlier this week to update a Windows installation bugged out with a missing Emulator VM. I did a complete deinstall of the whole Sailfish SDK, reinstalled, then ran the update. The second run was flawless. Chris Zitat vo

Re: [SailfishDevel] Installing packages to the SDK and Emulator via the rpm/yaml file

2013-11-04 Thread christopher . lamb
Hi all As the topic of installing the to the SDK and Emulator is one which has raised many questions in the is mailing list, I have collected the wisdom from replies to this and similar threads, and have created a guide to installing on my Sailfish blog. The post can be found here: http:

Re: [SailfishDevel] Installing packages to the SDK and Emulator via the rpm/yaml file

2013-11-04 Thread christopher . lamb
Hi Luciano Thank you for your kind words. Your emulator / train issue is an interesting one. I do a lot of my development on a train on the way to and from work, and I am able to build without any problems. Sometimes I will have an iffy network connection over my N9, but mostly not. That

Re: [SailfishDevel] Problems with the Emulator (possible bugs?)

2013-11-04 Thread christopher . lamb
HI Bolex Have you tried updating the properties on pushing? DefaultSMSPage { id: defaultSMSPage fontSize: appWindow.fontSize onCancelled: pageStack.pop(mainPage); onNextPage: { pageStack.push(contactSelectionPage, {template_id: 1234}) }

Re: [SailfishDevel] Installing packages to the SDK and Emulator via the rpm/yaml file

2013-11-05 Thread christopher . lamb
Hi Luciano I have done some quick tests. If I turn networking off on the development host then a) if all packages specified in the .yaml file are already installed, then the app will build and run with no error. b) if required packages are not yet installed, then the build with exit with

Re: [SailfishDevel] Qt5Svg missing on the x86 SailfishOS image?

2013-11-07 Thread christopher . lamb
Ciao Alessandro The PkgConfigBR section takes care of the SDK Build Engine. But what do you have in the Requires: section (for the Emulator)? You should have an entry: qt5-qtsvg The alternative is to zypper in qt5-qtsvg After that on the Emulator when I search for your missing library file I

Re: [SailfishDevel] Qt5Svg missing on the x86 SailfishOS image?

2013-11-08 Thread christopher . lamb
Hoi Alessandro That is strange. First I did a zypper rm qt5-qtsvg to remove qtsvg from my Emulator. Then I built and run my test app (wiht qt5-qtsvg in the Requires: section of the .yaml /.spec files). I get this: Downloaded PositionSourceTest-0.1-1.i586 Downloaded PositionSourceTest-

Re: [SailfishDevel] qt-components-qt5

2013-11-10 Thread christopher . lamb
Hi Marcin Have you installed that package to both the Emulator and the SDK Build Engine? (and synced in the SDK Control Center?) My next guess is that you get this error from QML. Normally the qml types are available in a version of the package with import-declarative in the name (to be i

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread christopher . lamb
Hi Jonni Could you please confirm whether or not it will be possible to send SMSes direct from an app? (from your reply below it seems this will not be possible). My app Landed on Harmattan could send SMS directly - indeed it is the raison-d'etre for the app, and it is obvious to the user

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread christopher . lamb
Hi Seppo My definition of SMS is exactly the same as yours. You will find some older questions from me on the subject of Telepathy and SMSes in the archive of this mailing list. Chris Zitat von "Seppo Tiainen" : OK, my mistake. So you can use Telepathy service to control the 'real' SMS. N

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-19 Thread christopher . lamb
Hi bolek Coordinate is in Positioning, not Location in Qt5 https://qt.gitorious.org/qt/qtlocation/source/64ee46398e7285a8cd30f483ab730eb87bf01b33:src/imports/positioning/qdeclarativecoordinate.cpp The old Qt5 Mobility Location stuff has been split into Location and Positioning, so ror each co

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-20 Thread christopher . lamb
Aaron Having had a closer look at the Positioning sources, I think positioning.cpp is missing a line like: qmlRegisterType(uri, major, minor, "Coordinate"); Where would be the best place to report this as a bug? Chris Zitat von "Aaron McCarthy" : Hi, On Wed, 20 Nov 2013 07:52:14 tw_bol

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-20 Thread christopher . lamb
Hi Jonni Thanks, bug now opened ... https://bugreports.qt-project.org/browse/QTBUG-34963 Chris Zitat von "Jonni Rainisto" : if its a bug in qtlocation then https://bugreports.qt-project.org And you might want to check if there are fixes in the pipeline already https://codereview.qt-proj

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-20 Thread christopher . lamb
Hi Michael I have been pointed to this: http://doc-snapshot.qt-project.org/qt5-stable/coordinate.html Which means that something like the code below should work: This is a little different from the Qt4.8 Mobility Location, where a coordinate could be directly instantiated and manipulated in

Re: [SailfishDevel] Connection to Emulator not working if PC offline

2013-11-20 Thread christopher . lamb
Hi I do most of my development work on the train, and have not had such problems. Just to be sure: I have run a quick test a) stop SDK and Emulator b) stop WLAN--> I now have no network connections. c) restart SDK and Emulator --> successful. d) build and run a demo app --> successful. My host

Re: [SailfishDevel] Connection to Emulator not working if PC offline

2013-11-20 Thread christopher . lamb
Hi Andrey I just dug out my old laptop running Lubuntu, and have upgraded the SDK to the latest version. On this machine I can replicate the problem. Without a network connection the SDK cannot be found. If I stick the network cable back in, then it is found. Chris Zitat von "Andrey Ko

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-20 Thread christopher . lamb
Hi Aaron Thank you. I pointed that out here yesterday afternoon. I was briefly misled by the name of the header file: qdeclarativecoordinate_p.h https://qt.gitorious.org/qt/qtlocation/source/469cbf8f601270ac0b030202ae303939ba4c63ff:src/imports/positioning/qdeclarativecoordinate_p.h This act

Re: [SailfishDevel] Feedback / Haptics on Jolla Device

2013-11-21 Thread christopher . lamb
Ciao Mariaon Have you tried: import QtFeedback 5.0 https://qt.gitorious.org/qt/qtfeedback/source/dea0da72655f1defccaea643dbe37373f6692243:doc/src/snippets/declarative/declarative-feedback.qml Obviously your emulator won't vibrate ...8-) Chris Zitat von "Mariano Boragno" : Hi there, I'm

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb
Hi Antoine I think I had similar problems some months ago. If I remember correctly, I had to explicitly resize the menu height after adding items to it. I will see if I can find the old code, and have a dig around in it ... Chris Zitat von Tigre-Bleu : Hi, I try to dynamically populate

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb
Hi Antoine I had a quick play around, and a peak back in my old code. Just changing the menu height does not change anything. I also tried a version of your code with just dynamic menuItems. The menu did not drop, it just flashes. The problem I was fighting with some months ago (and did my

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb
Hi Antoine One useful technique for finding out what the Silica components are doing (and how you may need to modify your code, or to prove a bug), is to create a private clone of the "problem" component in your project. In your case it is ContextMenu, which on my development host lives in

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb
Hi Andrey Zitat von "Andrey Kozhevnikov" : you may need to make childs of menu._contentColumn, not just menu. I thought that the underscore stuff are private internal properties / functions that we mere mortals should not be using 8-) (Not that that would necessarily stop me). Chris

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb
We should not have to make that choice. using an underscore property is the pragmatic solution, but I would be interested to hear what the Jolla developers have to say on this issue. Zitat von "Andrey Kozhevnikov" : You should use it if you want "real" dynamically created components. Or rei

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread christopher . lamb
Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorous in enforcing some conventions. Just like any code, QML code will need maintaining, updating etc, so I prefer to clean code and

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread christopher . lamb
Hi Andrey If the _underscore is, as we suspect an indication of "internal only", the next question is what is internal? Internal could mean to the component itself. However it could mean "internal to Silica". Under this definition a call from Combobox to ContextMenu could be regarded as in

Re: [SailfishDevel] Third party modules / header files

2013-11-26 Thread christopher . lamb
Hi Sven some of that is covered here: http://flyingsheeponsailfish.blogspot.ch/2013/11/deploying-additional-packages-to.html You should not need to map any additional drives for Qt Creator to find headers, the SDK VM already has shared folders that access you home drive (within which you ha

Re: [SailfishDevel] Third party modules / header files

2013-11-26 Thread christopher . lamb
Hi Sven Zitat von "Putze Sven" : If my understanding of the official documentation is right, then the home folder of my development machine (where QtCreator runs) is shared with the VM. This way the compiler can access the source. But I want the other way around. Re-using header files alread

[SailfishDevel] Developing and Testing with Real Sailfish OS Hardware

2013-11-26 Thread christopher . lamb
Hi all Given that the first pre-order Jolla phones running Sailfish OS should be shipping in the next few days / weeks, will instructions soon be published how to test and deploy to real hardware? I am guessing that the process will be similar to that used for the N9, but I may be wrong .

Re: [SailfishDevel] Real device Yandex store problems

2013-11-27 Thread christopher . lamb
Hoi Tone Good news that you got your Jolla. I hope mine should be coming soon (preorder confirmed on Monday). How did you sync with your N9? Were instructions included? I will need to do the same ... grüsse Chris Zitat von "Tone Kastlunger" : Hi Jolla team; I just got my hands on the

[SailfishDevel] QT Contacts Filter on Sailfish

2013-11-30 Thread christopher . lamb
Hi All I am playing around with QtContacts 5.0 on Sailfish (still on the Emulator ..) I am able to add, display and sort contacts. So far so good. My code is at the bottom of this mail However things go pear-shaped when I try and filter the contacts: I get the error: file:///usr/share/Cont

Re: [SailfishDevel] Developing with SailfishOS - a short introduction

2013-12-01 Thread christopher . lamb
Hi Sven Github won't display the pdf, it's too big ... Looking forward to reading your idea; the more of us talking about Software Engineering the better! grüsse aus der Schweiz (mit Schnee) Chris Zitat von "Sven Putze" : Hi there, first of all: this is far from complete and basically j

Re: [SailfishDevel] Developing with SailfishOS - a short introduction

2013-12-01 Thread christopher . lamb
Hi Sven Have now downloaded. Lots of good content, but I need to read through it a few more times to comment in detail. One thing that immediately occurs to me is: 2.3 Linux While it is not "supported", an instalation of Sailfish within a Linux VM hosted on OSX works quite happily. It is s

Re: [SailfishDevel] Cellular network information

2013-12-06 Thread christopher . lamb
Hi all Just to reinforce what Gabriel says: The functionality officially known as Qt Mobility died with Qt4.x, probably due to Nokia exiting stage left. However much, but not all of it has been moved into Qt 5.0 add-on modules, with varying levels of stability (and thus likeliness to be

[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] 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 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
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] 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

[SailfishDevel] C++ and QML Integration: SetContextProperty with the latest SailfishOS Templates

2013-12-12 Thread christopher . lamb
Hi All what is now the recommended way to SetContextProperty in the main function using the latest Sailfish application templates (from thp)? The default main now looks like: #include int main(int argc, char *argv[]) { return SailfishApp::main(argc, argv); } In the days of the old te

Re: [SailfishDevel] C++ and QML Integration: SetContextProperty with the latest SailfishOS Templates

2013-12-12 Thread christopher . lamb
Hi Wim Thanks, that works! (except that you probably did not mean "view" to be 2nd param of setContextProperty). So taking your example I can do: int main(int argc, char *argv[]) { bool cppproperty = true; QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *

[SailfishDevel] SDK 13.12.2013 "nothing provides libgudev-1.0.so.0 "

2013-12-13 Thread christopher . lamb
Hi I upgraded the SDK on my Mac with today's release. However the build of my current project now fails with: Problem: nothing provides libgudev-1.0.so.0 needed by upower-0.9.21+git1-1.1.1.i486 Solution 1: do not install telepathy-ring-devel-2.3.12-1.7.1.i486 Solution 2: break upower-0.9.2

Re: [SailfishDevel] SDK 13.12.2013 "nothing provides libgudev-1.0.so.0 "

2013-12-13 Thread christopher . lamb
Hi Juha I have to confess that I upgraded via the maintenance tool. Now I have done a complete de-install, including removing the hidden .scratchbox2 directory. Then I re-downloaded and installed from https://sailfishos.org/develop.html Now I have a QtCreator that has no kits or Qt Versions

Re: [SailfishDevel] SDK 13.12.2013 "nothing provides libgudev-1.0.so.0 "

2013-12-13 Thread christopher . lamb
Hi Juha Thanks for your help so far. The machine for which I reported this problem is an MBA running OSX 10.8.4 I have now deinstalled and reinstalled the Sailfish SDK several times with no joy. I always end up with a Qt Creator that has no Sailfish Templates, no Kits, and sees no Qt vers

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread christopher . lamb
Hi Hendrik Have you seen this? http://qt-project.org/wiki/Performance_tip_Lists The general advice is to keep the delegates is lightweight as possible, and to use Loaders for anything needed later (e.g. onClick) Chris Zitat von "Hendrik Borghorst" : Hello folks, I've got a problem with l

Re: [SailfishDevel] (silica)listview without model?

2013-12-15 Thread christopher . lamb
Hi Wim Of course a ListView (Silica or otherwise) requires a model. Without a model the View would not make much sense 8-) The Listview documentation shows this. https://sailfishos.org/sailfish-silica/qml-sailfishsilica-silicalistview.html I suspect the ContextModel documentation is over-si

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread christopher . lamb
Hi Hendrik My feeling is also that you have stumbled upon a bug. Your update with the visible = false crossed mine. My understanding was that all delegates are created when the ListView is created / Loaded. I see no reason at all why the ListView should go on a creation spree when it become

[SailfishDevel] journalctl workaround to see console.log

2013-12-16 Thread christopher . lamb
Hi All As reported in a previous thread, the latest SDK release does not spool console.log output to the QtCreator application output. journalctl has been suggested as a workaround. Having experimented with journalctl, Is it possible that console.log output to journalctl either gets lost

Re: [SailfishDevel] C++ and QML Integration: SetContextProperty with the latest SailfishOS Templates

2013-12-16 Thread christopher . lamb
Hoi Thomas Thank you for your answer. Zitat von "Thomas Perl" : As described on the QScopedPointer documentation page: http://qt-project.org/doc/qt-5.0/qtcore/qscopedpointer.html I found that a few nights ago. I could not get to sleep, and it occurred to me that there might be some docume

Re: [SailfishDevel] journalctl workaround to see console.log

2013-12-16 Thread christopher . lamb
Hi Kalle I was playing around with a SilicaListView with a 100 items, with console.log output on Component.onCompletion and onDestruction, and was scrolling up and down (in the Emulator). What we really need is console.log back in the QtCreator application output where it belongs. This sh

[SailfishDevel] Displaying additional QML Subdirectories in the QtCreator Projects Browser

2013-12-16 Thread christopher . lamb
Hi all In my Qt Projects I like to structure the QML files into subdirectories according to their purpose, similar to the way that Sailfish provides "cover" and "pages directories". As an example my current project has a "gui" and a "backend" directory. In older version of the Sailfish t

Re: [SailfishDevel] Quickfix for SailfishOS SDK available today.

2013-12-17 Thread christopher . lamb
Hi Jarko Super, I am very glad this was given priority. Can you confirm, we can just update, no need to completely deinstall like previous SDK updates? Chris Zitat von "Jarko Vihriala" : Hello again, Today at 10:00 UTC we will publish an update for Qt Creator (SailfishOS SDK IDE), whic

Re: [SailfishDevel] journalctl workaround to see console.log

2013-12-17 Thread christopher . lamb
Thanks Kalle(s) Sounds like lots of fun, but now the Console.log to QtCreator thing has been fixed, best left alone ... Ciao Chris Zitat von "Kalle Vahlman" : 2013/12/17 Kalle Jokiniemi : Hi, On Mon, 2013-12-16 at 22:29 +0200, Kalle Vahlman wrote: 2013/12/16 : > Hi All > > As reported

Re: [SailfishDevel] Quickfix for SailfishOS SDK available today.

2013-12-17 Thread christopher . lamb
Hi Juha Unfortunately the Updater is giving me the error "The hash of one component does not match the expected one" and Could not download meta information for component: org.merproject.tools. Error: Bad hash. I am running 1312 on OSX Chris Zitat von "Juha Kallioinen" : Hi, this Qt C

Re: [SailfishDevel] Quickfix for SailfishOS SDK available today.

2013-12-17 Thread christopher . lamb
Hi Juha The Upgrade was successful, and console.log is back! Thanks Chris Zitat von "Juha Kallioinen" : Hi, sorry about that, there was a mishap in copying the updated files to the correct path. The mishap is being fixed and the update will be available shortly. Best regards, Juha O

Re: [SailfishDevel] GPS Location service (QTLocation or QTPositioning)

2013-12-17 Thread christopher . lamb
Hi Hendrik What do you mean by "bad location data?" Qt Positioning / Location should be way to go. The old Mobility Location (from which Positioning / Location descends) worked on the Nokia N9 Chris Zitat von "Hendrik Borghorst" : Hello guys, I want to develop some kind of MTB track

[SailfishDevel] Sailfish SDK Qt Creator based on Qt 4.8.4

2013-12-18 Thread christopher . lamb
Hi all Just out of idle curiosity: why is the Sailfish SDK Qt Creator 2.8.1 based on Qt 4.8.4? By comparison for my Harmattan development I use a Qt Creator 2.6.1 from Qt Project built in Dec 2012 that was based on Qt 5.0.0 Chris ___ SailfishO

Re: [SailfishDevel] Sailfish SDK Qt Creator based on Qt 4.8.4

2013-12-18 Thread christopher . lamb
Hi I beg to differ: Qt Creator 3.0 is not the first Qt Creator based on Qt 5.x When Qt 5.0 was released on 19 Dec 2012, it came with QtCreator 2.6.1, based on Qt 5.0. This is the installation I referred to at the start of this thread. http://blog.qt.digia.com/blog/2012/12/19/qt-creator-2-6

Re: [SailfishDevel] Is there any way to report a bug?

2013-12-18 Thread christopher . lamb
Hi Filip Seconded. I also think that a less than perfect bug tracker would be better than non at all. Surely the primary purpose of this mailing list is Sailfish Development, but at the moment it is being flooded with bug reports that may be of interest to Developers @ Jolla, but are pro

Re: [SailfishDevel] Is there any way to report a bug?

2013-12-18 Thread christopher . lamb
Hi Filip, Nils et al I think the second mailing list dedicated to reporting bugs would be a good first step, it fits with my suggestion of starting with a simple system / process and evolving from that. On the otherhand I am actually pleased that this mailing list has thus far had no rule

Re: [SailfishDevel] Is there any way to report a bug?

2013-12-19 Thread christopher . lamb
Filip Do you have a link? Googling finds nothing for this. Chris Zitat von "Filip Kłębczyk" : W dniu 18.12.2013 20:15, christopher.l...@thurweb.ch pisze: Hi Filip, Nils et al I think the second mailing list dedicated to reporting bugs would be a good first step, it fits with my suggestion o

[SailfishDevel] Status of Pre-order phones

2013-12-19 Thread christopher . lamb
Hi I know this isn't strictly a developer question, but as having real hardware is an important step in testing I am going to ask in any case. So far I have not seen hide-nor-hair of my pre-order Sailfish Phone. The pre-order was confirmed on 25th November. From at least last Thursday unt

Re: [SailfishDevel] Is there any way to report a bug?

2013-12-19 Thread christopher . lamb
Mikko Thank you. I did not spot that because it was hidden at the bottom of a press release with a completely different title .. Chris Zitat von "Mikko Rapeli" : On Thu, Dec 19, 2013 at 01:43:05PM +0100, christopher.l...@thurweb.ch wrote: Do you have a link? Googling finds nothing for th

Re: [SailfishDevel] Status of Pre-order phones

2013-12-19 Thread christopher . lamb
Hi Jukka I saw that, but given that in Finland the Christmas holidays start on the 24th Dec, the window to achieve that target is shrinking rapidly ... Chris Zitat von "Jukka Eklund" : Yes, see: http://jolla.com/media/documents/131219_Press_Release.pdf "After solving some technical logist

Re: [SailfishDevel] Status of Pre-order phones

2013-12-19 Thread christopher . lamb
Ciao Andrea That was new to me, but I have now entered my details. It looks like Switzerland and Norway have received no deliveries at all yet. And when it is finally sent, then there will be the additional delay of the Swiss Customs ... Patience is required. Chris Zitat von "a.gra...@gm

Re: [SailfishDevel] Status of Pre-order phones

2013-12-19 Thread christopher . lamb
Hi Chris As Finland is an EU member and the UK is (however unwilling) still also an EU member (but not Schengen) they are both part of the Customs union, and you will pay no duty on goods from Finland or any other EU member. Switzerland is the other way round. It is part of Schengen so we

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-12-19 Thread christopher . lamb
Janne Zitat von "Janne Kokko" : More instructions in this very useful blog post I found: http://flyingsheeponsailfish.blogspot.fi/2013/11/deploying-additional-packages-to.html Thanks for the kind words. I am glad that article helped. I wrote some of it up a mountain in South Africa sitting

Re: [SailfishDevel] python development

2013-12-19 Thread christopher . lamb
Hi David You are pointing your finger at the wrong place. The blame (if any), belongs to Qt and not Jolla. Jolla made the sensible decision not to reinvent the wheel. Instead they chose to leverage Qt, which is a strong contender as the de-facto multi-platform development toolkit, and one

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-12-19 Thread christopher . lamb
Hi Sylvain Thanks of the tip on zypper not being installed (on the Emulator). That seems to be a feature of the latest SDK release, I am 99% sure that on earlier releases zypper was on the Emulator by default. I wonder if this omission from the Emulator is by design or by mistake. In the me

Re: [SailfishDevel] python development

2013-12-19 Thread christopher . lamb
Hi Sven I have just done some digging into the history of Java and Qt, and was surprised to find that Qt is longer in the tooth than I had thought. Interestingly both Qt and Java emerged at roughly the same time. Trolltech [1] starting to write Qt in 1991. The earliest date I can find for

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-12-20 Thread christopher . lamb
Hi Thomas Thanks for pointing me to that. So it a change by design, part of the migration to PackageKit that I hint at my post. Chris Zitat von "Thomas Tanghus" : "Note that the zypper package manager is only available in the build engine virtual machine and in the Scratchbox 2 environm

Re: [SailfishDevel] QtContacts available

2013-12-21 Thread christopher . lamb
Hi Matthias As the error says, QtContacts is not installed. Try this article on tips on how to install to the SDK and Emulator http://flyingsheeponsailfish.blogspot.ch/2013/11/deploying-additional-packages-to.html It focuses on Location and Positioning, but is the methods used are relevant f

Re: [SailfishDevel] How to get contacts and sms through Qt(C++)

2013-12-22 Thread christopher . lamb
Hi myinjun If you search through the archives of this mailing list, especially for posts with my name you will find some stuff on Sailfish and SMS. I was able to get SMS working (as far as that is possible) on the Emulator using the Telepathy libraries. Note however that currently that wi

[SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-22 Thread christopher . lamb
Hi Max No problem, your english is excellent. What is your mother language? I am visiting family for Christmas at the moment, so I will keep this first mail short. I will try and post again this evening. So first, SMS: In my app I only need to send smses, and I do it using the Telepathy li

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread christopher . lamb
Hi Matthias Here are a few more hints You connected to the SDK with a key, but to the Emulator without. A key can be used for both for passwordless access. //Connect to SDK ssh -p -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost ssh -p -i ~/SailfishOS/vms

Re: [SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-22 Thread christopher . lamb
Hi Jonni Thanks, I mentioned that at earlier in this thread. However I think that the harbour rule is too strict. I think there is a legitimate case for apps that clearly state that their purpose is to send SMSes, and have their own send button --> i.e. SMSes are only sent with explicit pe

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread christopher . lamb
Zitat von "Mikko Leppänen" : Hi, Use smart pointers on app, view and udp, and remove those delete statements. -Mikko As discussed in this recent thread https://www.mail-archive.com/devel@lists.sailfishos.org/msg01778.html Chris ___ SailfishOS.or

Re: [SailfishDevel] How to get contacts and sms through Qt(C++) : Contacts

2013-12-22 Thread christopher . lamb
Hi Maxinjun Now to answer the Contacts part of your question. So far I have only briefly played with Contacts on Sailfish / Qt5, and I was interested in accessing contacts from QML rather than C++. I was mainly interested to see if a bug that I had found in Qt Mobility Contacts (Qt4.8) was

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread christopher . lamb
Hi Matze It is confusing at first, but once you "get it", it is easy! I cover that in the chapter "Installing By Hand to the SDK Build Engine via the Control Center" in: http://flyingsheeponsailfish.blogspot.ch/2013/11/deploying-additional-packages-to.html You are right there are 2 VMS, t

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-12-22 Thread christopher . lamb
Hi Sylvain I've just got it working! I added qt5-plugin-geoservices-nokia to the "PkgBR" and "Requires" sections of the Yaml file, et voila, Belle Paris sur L'emulatuer Have fun Chris Zitat von "Sylvain B." : Hello, I come back here because I am definitely not able to display

Re: [SailfishDevel] QtContacts available

2013-12-23 Thread christopher . lamb
Hi Marko Thanks, that has deepened my understanding, and confirms what I had guessed / inferred. I will update my blog later with a simplified version of your explanation. Chris Zitat von "Marko Koschak" : Hi Matze On So, 2013-12-22 at 21:50 +0100, christopher.l...@thurweb.ch wrote: Th

Re: [SailfishDevel] emulator closes due to 0% battery

2013-12-23 Thread christopher . lamb
Carlos I think I saw in a previous thread that the Emulator takes the host's battery status. As both my laptop and the Emulator are currently showing 54%, this is probably true. Chris Zitat von "Carlos J Mazieri" : Hello guys, I just installed Sailfish SDK, my laptop does not have bat

Re: [SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-24 Thread christopher . lamb
Hi Bernd Thanks, I am aware of that, but I think it is an inelegant solution, acceptable ad interim as a workaround, but not longterm. I have not yet seen the SMS app on a real device, but the one on my Nokia N9 has a tiny send button. My app is designed for emergency use, must be easy to

Re: [SailfishDevel] How SB2 works ... was Re: QtContacts available

2013-12-24 Thread christopher . lamb
Hi David Thanks, lots of detail to chew on. I will work some of it into my blog on installing packages, and very probably some the rest into a new post on SB2 itself. Chris p.s: a Happy Christmas to you, and all members of this list Zitat von "David Greaves" : Warning - lots of detail

Re: [SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-25 Thread christopher . lamb
Hi Bernd Thanks for your interest. I understand that there is a strong need to prevent apps that send SMSes without the user's consent (a security issue), or to premium SMS numbers, thereby defrauding the user. But we should not throw out the baby with the bathwater. There will be apps w

Re: [SailfishDevel] Hardware API

2013-12-25 Thread christopher . lamb
Nisse I expect it should be possible to control the led flash via QtCamera, but in earlier threads people have indicated that this is not (yet) working. Chris Zitat von "Nisse Karlsson" : Hello, I've looked around a bit but can't find any API to the hardware, or any API for that matter.

Re: [SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-25 Thread christopher . lamb
Andrey That solution would be perfect for me, I would have no problem with supplying the code. The sources for the Harmattan version are out there on Github already, and the Sailfish sources soon will be. In theory it might even be possible to separate the SMS bit of my app, including the

[SailfishDevel] Project tries to use spec file from another project

2013-12-28 Thread christopher . lamb
Hi I have now had the following strange behaviour a few times in QtCreator. I have 2 projects open in QtCreator. The first, "abstractui", is a library on which the second "landed25_QT5" depends. Most of my development is in "landed25_QT5", but ever so often I need to make a change to "abs

Re: [SailfishDevel] Project tries to use spec file from another project

2013-12-28 Thread christopher . lamb
Hi I have been able to isolate this behaviour a bit more. It seems to happen if, having changed things in the library project abstractui, the current active file displayed in the QtCreator Editor pane belongs to abstracuti (e.g. the the qml file I just changed), even though the project I a

[SailfishDevel] Boosted process (pid=721) was terminated due to signal 11

2013-12-28 Thread christopher . lamb
Hi All My application quits unexpectedly during startup, apparently due to "signal 11". This seems to be caused by turning the GPS on, as the error occurs immediately after the app does that. I experience this on the Emulator, so it maybe down to the Emulator not having a real GPS. (my

Re: [SailfishDevel] Boosted process (pid=721) was terminated due to signal 11

2013-12-29 Thread christopher . lamb
Curiouser and curiouser. Today the app still exits on GPS Startup, but the Signal 11 error is not being reported, even though this was repeatedly the case last night. In the meantime I have created a throwaway demo SatInfoSourceDemo illustrating the problem. (Basically the standard Sailfish

Re: [SailfishDevel] Boosted process (pid=721) was terminated due to signal 11

2013-12-29 Thread christopher . lamb
Ciao Luciano Thanks for the ideas. I agree this is most likely down to a missing "real gps" on the emulator. If that is the case then it would be fantastic if the emulator shipped with a GPS emulator (like the one on the Nokia simulator). My constructor now looks like this: SatInfoSource:

<    1   2   3   4   5   >