Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-13 Thread christopher . lamb
Hi All I now have a working work-around: My app can (finally) send SMSes via Telepathy again. Previously I was using ContactMessenger object. Now I have found a vector using the ConversationChannel object. It took a lot of hacking around due to my weak understanding of c++, but in the end I

Re: [SailfishDevel] OS X SDK install fails

2015-08-12 Thread christopher . lamb
maybe there's a problem with 4.3.30? I am running successfully with 4.3.26 on Yosemite (10.10.5). However both the SDK and OSX have been through several upgrades / re-intalls over the past few years. Chris Am 2015-08-12 14:02, schrieb Michał Radwański: Hello. I can't install SDK on OS X Yo

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-12 Thread christopher . lamb
Hi Matt I went through the release history using this link: https://github.com/nemomobile-packages/telepathy-qt/releases Given that the numbers of the releases in Git are very similar to the number scheme of the packages on my device, I assume (always dangerous) a link. My main focus now i

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-11 Thread christopher . lamb
Answering my own (academic) question: The package install history can be found in /var/log/zypp/history [root@Jolla nemo]# cd /var/log/zypp/ [root@Jolla zypp]# grep -n "telepathy-qt5|" history 3423:2014-04-11 20:22:58|install|telepathy-qt5|0.9.3+git7-1.4.2|armv7hl||jolla|2591a70ed6d6a2ff08317e0

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-11 Thread christopher . lamb
Am 2015-08-12 04:52, schrieb Matthew Vogt: Hi Chris. Although I can't speak with any authority on Telepathy, I agree with your assessment. I think that nemomobile issues are handled using the Mer bugzilla these days, at https://bugs.merproject.org/ Thanks, Matt _

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-11 Thread christopher . lamb
Hi Matt Having spent some hours pouring over the nemomobile TelepathyQt / Mission-Control code in Github, it looks to me like TelepathyQt and MissionControl master branches are out of sync (and hence the packages on my Jolla will also be out of sync). https://github.com/nemomobile-packages/te

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-10 Thread christopher . lamb
Hi Matt I have now added the debug packages to the device: Am 2015-08-10 02:15, schrieb Matthew Vogt: Mission control appears to implement the "org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1" interface now - see: https://github.com/nemomobile-packages/telepathy-qt/commit/6f017

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-09 Thread christopher . lamb
Hi Mat Am 2015-08-10 02:15, schrieb Matthew Vogt: Mission control appears to implement the "org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1" interface now - see: https://github.com/nemomobile-packages/telepathy-qt/commit/6f0177bc024f3f7bce94c0abc283fba1c3b8a0d1 Perhaps your tel

[SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-09 Thread christopher . lamb
Hi all I am revisiting a Sailfish OS app that I have not touched for over a year! Despite many Sailfish updates in that time, most of it still worked, apart from its most important function: sending SMSes. The SMS functionality was achieved by a few lines of C++ calling Telepathy. The code

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-06 Thread Christopher Lamb
refer lazy loading Pages, which will be initialized when it is needed. Mit freundlichen Grüßen, Michael Neufing Christopher Lamb schrieb am 16:40 Donnerstag, 5.Juni 2014: Hi Markus In my app I chose to instantiate all my Pages in the same place. Each of the pages has a declaration in a se

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread Christopher Lamb
Hi Markus In my app I chose to instantiate all my Pages in the same place. Each of the pages has a declaration in a separate qml file (e.g. MainPage.qml, AreaSelectionPage.qml). With this architecture none of the declarations need to know about the previous or next page. It is not their conc

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread Christopher Lamb
Sali Markus I would also love to see a pop() method with parameters so I can pass info back to the previous page, jus like the push() As a workaround I just set the page's properties directly immediately before the pop() call e.g: AreaSelectionPage { id: areaSelectionPage

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-03 Thread Christopher Lamb
Chris On 03.06.14 17:15, Christopher Lamb wrote: Hi Juha I have edited my /etc/hosts to look like this: 127.0.0.1 localhost SailfishSDK 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost Now in the office, with WIFI turned off, and no ethernet plugged

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-03 Thread Christopher Lamb
Hi Juha I have edited my /etc/hosts to look like this: 127.0.0.1 localhost SailfishSDK 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost Now in the office, with WIFI turned off, and no ethernet plugged in, I can deploy as RPM successfully! So for the momen

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-03 Thread Christopher Lamb
machine, the it stays reachable for another while once it does the same again. - Saija Lähetetty iPadista "Christopher Lamb" kirjoitti 3.6.2014 kello 9.58: Hi Jarko Still on the train, now with the Jolla Wifi Hotspot active, and I can build without problems. This indicates that

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-02 Thread Christopher Lamb
Hi Jarko Still on the train, now with the Jolla Wifi Hotspot active, and I can build without problems. This indicates that I get the problem when no network is connected. In this case I am deploying to the Emulator, so no network should be required Grüsse Chris On 02.06.14 10:23, Ja

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-02 Thread Christopher Lamb
Hi Jarko Have got on the train, started deploying, and get the problem. Below is output from the SDK and QtCreator. I am starting to wonder if the problem is related to networking in some way. This morning I successfully deployed at home - connected to the home wireless network. Now I am o

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-06-02 Thread Christopher Lamb
:* Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server." Hi I for once happen to get the issue every once in a while even during binary deployment. Best, tk On Thursday, May 29, 2014, Christopher Lamb mailt

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-05-29 Thread Christopher Lamb
Hi All I am still suffering from this issue, and getting more and more frustrated! Right now "it" is refusing to deploy as RPM to the Emulator. Is anything I can do to better debug / understand this issue? The timeout settings previously suggested are probably red-herrings, as they apply to t

Re: [SailfishDevel] Acceptable Behaviour Guidelines - you decide

2014-05-27 Thread christopher . lamb
Hi Stefano Sorry If I distracted the line of argument with the forum vs. ML vs. TJC thing... To directly answer your / David's question: I have been in the ML since pretty early on, and I have never felt "oh I wish this list was moderated, get me out of here ...". Indeed I have welcomed t

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-26 Thread Christopher Lamb
Hi all I am pleasantly surprised at the volume of traffic resulting from a thread that I innocently kicked of that the weekend. Thanks for the active and balanced discussion. I probably won't be able to take an active part in the IRC meeting this afternoon, as it is during the Swiss working

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-25 Thread Christopher Lamb
Hi Thomas Thanks for your input. I suspect the whole "mailing-list vs forum" thing will be a matter of taste and experience. Both have their plus sides and downsides. I am now trying out Thunderbird, but will hold of commenting until I have got used to it. On 24.05.14 19:32, "Thomas B. Rü

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-24 Thread christopher . lamb
Hi Lauri That is an interesting perspective: my feeling / experience was exactly the opposite: the chief weakness of mailing lists is that they have no usability whatsoever: I get just a flat list of unorganised mails swamping my inbox. That of course may be down to the weaknesses of the

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-24 Thread christopher . lamb
Ignore my last - I absentmindedly clicked "Send" before writing the content! My suggestion is that rather than splitting into multiple mailing lists, which does not really cure anything, you replace the mailing lists with a forum. I agree it would be crazy to have both. Martin points out th

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-24 Thread christopher . lamb
Hi Iekku Zitat von "Iekku Pylkka" : Ahoy, We have been pondering the idea about forum. Truth to be told, we are too small company to follow and contribute to that as well. We are following/contributing to several IRC channels, together.Jolla.com, this mailing list and I'm bombing our tec

Re: [SailfishDevel] Acceptable Behaviour Guidelines - you decide

2014-05-23 Thread christopher . lamb
Hi Jarko before we jump to splitting into multiple SF mailing lists, I wonder has any thought been given to replacing the lists with a developer' forum? I fear that multiple lists would not really help - I would end up subscribed to all of them (both those that I am very interested in,

Re: [SailfishDevel] qt5 ?

2014-05-23 Thread christopher . lamb
The more accurate question is when will SailfishOS be based on Qt 5.2 - or dare I say it, 5.3 8-) ? If I recollect correctly the current Qt level is "not quite Qt 5.2" Zitat von "mikete...@gmail.com" : Wow thanks for the info, plenty of good news! I'm impressed by how much u r bleeding edg

Re: [SailfishDevel] Right to silence / General Mailing List

2014-05-23 Thread christopher . lamb
+1 Zitat von "Panu Artimo" : I'm starting to think this whole thread is another instance of the problem that caused the initial problem in the first place. +1 plus for creating a "general" mailing list for subjects not directly related to software development and technical issues. _

Re: [SailfishDevel] Acceptable Behaviour Guidelines - you decide

2014-05-22 Thread christopher . lamb
Seconded. I could not have put it better myself. Since the early days I have enjoyed the very open nature of this forum where pretty much anything goes that is vaguely Jolla / Qt / Open Source / technical. From my recollection the number of threads that struck me as "definitely better els

Re: [SailfishDevel] Some problems since 1.038+ update.

2014-04-28 Thread christopher . lamb
Hi all There was a thread on this way back in December last year: https://lists.sailfishos.org/pipermail/devel/2013-December/001804.html HtH Chris Zitat von "Luca Donaggio" : I think you should use QScopedPointers in your main: QScopedPointer app(SailfishApp::application(argc, argv));

Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-04-27 Thread christopher . lamb
Hi Thanks. I found a well hidden {1} timeout setting in the preferences / devices and increased this from the default 2 secs to 10 secs. This does seem to help, but as always with sporadic problems only time will tell if this is a fix, or if the problem is just dormant for a while. What

[SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."

2014-04-26 Thread christopher . lamb
Hi All I am suffering from sporadic bouts of the error: "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server" One moment I can be happily hacking and deploying code to my Jolla without error. Then I make a small change to the code, try to deploy, and bing! t

Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread christopher . lamb
Hi Juha and Mikael For what it is worth, to kill some time while a batch of beer is brewing, I installed Kubuntu 14.04 in a VM, and then the April SDK. In my case the Emulator does work in Kubuntu 14.04 - though it does take inordinately long to do so (maybe down to the multiple layers of

Re: [SailfishDevel] OSX sdk issue (was maces sdk issue)

2014-04-17 Thread christopher . lamb
Hi Juha This evening I did an SDK uninstall / install on a box running OSX Maveriks. The old SDK was 13 Dec 2013. This time the VMs were fully removed as expected Chris Zitat von "Juha Kallioinen" : On 17.04.2014 12:08, christopher.l...@thurweb.ch wrote: Note on OSX, even if you do a clean u

Re: [SailfishDevel] problem with package dependencies

2014-04-17 Thread christopher . lamb
Iosif Have you tried creating a new (throwaway) project that has nothing other than the dependencies in the .yaml / spec files? I have just done this, with only BuildRequires: pkgconfig(sdl2), and the app builds and deploys without error to the emulator. Both SDL2 SDL2-devel packages are

Re: [SailfishDevel] OSX sdk issue (was maces sdk issue)

2014-04-17 Thread christopher . lamb
Hi Juha before you ask, I am fairly sure that the VMs were not running during the uninstall ... I probably would not even have noticed, had I not got into the habit of having the VirtualBox GUI app open all the time (due to sporadic SSH Timeout problems that will be a subject of a later t

Re: [SailfishDevel] OSX sdk issue (was maces sdk issue)

2014-04-17 Thread christopher . lamb
Note on OSX, even if you do a clean uninstall & reinstall as recommended in the release notes, the "old" SDK and Emulator VMS are not deleted. However this is not a real problem, the installer installs the new VMs next to the old, and the old VMs can be easily removed using the VirtualBox

Re: [SailfishDevel] Two prolblems: #1 Telepathy qt5 and #2 OpenSSL

2014-04-16 Thread christopher . lamb
Hi UV Many moons ago I wrote a blog on installing additional packages http://flyingsheeponsailfish.blogspot.ch/2013/11/deploying-additional-packages-to.html My project also uses Telepathy on Sailfish, so this may also help. Here is a link to the yaml file which included Telepathy stuff. htt

Re: [SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread christopher . lamb
Hi Mohammed thanks The varied permission on the qml / js files on my host probably reflect that the project originated in pre-sailfish days, and thus the files have come from various sources / versions of Qt Creator / edited with different text editors etc. since then. I have now set all

Re: [SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread christopher . lamb
Zitat von "Juha Kallioinen" : Hi Juha On my host the access permissions were apple-pip:javascript christopherlamb$ cd /Users/christopherlamb/QTProjects/landed/landed26_QT5/landed26_QT5/qml/javascript apple-pip:javascript christopherlamb$ ls -ahl total 72 drwxr-xr-x 7 christopherlamb staff

Re: [SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread christopher . lamb
Hi Andrey Thanks for the fast answer Given that we are talking about cross-platform development - developing on one and deploying to another I am not sure that is always possible. What if my development host was Windows? And as a developer I want to worry about writing code, not all the

[SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread christopher . lamb
Hi All I have just installed the April SDK update, and have opened an existing app, and am trying to deploy to my Jolla. The app worked with the previous SDK release, and is already installed on the phone. If I deploy as "Deploy by copying Binaries" then thinks work as expected, and the

Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future

2014-04-15 Thread christopher . lamb
Hi David As we are in danger of taking this thread in a direction that the OP CDW probably did not intend I'll keep it short(ish) 8-) You are right that NTP is very tricky when VMs are involved. VMs need exactly the right NTP config to work properly (e.g. to jump the time quickly afte

Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future

2014-04-14 Thread christopher . lamb
Hi Thomas Earlier this year in addition to my normal day job I took over responsibility for a server farm of over 50 servers both real and virtual. Their clocks, system and hardware were all over the place. This lead to strange knock on effects, like Samba not being able to authenticate u

Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future

2014-04-14 Thread christopher . lamb
Chris you should clarify what you installed ntp on: your rebuilt workstation or in the sdk? I am assuming the former, but from David's "suboptimal" answer I assume he assumes the latter ...8-) Cheers Chris Zitat von "David Greaves" : On 14/04/14 14:49, Chris Walker wrote: On Mon,

Re: [SailfishDevel] No QSerialPort

2014-03-27 Thread christopher . lamb
Hi Wim Sailfisch made me smile ... Grüsse Chris Zitat von "Wim de Vries" : Thanks Chris and others, Indeed I need to use an external USB GPS and some other USB sensors. All communicate via serial ports. I gave the dmesg output txt as it is on other linux/MeeGo devices to show that I am no

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread christopher . lamb
Hi Philippe From this and other threads going back to the very early days of this mailing list it is very clear that Wim wants to connect an external GPS unit to his Jolla via cable (usb / serial) for use in the cockpit of a glider. HtH Chris Zitat von "Philippe De Swert" : Hi, As t

Re: [SailfishDevel] show/hide pulley menu items

2014-03-11 Thread christopher . lamb
It can be very difficult for the beginner to distinguish if a given QML element if "pure Qt", or from a component set like Silica. I remember struggling with this in the days of Harmattan. It would be very helpful if the Silica documentation linked the Qt Documentation, and showed inherited

Re: [SailfishDevel] slow app building

2014-03-11 Thread christopher . lamb
Hi Mike Welcome. How are you building? If you are using QtCreator, then there are 2 methods: Build by Deploying as RPM Package. Build by Deploying Binaries. According to previous posts the second of these should be faster, and is recommended for use during development when you may be frequ

Re: [SailfishDevel] Starting point for building packages

2014-02-27 Thread christopher . lamb
"Jolla Harbour currently has very strict rules" would be even more correct ;) Zitat von "Thomas Tanghus" : On Friday 28 February 2014 00:20 Artem Marchenko wrote: Also sailfish has quite strict rules on what can be used from where and what can be deployed where Jolla Harbour has very strict

Re: [SailfishDevel] QtContacts: phoneNumbers.length attribute gets lost when copied to ListModel

2014-02-27 Thread christopher . lamb
Hoi Matthew Thanks. I have now raised this bug report: https://bugreports.qt-project.org/browse/QTBUG-37139 Funnily, at least one of reasons "lost in the mists of time" is a previous bug report I raised at the start of the year: https://bugreports.qt-project.org/browse/QTBUG-35276 Grüsse

Re: [SailfishDevel] Starting point for building packages

2014-02-27 Thread christopher . lamb
Sali Tobias The Sailfish SDK / Qt Creator does much of the hard work for you. Dependencies on other libraries are specified in the .yaml file. In the archives of this forum you will find many posts on this issue. I suggest you start with a default Sailfish project, then gradually move in c

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-27 Thread christopher . lamb
Antonio Can you provide a code example, and the exact error(s) that you get. Chris Zitat von antonio.cano.go...@ovi.com: Yes, it helped thanks. My problem now is different. I have some private attributes in my C++ object. When I call the first tiem I can modify the attributes, but in the

Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread christopher . lamb
Hi Jonni I have just found an option "Automatic update" under Settings/Time and Date. Selecting that has jumped the time to be within seconds of real time. Chris Zitat von "Jonni Rainisto" : Yes, usually you get accurate time from your GSM network depending on your operator. Sometimes u

Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread christopher . lamb
Hi Jonni In my case getting rid of the latency in my home network seemed to do the trick. Having got the latency down to normal levels, I was able to upgrade the phone, use the store, activate developer mode etc. without a hitch. Interestingly though, the phone is more than 1.5 mins behin

[SailfishDevel] QtContacts: phoneNumbers.length attribute gets lost when copied to ListModel

2014-02-27 Thread christopher . lamb
Hi All I have come across some strangeness using QtContacts 5.0 on Sailfish. For various reasons partially lost in the mists of time, I copy contacts (or rather a subset of contract roles) from the ContactModel to a a normal ListModel. One of the roles copied is "phoneNumbers". This has a

Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread christopher . lamb
Hi Tony I initially had great problems upgrading my Jolla, installing stuff from the store, and even activating developer mode. After lots of hunting around, experimentation and measuring, I concluded that the problem was high latency in my home network, and the Jolla's poor tolerance for

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread christopher . lamb
Hi Antonio This works for me: //Start BloomfiltersDemo.cpp #ifdef QT_QML_DEBUG #include #endif #include #include "bloomfilters.h" int main(int argc, char *argv[]) { QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = SailfishApp::createView(); Bloom

Re: [SailfishDevel] Gui and Kernel app

2014-02-25 Thread christopher . lamb
dbus? Zitat von Randolph : Hi there one question for sailfish. When a Qt app with gui and kernel are compiled to android, then android has two apk installers, one for gui and one for kernel. But both cannot communicate in android, as this OS does not allow the communication of one app with the

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread christopher . lamb
Hi Antonio Here is a simplified example from one of my projects, showing a number of ways to expose C++ to QML. I tend to use qmlRegister when exposing C++ objects with methods, and SetContextProperty when I want to expose simple stuff like global constants only. I do things that wa

Re: [SailfishDevel] how to get qml debug output to file

2014-02-23 Thread christopher . lamb
Hi This may be related: I haven noticed that using journalctl to view system logs on the device, QML and C++ debug output is reported differently. Below is an example extract: C++ debug is reported with the application name. QML debug is reported as lipstick Feb 23 13:39:39 localhost lips

Re: [SailfishDevel] Hidden information to ListView

2014-02-22 Thread christopher . lamb
Jukka It is very easy to add multiple roles / fields with the same append command. Here is an example culled from one of my apps: var db = DB.DataModel(); var rs = db.getContacts(area_id, template_id); for(var i = 0; i < rs.rows.length; i++) { contactModel.append({"name": rs.rows.item(i).na

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-16 Thread christopher . lamb
Maybe prolonged death-throws would have been more accurate?? There are decidedly mixed messages on the Qt Project Website. http://blog.qt.digia.com/blog/2012/04/18/qt-5-c-and-qt-widgets/ http://qt-project.org/wiki/New-Features-in-Qt-5.2 Grüsse Chris Zitat von "Marcin M." : Death? The folk

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-16 Thread christopher . lamb
Dietmar Sailfish is very far from being QML only. Sailfish like all other platforms based on Qt5.X supports a rich mix of C++, QML and Javascript. The exact mix is up to you, and depends on your own experience, preferences and predilections, and of course on what you need to do. The deat

Re: [SailfishDevel] Page Status code

2014-02-12 Thread christopher . lamb
Hi CDW I also use onStatusChanged with no problems. Is it possible that the event is being called earlier than you expect? (e.g. during app startup?) I would put a console.log in the onStatusChanged handler - outside the if: onStatusChanged: { console.log("Page XXX: onStatusChanged: statu

Re: [SailfishDevel] Sideload Native App To Sailfish

2014-02-04 Thread christopher . lamb
No rooting (or jailbreaking) pr verboten-hacks required. Just put the phone into developer mode. In theory any user can do this with a few clicks. Then you can install anything that will run. However this route does imply that the user has some idea of what they are doing, just a a user in

[SailfishDevel] Recommended way to populate a LocalStorageDB from an external source

2014-02-03 Thread christopher . lamb
Hi All An architectural question: What is the the recommended approach (and harbour friendly way) to populate a LocalStorageDB on the Jolla with data from an external source? Some background to the question: My app Landed depends on a LocalStorageDB. It was always clear to me that Landed

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-03 Thread christopher . lamb
Hi all my experience is that are a vast amount of apis out there: There is all the Qt stuff, the Qt add-ons, Nemo packages, and lower-level stuff like telepathy and GST. The problem is not the lack of APIs, but the choice of APIs. Which is the best one to use?. Then if you hit on a likely

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-02 Thread christopher . lamb
Hi Aaron Adding that information proved easier than I had expected: it just took a few minutes during breakfast! void SatInfoSource::onSatsInViewUpdated(const QList &list) { int newInView = list.count(); if (newInView != _satsInView) { qDebug() << "satInfoSource.cpp: onSat

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-02 Thread christopher . lamb
Aaron I will have to write some more code to spit out the sat ids to the debug console. At the moment my SatInfoSource declarative plugin is ultra-simple, it just exposes the numbers of Sats InView and InUse, nothing more. At the moment my hypothesis is based on the circumstantial evidenc

Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.

2014-02-02 Thread christopher . lamb
Matthias I connect via ssh as user nemo by calling the following from a terminal on my development workstation: ssh -p 22 -i ~/.ssh/jolla_rsa nemo@192.168.2.17 See the link below for more details how to connect: http://flyingsheeponsailfish.blogspot.ch/2014/01/connecting-to-jolla-with-rsa-k

Re: [SailfishDevel] USB developer mode icon moved on 1.0.3.8

2014-02-01 Thread christopher . lamb
And it is compounded by the fact that the icons are displayed for a very short length of time. They should remain displayed until the user prods one, or unplugs the USB again. mfg Chris Zitat von "Tone Kastlunger" : +1 to this, this was quite a puzzle for me as well On Fri, Jan 31, 2014

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-01 Thread christopher . lamb
Hi all A slight correction to my previous post I think that the high number of Sats in View shown on the Jolla means that it is showing both GPS and Glonass Satellites, and thus gives a figure almost double of that I was used to from the Nokia N9 and classic GPS devices. Comparing variou

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-31 Thread christopher . lamb
Hi Marcel I can confirm that I am getting QGeoSatelliteInfoSource info too. SatsInUse is changing, before levelling out at 4, which is plausible as I am sitting inside. But SatsInView jumps straight to 17 and stays at 17. This figure seems less plausible to me. It maybe down to a bug in my

[SailfishDevel] Fwd: Re: ListView with SectionDelegate (Strange Behaviour)

2014-01-31 Thread christopher . lamb
Hi Norbert Thanks. I can confirm that this bug seems to be fixed. That is good. (I was trying to port a Qt5.2 Declarative ListView to Sailfish when the update arrived, so I can happily abandon that effort.) However the app in which I originally discovered this bug was reading the phone's

[SailfishDevel] USB developer mode icon moved on 1.0.3.8

2014-01-31 Thread christopher . lamb
Hi all After 1.0.3.8 I could no longer connect via USB in developer mode. I was in the middle of writing one of those "one-step-forwards-two-steps-back" emails, when I had another go, and realised that the icons shown on the jolla screen when plugging in the USB have moved. Previously th

[SailfishDevel] Fwd: Re: ListView with SectionDelegate (Strange Behaviour)

2014-01-30 Thread christopher . lamb
Hi All Just a minor clarification: The bug occurs (on Sailfish) both with SilicaListView, and with the bog standard ListView elements. Grüsse Chris - Weitergeleitete Nachricht von m.gabrielboe...@googlemail.com - Datum: Thu, 30 Jan 2014 23:57:23 +0100 Von: "Gabriel Böhme

Re: [SailfishDevel] ListView with SectionDelegate (Strange Behaviour)

2014-01-30 Thread christopher . lamb
Sali Norbert thanks for your confirmation. I have not filed a bug report with the Qt-Project, as my tests on Desktop, Android etc indicate that this is not a general Qt 5.x bug, but a Sailfish specific one. (Despite my expectations, I got expected behaviour on those platforms). My unders

Re: [SailfishDevel] Different behavior when starting application from QtCreator or Launcher

2014-01-30 Thread christopher . lamb
Luciano Is it possible that your C++ object is not defined? (and therefore the length > 0 test is failing?) Chris Zitat von "Luciano Montanaro" : Hello everybody, maybe someone may shed some light on this odd behavior: I have implemented an active cover in my train timetable application,

Re: [SailfishDevel] ListView with SectionDelegate (Strange Behaviour)

2014-01-30 Thread christopher . lamb
Hi Gabriel Thank you for taking the time to reproduce this issue. It is reassuring to know that based on the admittedly slim evidence of this issue alone I am not going completely mad! I agree that the 2 issues sound related (I will have a poke around with your code later today). Based

[SailfishDevel] ListView with SectionDelegate (Strange Behaviour)

2014-01-29 Thread christopher . lamb
Hi all I have come across some more strange behaviour. This time it is a ListView / SilicaListVew with a SectionDelegate based on FirstCharacter. For the items initially displayed this works well, with the section headers exactly where I would expect them (e.g between Anne and Babs in th

Re: [SailfishDevel] App own C++ plugin equivalent to Silica Theme

2014-01-28 Thread christopher . lamb
Hi Thomas I was hoping you would answer 8-) The .js route did occur to me, but I initially decided to make that "Plan B". As the list of UX constants will be used by most of the QML files in my project, a shared js script (i.e. defined as .pragma library) would seem to be the way to go. But

Re: [SailfishDevel] Interacting with the Sailfish Software Input Panel from code

2014-01-28 Thread christopher . lamb
Hi Pekka thanks, that's it! Now using Qt.inputMethod.show() I have found this documented as a 4.8 to 5.0 change. http://qt.apidoc.info/5.2.0/qtdoc/qtquick-porting-qt5.html I think it would be helpful if the Silica documentation of the TextArea component also referred to the SoftwareInputP

[SailfishDevel] Interacting with the Sailfish Software Input Panel from code

2014-01-28 Thread christopher . lamb
Hi all Is there any way to interact with the Jolla Software Input Panel (Visual Keyboard9 from Code? i.e. Are any signals emitted when it opens / closes? Are there any methods to open and close it? Harmattan had things like panelOpen and closeSoftwareInputPanel(); So far in Sailfish all I

Re: [SailfishDevel] White screen and no errors

2014-01-28 Thread christopher . lamb
Hi Marcin How did you deploy? Have you checked the QtCreator compile output as well as the application output? Grüsse Chris Zitat von "Marcin M." : You mean unclosed brackets? With the MeeGo components such thing always was being reported in the log... -- Marcin 2014-01-28 Gabriel Böh

Re: [SailfishDevel] SailfishOS SDK January update 2 available today

2014-01-28 Thread christopher . lamb
Hi Juha On the first attempt I got this error: " Operation Failed finished: Updating SDK Engine - exited with status 4 History: - File './noarch/sdk-harbour-rpmvalidator-1.3-10.6.1.jolla.noarch.rpm' not found on medium 'http://releases.sailfishos.org/sdk/latest/hotfixes/i486/' - Can't pro

[SailfishDevel] App own C++ plugin equivalent to Silica Theme

2014-01-28 Thread christopher . lamb
Hi All I would like to create a C++ plugin for my app to export common UX settings as constants to the QML side (Things like font sizes, margin sizes that reoccur throughout the app.) In essence I want something very similar to the functionality offered by by the Silica Theme. After som

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hi David Thanks, your guess is correct. I had not seen the option under Tools / C++. Unfortunately it does not help either. During breakfast I have found a solution: closing all projects and QtCreator, then reopening gives autocompletion with the correct updated properties / method names.

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hoi Sven thanks. The "problem" (and it is a small one only) is limited to the auto-completion. Code builds perfectly well enough. QtCreator's clean function wipes out the moc files, but seems to have no effect on auto-complete. grüsse Chris Zitat von "Sven Putze" : Hi, try to build/

Re: [SailfishDevel] LED Flash functionality on a real Jolla: using policy engine

2014-01-26 Thread christopher . lamb
Hi Mohmammed following your suggestion earlier in this thread: "You will also have to make use of resource policy engine to arbitrate access to camera." I have updated this demo: https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/GSTTorch2 to do so using nemo-qml-plugin-poli

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hi Andrey Zitat von "Andrey Kozhevnikov" : writing qmltypes file can help you :) Thanks. How is that best done with the Sailfish SDK? It does not include a qmlplugindump tool. I have found copies of qmlplugindump in other Qt installations on my workstation, but have not got them workin

[SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hi All My app exposes chunks of functionality to the QML side from C++ declarative plugins. On the QML side QtCreator gives me automatic code completion for elements exposed from such plugins, suggesting property and method names. So far so good. The trouble is, I often refactor the C+

Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread christopher . lamb
Hi Ove That's pretty much the behaviour I get, and the swipe to multitasking and back fixes things. The behaviour 1s 100% reproducible when the screen is locked during deploy, and never occurs when deploying to an unlocked screen. That the problem to do with bindings is only a wild assum

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-01-26 Thread christopher . lamb
Hi Dietmar Zitat von "Dietmar Schwertberger" : Switching to QML/Qt Quick seems a major effort and especially, it is very un-pythonic to use this mixture of two languages. There is only one language here, QML, which is an extension of javascript. Qt Quick is a set of components used by QML.

[SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread christopher . lamb
Hi all I have come across some weird behaviour on the Jolla: Bindings don't seem to work immediately after an app has deployed when the screen is locked. To demonstrate this I have created the code snippet at the end of this mail. To reproduce, create a default Sailfish project, paste the

Re: [SailfishDevel] LED Flash functionality on a real Jolla

2014-01-25 Thread christopher . lamb
Mohammed et al I have just posted the code of my demo Flashlight app to Github https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/GSTTorch2 This uses Gstreamer, and in its current form is far from Harbour compliancy. It exposes a torch to QML using the Jolla LED flash that can

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-25 Thread christopher . lamb
Hi Sven I am equally curious: Reading and rereading Bernd's mail I see " ..contacts synced to the device from some third party services..." I entered all the contacts on my phone myself (most via bluetooth from the N9). No third parties are involved at all. So surely my apps should have fu

Re: [SailfishDevel] LED Flash functionality on a real Jolla

2014-01-24 Thread christopher . lamb
Hi Mohammed That's it! It's strange how things go. Yesterday was one of those days: At work I spent hours fighting with a recalcitrant Confluence installation that refused to start properly, and the evening I could not get the GST code working properly. Today was very different. I discov

Re: [SailfishDevel] LED Flash functionality on a real Jolla

2014-01-23 Thread christopher . lamb
Hi Mohammed I have been trying to implement your suggestion, but am still having problems ... The Nokia code quoted in my original post did not have an explicit sink (and on the N9 worked without one). But following the tutorial in the link below I have added one to the my code. http://

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread christopher . lamb
Hi Damien congratulations on "getting in"! There is not such thing as a stupid question, only stupid answers 8-) Now that you can connect things by SSH, if you want to do so using an RSA key in the same way that you can connect to the emulator, here is how: http://flyingsheeponsailfish.bl

  1   2   3   4   5   >