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

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

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

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

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

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

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

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

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

[SailfishDevel] Harmattan to Sailfish Migration: QCamera not found

2013-04-07 Thread christopher . lamb
Hi all firstly I would like to congratulate the guys at Jolla / Sailfish for their great work so far: It's looking very promising. Maybe there is life after the N9 after all. This weekend I installed the alpha Sailfish SDK on OSX. I was quickly able to add the kits for my N9, the QEMU Har

Re: [SailfishDevel] Harmattan to Sailfish Migration: QCamera not found

2013-04-08 Thread christopher . lamb
Hi Aurindam Thank you for your kind advice. I was hoping that it was something simple, or that I was having an attack of the sillies. I had not noticed the Sailfish SDK Control Center until you pointed me to it. I have now installed the qt5-qtmultimedia-devel package, and restarted everyth

[SailfishDevel] SDK Maintenance Tool / Updater error

2013-04-08 Thread christopher . lamb
Hi All The SDK Maintenance tool gives the following error: Could not fetch Updates.xml from repository: http://jolla.cachefly.net/SailfishOSSDK/alpha/repository/mac. Error: Error downloading http://jolla.cachefly.net/SailfishOSSDK/alpha/repository/mac/Updates.xml?-885791296 - server replie

Re: [SailfishDevel] Harmattan to Sailfish Migration: QCamera not found

2013-04-09 Thread christopher . lamb
Ciao Guillermo Thanks, that cracked it, QCamera is now found - I'm onto the next error, but that is the subject of another mail. Is there any easy way of finding out in which Sailfish / Mer package a particular Qt Object lurks? On the Harmattan SDK everything was installed upfront, so I d

[SailfishDevel] Harmattan to SailfishOS Migration: Any Best Practices out there?

2013-04-09 Thread christopher . lamb
Hi All I am in the process of migrating my current Harmattan project to SailfishOS. The goal is (at least initially) to achieve a "minimum effort" migration to get my project running on both platforms from a common code base. (Later, when Sailfish devices are commercially available I can t

Re: [SailfishDevel] Harmattan to SailfishOS Migration: Any Best Practices out there?

2013-04-09 Thread christopher . lamb
Salut Lucien Thanks for your tres rapid answer! I should have said a little more about my project. It is mainly qml, with lots of custom components, some javascript & Sql, and a small amount of C++ to do things that I found no way of doing from QML (accessing the led flashlight and sending

[SailfishDevel] qt-components-devel is installed, but Qt Creator does not agree

2013-04-10 Thread christopher . lamb
Hi all. Last night I installed the mer/SailfishOs package "qt-components-devel" (which contains the "com.nokia.meego" components). However when I try to build a project using com.nokia.meego components, Qt Creator complains that the module "com.nokia.meego is not installed" After some

Re: [SailfishDevel] adding a module to the Qt-sdk

2013-04-13 Thread christopher . lamb
Hi Wim I am the process of learning this sort of thing myself... My (still somewhat hazy) understanding is that you will have to add new packages to both the SDK and the Emulator. Packages on the SDK can be managed from within Qt Creator. (You should have a SailfishOS Icon to the left of y

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-16 Thread christopher . lamb
HI Wim If I have correctly understood you, you actually have 2 projects: a) the source of the QtSerialPort project b) your own project pilotnavigator Have you tried building QtSerialPort targeting the SailfishOS? If so, what ends up (if anything) in the Sailfish SDK and Emulator VMs? Dependi

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-17 Thread christopher . lamb
Hi Wim I wouldn't get phased by the 2 Virtual machines. They are just unix boxes, and if you know your way around Ubuuntu, then they should not be too strange. I suggest you did as I did a few nights ago, connect to both with SSH (just like you would connect to a real remote Unix machine)

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-17 Thread christopher . lamb
Hi Wim I wouldn't get phased by the 2 Virtual machines. They are just unix boxes, and if you know your way around Ubuuntu, then they should not be too strange. I suggest you did as I did a few nights ago, connect to both with SSH (just like you would connect to a real remote Unix machine)

[SailfishDevel] Connecting to the Sailfish SDK / Emulator via WinSCP?

2013-04-20 Thread christopher . lamb
Hi All Has anyone succeeded in connecting to the Sailfish SDK or Emulator VMs via WinSCP? Having got a little tired of navigating on the command line, I thought I would cheat by using WinSCP. However it grumbles at the key format. The supplied conversion tool PuttyGen does recognise the f

Re: [SailfishDevel] Connecting to the Sailfish SDK / Emulator via WinSCP?

2013-04-20 Thread christopher . lamb
Hi Jonni Thanks, that works a dream from my Windows 7 laptop (next step is to get this working from a Windows 7 VM on OSX). As this took me a few stabs to get working smoothly here is a more verbose guide to connecting to the SDK and Emulator from WinSCP For those who don't know WinSC

[SailfishDevel] Missing Spec File on Build / Run

2013-04-20 Thread christopher . lamb
HI On building / running my absctractui components package I get the following errors: Building rpm/abstractui.spec for MerSDK-SailfishOS-i486-x86 grep: rpm/abstractui.spec: No such file or directory Checking dependencies... grep: rpm/abstractui.spec: No such file or directory sb2: Error: Inv

Re: [SailfishDevel] Missing Spec File on Build / Run

2013-04-20 Thread christopher . lamb
HI David Bingo! the problem (or at least one of the problems) is on the first step. I don't have an rpm folder, or a yarl file. I have now hacked my .pro file so I have both. So why were both missing? As you will have gathered from previous mails I am porting stuff from Harmattan to Sailfi

Re: [SailfishDevel] Missing Spec File on Build / Run

2013-04-20 Thread christopher . lamb
Hi David I had deliberately not used the New Project "SailfishOS Qt Quick Application Template" because I had assumed that it was intended for applications and would give me .pro settings for that scenario. So it looks like we (currently) have two approaches when developing a library targ

[SailfishDevel] mb gives error "sb2: Error: Invalid target specified, aborting."

2013-04-21 Thread christopher . lamb
Hi all I have created a Demo sailfish project in Qt Creator (New File or Project / SailfishOS Qt Quick Application) I have changed this project (Demo2) in no way, so it is completely vanilla / virgin. I want to build / run Demo2 as "Release / Install from RPM Package However it aborts with

[SailfishDevel] Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 2

2013-04-21 Thread christopher . lamb
Hi all a partial answer to my own question: Having found the source of mb here: https://github.com/mer-tools/sdk-setup/blob/master/src/mb I think it is failing at the line: grep --color=never BuildRequires "$SPEC" | sed -e '/^#.*$/d' | gawk -F: '{ print $2 }' | tr ',' ' ' | xargs sb2 -t "$TAR

[SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

2013-04-22 Thread christopher . lamb
Hi All Maybe a glimmer of light at the end of the tunnel. I have found which instance of sb2 is being called (/usr/bin/sb2), and have have extended the exit_error() function to give a little more info. I now get the following error output: [root@SailfishSDK Demo2]# mb build -t SailfishOS-i

Re: [SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

2013-04-22 Thread christopher . lamb
David, Vesku "Now this is not the end. It is not even the beginning of the end. But it is, perhaps, the end of the beginning!" Using a different user was just so obvious that it did not occur to me :-). I kind of knew it had to be something ultra simple. As you have correctly pointed out,

Re: [SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

2013-04-22 Thread christopher . lamb
Hi David I am a microstep further ...8-) logged as mersdk, and with a freshly backed Demo3 project I now get this far: Building rpm/Demo3.spec for SailfishOS-i486-x86 Checking dependencies... Loading repository data... Reading installed packages... 'pkgconfig(QtCore)>=4.8.0' not found in packag

Re: [SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

2013-04-22 Thread christopher . lamb
HI David when trying that on my laptop it is giving me errors about no more space on the device: I will reinstall the Sailfish SDK tomorrow. But it just so happens that apple-pip (my Macbook-air) has a much bigger brother Butschgi - a Mac Tower .. So on Butschgi, with project Demo4 again.

Re: [SailfishDevel] mediagallery won't work

2013-04-24 Thread christopher . lamb
Hi Wim I have just done a quick test on Apple-pip my OSX host. In my case the application opens successfully: I get pretty pictures on the SailfishOS Emulator. My output is the following: Display on requested Qml debugging is enabled. Only use this in a safe environment! Using the meego gra

Re: [SailfishDevel] mediagallery won't work

2013-04-24 Thread christopher . lamb
Hi Wim I have just also tried on my Win 7 host - which DOES NOT have the qt-mobility-devel package installed, and the project opened successfully - displaying photos on the SailfishOS Emulator. Chris Zitat von christopher.l...@thurweb.ch: Hi Wim I have just done a quick test on Apple-pi

Re: [SailfishDevel] mediagallery won't work

2013-04-27 Thread christopher . lamb
Hi Wim I can confirm that on OSX I am also missing the plugin / components package org.nemomobile.thumbnailer, as shown by the red line in QtCreator under the import statement. The error means that in your equivalent of: /Users/christopherlamb/SailfishOS/mersdk/targets/SailfishOS-i486-x86/

[SailfishDevel] Sailfish Emulator on Lubuntu: SSH not working

2013-04-27 Thread christopher . lamb
Hi All In an effort to see If I could reproduce the problems Wim reported in the thread https://lists.sailfishos.org/pipermail/devel/2013-April/000176.html I thought I would install the Sailfish SDK on a Lubuntu 11.10 virtual machine that I happened to have knocking around. (hosted on OSX)

Re: [SailfishDevel] mediagallery won't work

2013-04-27 Thread christopher . lamb
Hi Wim Here is how to do it (the hard way): 1) In QtCreator/Sailfish/Manage Targets install the package gst-plugins-base-devel. This will also add the package gstreamer-devel (These dependencies are mentioned in the src.pro file). 2) Download and unzip the sources from https://github.com/

Re: [SailfishDevel] mediagallery won't work

2013-04-27 Thread christopher . lamb
Wim A minor correction to my text below: 3) Open the project via the src.pro file and setup the project via the thumbnailer.pro (not the src.pro as stated below). Chris Zitat von christopher.l...@thurweb.ch: Hi Wim Here is how to do it (the hard way): 1) In QtCreator/Sailfish/Manage Tar

Re: [SailfishDevel] Sailfish Emulator on Lubuntu: SSH not working: Victoria in Excelsis!!!!

2013-04-28 Thread christopher . lamb
Hi Thomas Thanks for your advice I was aware of the "Agent admitted failure to sign .." know issue, but had not tried the SSH_AUTH_SOCK= workaround, as my error message is different. However in the meantime I upgraded my Lubuntu installation to 13.04. After the upgrade, I got the Agent e

Re: [SailfishDevel] mediagallery won't work

2013-04-28 Thread christopher . lamb
Hi Wim Do you still get your original error that you posted at the start of this thread? file:///opt/sdk/share/mediagallery/mediagallery.qml:0:0: Expected token `numeric literal' file:///opt/sdk/share/mediagallery/mediagallery.qml:0:0: Expected a qualified name id I assume fro

[SailfishDevel] Emulator on Lubuntu: Return from Terminal?

2013-04-28 Thread christopher . lamb
Hi All I can enter terminal mode on the SailfishOS Emulator hosted on Lubuntu (VM hosted on OSX) via right cntl + F2, but cannot return to "Gui" mode via right cntl + F1. On OSX I can both enter Terminal via Left Command + F2, and return to Gui Mode via Left Command + F1 successfully. C

Re: [SailfishDevel] Sailfish Emulator on Lubuntu: SSH not working: Victoria in Excelsis!!!!

2013-04-28 Thread christopher . lamb
Hi Jonni I did half suspect that nested vms might be a contributing factor, and was pleasantly surprised that such a setup worked in any way at all. Given the raw power of the host machine I was using, performance was not an issue in the slightest - I gave the host vm 4 cores and 4 Gbs, a

Re: [SailfishDevel] Sailfish Emulator on Lubuntu Native not working either.

2013-04-29 Thread christopher . lamb
Hi Jonni While your suggestion that nested VMs might cause the behavour I reported was plausible and sage, in this case the nested VMs thing has proved to be a red-herring. I now have a native install of Lubuntu 13.04 on an old Lenovo T61 laptop (from which I am penning this mail). This s

Re: [SailfishDevel] mediagallery won't work

2013-04-29 Thread christopher . lamb
HI wim I now have a native Lubuntu 13.04 installation, and once again I don't get your error with the mediagallery out-of-the-box. But with a little bit of sabotage, I have managed to do so, as you will see below. The installation I did on Sunday morning (in a VM) started as a 10.04, and

Re: [SailfishDevel] Emulator on Lubuntu: Return from Terminal?

2013-04-29 Thread christopher . lamb
Hi all On a Lubuntu native install (no nested VMs), I cannot reproduce this one, i.e I can switch in and out of terminal mode by right cntl + F2 / F1. Grüsse Chris Zitat von christopher.l...@thurweb.ch: Hi All I can enter terminal mode on the SailfishOS Emulator hosted on Lubuntu (VM

Re: [SailfishDevel] Sailfish OS Emulator and Windows 8

2013-05-01 Thread christopher . lamb
Hi Michal Or given that you are on Windows, the easiest native way to try in connect (and look for signs of life) could be WinSCP / Putty, as discussed in this thread https://lists.sailfishos.org/pipermail/devel/2013-April/000151.html Chris Zitat von "Jarko Vihriala" : Hello, We don't

Re: [SailfishDevel] Sailfish OS Emulator and Windows 8

2013-05-02 Thread christopher . lamb
Hi Michal By way of comparison, how is the SDK VM doing? As you have not mentioned it yet, I guess it is working normally. Does the VBox.log file (on your host) give any clues? Grüsse Chris Zitat von "Michal Prevratil" : Hello, thank you for your replies. I am sure that i have enough RA

Re: [SailfishDevel] QtMobility APIs

2013-05-03 Thread christopher . lamb
Hi Josh do you mean QAudioDevice, or QAudioDeviceInfo? Sailfish currently uses Qt 4.8.3, so the standard 4.8.3 Mobility apis and docus should apply. e.g. http://qt-project.org/doc/qt-4.8/qaudiodeviceinfo.html or http://qt-project.org/doc/qt-4.8/multimedia-audiodevices.html If I add the au

  1   2   3   4   5   >