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

[SailfishDevel] QML only apps: sailfish-qml

2013-12-22 Thread Matt Austin
Hi sailors, The Harbour FAQ states in regards to .desktop files: What do I have to put into the Exec= line? Exec=$NAME (for Silica applications using C++ and QML) or Exec=sailfish-qml $NAME (for QML-only Silica applications without an application binary) However, I don't appear to have

[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

Re: [SailfishDevel] adding libraries to sailfish app.

2013-12-22 Thread Sadika Sumanapala
thank you. is there a way to deploy compiled shared libraries with app? On Sat, Dec 21, 2013 at 11:02 PM, Andrey Kozhevnikov coderusin...@gmail.com wrote: static link object file to your binary On 21.12.2013 23:28, Sadika Sumanapala wrote: My qt application uses 3rd party library which

[SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
Hi, On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). No errors. But I cannot find any trace of app anywhere. Terminal log: [nemo@localhost ~]$ pkcon install-local checklists-1.0.1-1.i586.rpm Installing files [=] Waiting in queue

[SailfishDevel] IPv4 multicast support

2013-12-22 Thread Tilman Vogel
Hi! CONFIG_IP_MULTICAST is listed as disabled in /proc/config.gz. I think, this might be the reason why the Panasonic Remote 2 android app running in Alien Dalvik cannot see my TV set. I already did a route add -net 224.0.0.0/24 dev wlan0 but that alone doesn't help with the issue. Also, there

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread David Greaves
On 22/12/13 13:43, Wim de Vries wrote: Hi, On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). No errors. But I cannot find any trace of app anywhere. Any rpm installs to standard locations qpm -ql checklists will tell you more David

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread Matthias Barmeier
Hi, thanks a lot. Your link and this one: http://flyingsheeponsailfish.blogspot.de/2013/10/alpha-2-migrating-landed.html has working hints on what packages must be installed and how to make QtContacts work. If someone else needs this here is my way of QtContacts enabling: ssh to mer build

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
thx, but qpm is not on Jolla: -bash: qpm: No such file or directory and find does not find my app files either BTW: same for deployment via SDK (via WLAN) thanks r wim On 12/22/2013 03:03 PM, David Greaves wrote: On 22/12/13 13:43, Wim de Vries wrote: Hi, On Jolla phone. I did a local

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Andrey Kozhevnikov
rpm maybe? not qpm :) On 22.12.2013 20:42, Wim de Vries wrote: thx, but qpm is not on Jolla: -bash: qpm: No such file or directory and find does not find my app files either BTW: same for deployment via SDK (via WLAN) thanks r wim On 12/22/2013 03:03 PM, David Greaves wrote: On 22/12/13

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Kondou
Am 22.12.2013 15:42, schrieb Wim de Vries: thx, but qpm is not on Jolla: -bash: qpm: No such file or directory and find does not find my app files either BTW: same for deployment via SDK (via WLAN) thanks r wim qpm is a typo, try rpm

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
rpm says it is not installed. verbose output during install: [nemo@localhost ~]$ pkcon -v install-local checklists-1.0.1-1.i586.rpm 15:49:45PackageKit Verbose debugging enabled (on console 1) 15:49:45PackageKit notify::connected 15:49:45PackageKit

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Jonni Nakari
On 22.12.2013 15:43, Wim de Vries wrote: On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). Seems like you are trying to install a package that is for wrong architecture. On the device you should use armv7hl rpm files. You can create armv7hl rpms from the

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

2013-12-22 Thread itviewer
Hi Chris Thank you very much for your guidance,It's very helpful for me and I will try as your use-case. My mother tongue is Chinese and my English is so-so. Wishing you and your family a very merry Christmas. maxinjun From: christopher.lamb Date: 2013-12-22 18:55 To: itviewer;

[SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Cant figure out what I am doing wrong but it seems mainloop does not shutdown when using QQuickView like below. And I can't figure out what signal I should conect to? Or more exact what signal is sent from sailfish when app is closed? AFAIK SailfishApp is just a subclass of QQuickView but

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Andrey Kozhevnikov
use lastWindowClosed signal instead of destroyed and int retval = app-exec(); delete x; delete y; return retval; On 22.12.2013 21:22, Mikael Hermansson wrote: Cant figure out what I am doing wrong but it seems mainloop does not shutdown when using QQuickView like below. And I can't figure

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

Re: [SailfishDevel] adding libraries to sailfish app.

2013-12-22 Thread Mike Sheldon
On Sun, 2013-12-22 at 19:11 +0530, Sadika Sumanapala wrote: thank you. is there a way to deploy compiled shared libraries with app? Just include them in your rpm and set the -rpath value for your binary at compilation time (alternatively you could be setting LD_LIBRARY_PATH at runtime from your

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

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Changed to: QObject::connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit())); still it does not leave mainloop On Sunday 22 December 2013 21.36.47 Andrey Kozhevnikov wrote: use lastWindowClosed signal instead of destroyed and int retval = app-exec(); delete x; delete y; return

[SailfishDevel] missing libc.so.6 on Jolla (again)

2013-12-22 Thread Wim de Vries
Hi, After local install I get: [nemo@localhost ~]$ pkcon -v install-local checklists-1.0.1-1.armv7hl.rpm 17:23:20PackageKit Verbose debugging enabled (on console 1) 17:23:20PackageKit notify::connected 17:23:20PackageKit notify::connected 17:23:20

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Wim de Vries
Not sure if correct, but I use view-close() (through a QML2C++ call) and all ends. In your case possibly: QObject::connect(view, SIGNAL(destroyed()), view, SLOT(close())); On 12/22/2013 05:45 PM, Mikael Hermansson wrote: Changed to:

Re: [SailfishDevel] Wishes for further updates

2013-12-22 Thread Ville Tiensuu
I would like to add some: - Fix twitter and google accounts - Facebook group chat support - Advanced network settings (IP-address setting, dns etc.) - Skype support - Fix the yandex store registration.. - OS X support (Jolla doesn't show up on Mac) -- Ville Tiensuu vi...@tiensuu.eu

Re: [SailfishDevel] missing libc.so.6 on Jolla (again)

2013-12-22 Thread Martin Grimme
Hi, this happens if x86 binaries end up in the ARM package. Be sure to clean up your build environment first before building the package for ARM. Martin 2013/12/22, Wim de Vries wsvr...@xs4all.nl: Hi, After local install I get: [nemo@localhost ~]$ pkcon -v install-local

Re: [SailfishDevel] Wishes for further updates

2013-12-22 Thread Kondou
Am 22.12.2013 18:03, schrieb Ville Tiensuu: I would like to add some: … Let me add some as well :) - Changelog in Jolla Store - Limit/Warning for mobile data after a quota of, say 500 MB, sort of like android - A bit more detailed battery screen in the settings menu, time running on battery,

Re: [SailfishDevel] Wishes for further updates

2013-12-22 Thread A. Wickert
I found some other things to improve: - Subscribe to all or selected directories in mail client. At the moment only inbox is monitored for new mails. - Landscape Mode everywhere (Mail, Browser, Store etc.) On 22/12/13 18:09, Kondou wrote: Am 22.12.2013 18:03, schrieb Ville Tiensuu: I would

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Wim de Vries
On 12/22/2013 06:03 PM, Wim de Vries wrote: Not sure if correct, but I use view-close() (through a QML2C++ call) and all ends. In your case possibly: QObject::connect(view, SIGNAL(destroyed()), view, SLOT(close())); Just found out: the above works on the emulator; not on Jolla. On

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Seems there is no point use the connect signal in normal case? Because the app shall close correct without those. However in my case it was related to that Cover.qml file had errors that made the app mainloop not shutdown correcly. But my other application STILL don't want to shutdown

[SailfishDevel] QDnsLookup always fails

2013-12-22 Thread Alexander Stante
Hello, I'm trying to get SRV DNS records via QDnsLookup. Unfortunately it always fails. The function errorString() returns Resolver functions not found. I'm basically doing the same as in the example provided in QDnsLookup documentation. Looking at the source code of QDnsLookup for Unix

Re: [SailfishDevel] Harbour reporting works or not?

2013-12-22 Thread AL13N
There was some public (or at least semi-public) announcement that download counters in harbour are going to work some time soon. Hence they don't work right now. It would be cool if Harbour UI would at least have some sort of a label just a demo for now on the elements that are not

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread AL13N
I like it! But then again I knew I would ;) However as it is a beta release of the software, here's my list of issues collected so far. Mail client: [...] - Cover shows 0 unread although both current folder and inbox has unread msgs. this is probably not the unread, but recent, ie: new

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Mikko Leppänen
Hi, Use smart pointers on app, view and udp, and remove those delete statements. -Mikko Mikael Hermansson m...@7b4.se kirjoitti 22.12.2013 kello 20.24: Seems there is no point use the connect signal in normal case? Because the app shall close correct without those. However in my

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread christopher . lamb
Zitat von Mikko Leppänen mleppa...@gmail.com: 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

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread Matthias Barmeier
Hi Chris, please help me with my confusion :) My understanding was that the build engine is the VM located at port . I used zypper because I read this in the blog post. I thought that it does not make a difference if I install it via SDK Control center, zypper or pkcon. Is this right ?

[SailfishDevel] Share via EMail - Bug or works as expected?

2013-12-22 Thread A. Wickert
Hi, I have multiple mail clients set up and I tried to share some pictures via Share - Email. It creates a new email with the last account set up and i cannot select another one. I expected that I can select an email account from which the mail would be sent in the Share dialog or set a

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)

Re: [SailfishDevel] Share via EMail - Bug or works as expected?

2013-12-22 Thread Kimmo Lindholm
You can change account from the email, click the ... (aka more button), then click From -field, it should show your accounts. -kimmo - I have multiple mail clients set up and I tried to share some pictures via Share - Email. It creates a new email with the last account set

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, the

Re: [SailfishDevel] Share via EMail - Bug or works as expected?

2013-12-22 Thread A. Wickert
AAAH, ok have not seen the ... so far ;). Thank you :). But it would be great to select a default one :). Regards, Annika On 22/12/13 21:37, Kimmo Lindholm wrote: You can change account from the email, click the ... (aka more button), then click From -field, it should show your accounts.

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread David Greaves
Yes - all reasonably accurate. But then there's the SDK control centre: * Open Control Centre in SDK (the SailfishOS button on the left - don't ask why) * Go to Targets * Click manage by SailfishOS-armv7hl or SailfishOS-i486-x86 * type contact into the search box (no return) * hmm, too many, add

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Valerio Valerio
HI, On 21/12/13 20:05, Kimmo Lindholm wrote: I can confirm having both of those issues. But the weird thing is that when a friend was showing me his Jolla, I'm quite sure he had Twitter account showing up on the notification screen stuff from Twitter on it. Twitter is working fine for me, my

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Kimmo Lindholm
did you recreate the account after latest exchange update ?(along with update1) There was a bug related to servers that prefer Exchange version 14 that we don't support, causing not all contacts and events to be synchronized, but this is fixed now, we are not aware of such problems anymore.

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Valerio Valerio
On 22/12/13 21:33, Kimmo Lindholm wrote: did you recreate the account after latest exchange update ?(along with update1) There was a bug related to servers that prefer Exchange version 14 that we don't support, causing not all contacts and events to be synchronized, but this is fixed now, we

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Thomas Tanghus
On Sunday 22 December 2013 20:06 AL13N wrote: i would not like that, cause i have 78325 unread emails ... Clean up you inbox man ;) Notes: - When sharing a note by email it gets sent as an attached VNOTE with the body base64 encoded and with a vcf extension which I thought was

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Kimmo Lindholm
I don't work at care :), it takes some time to reach me in case it's needed, my colleagues are very busy working there :) Good that they are busy :) do you have first and last name for those in the server side ? can be that they are under some category you don't expect in people app ? I

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

2013-12-22 Thread Sylvain B .
Hello, I come back here because I am definitely not able to display a simple Map :( What I have done is: - Take the HelloWorld example generated by QtCreator. - Replace the content of SecondPage.qml by the code below. And I just get an empty page with the following error message in the logs:

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Valerio Valerio
On 22/12/13 22:02, Kimmo Lindholm wrote: I don't work at care :), it takes some time to reach me in case it's needed, my colleagues are very busy working there :) Good that they are busy :) do you have first and last name for those in the server side ? can be that they are under some

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

2013-12-22 Thread Bob Jelica
Hi, I’m not quite finished with the tutorial, but since you seem to be in dire need of instructions, here goes: https://github.com/b0bben/SailfishOS_MapTutorial App works, docs are work-in-progress. Holla at me if you’re having trouble with anything. //bob On 22 Dec 2013, at 23:11, Sylvain

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

2013-12-22 Thread Bob Jelica
Chris: you’re very welcome to re-publish the tutorial on your page, since it’s becoming a defacto standard page for awesome tutorials/info about Sailfish. I’ll clean the docs a bit more in the coming days, so it’s more noob-friendly. //bob On 20 Dec 2013, at 09:20, christopher.l...@thurweb.ch

Re: [SailfishDevel] Wishes for further updates

2013-12-22 Thread W. Dobbe
I can agree on some of the mentioned items: 1) Landscape mode in web browser 2) Skype integration (maybe only chat at first) 3) Copy and paste in email app 4) Let usb connected phone show up in Mac finder regards, Winfried On 22 Dec 2013, at 18:55, Superpelican superpeli...@zoho.com wrote:

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread Marko Koschak
Hi Matze On So, 2013-12-22 at 21:50 +0100, christopher.l...@thurweb.ch wrote: The SDK Build Engine is a little bit more tricky. Once you SSH in, zypper is available, but if you zypper at that level, all you are doing is adding stuff to the operating system. Within this VM is SB2, which

[SailfishDevel] Forcing application to stay active and prevent screensaver.

2013-12-22 Thread Samuli Järvinen
Hi, I know this is something that more often than not should not happen. However I could not be more annoyed when the screen goes blank and I’m watching for example my position on screen and waiting for a gps fix. So short question. Is there a way to prevent application from going background

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

2013-12-22 Thread Osmo Salomaa
23.12.2013 00:30, Bob Jelica wrote: I’m not quite finished with the tutorial, but since you seem to be in dire need of instructions, here goes: https://github.com/b0bben/SailfishOS_MapTutorial App works, docs are work-in-progress. Holla at me if you’re having trouble with anything. Thanks,

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

2013-12-22 Thread Sylvain B .
Chris: I replied to you in private by error, so I am resaying here in the mailing-list: Thank you a lot, that's what I was missing!! It works now! I was sure that it was simple, but there is just not enough (not at all?) doc for Qt newbies like me =( Bob: Wow, it may not be finished, but your

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Thomas Tanghus
On Saturday 21 December 2013 20:56 Martin Kolman wrote: 21.12.2013 20:44, Thomas Tanghus: - Twitter: Says »Creating account« then nothing. Doesn't ask for credentials. - XMPP: Silently fails on certificate error. Doesn't show up as an option in messages. I can confirm having both of

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Kimmo Lindholm
- Under [1] it says: Tapping on the word Type lets you switch between SMS and IM. I see no Type anywhere in the app? [1] http://jolla.com/guide/#sec-10 This is shown only when started to enter a message (and before you have entered anything) to a person whos account has both SMS and IM

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Thomas Tanghus
On Monday 23 December 2013 01:25 Thomas Tanghus wrote: On Saturday 21 December 2013 20:56 Martin Kolman wrote: 21.12.2013 20:44, Thomas Tanghus: - Twitter: Says »Creating account« then nothing. Doesn't ask for credentials. - XMPP: Silently fails on certificate error. Doesn't show

Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread Thomas Tanghus
On Monday 23 December 2013 00:44 Kimmo Lindholm wrote: - Under [1] it says: Tapping on the word Type lets you switch between SMS and IM. I see no Type anywhere in the app? [1] http://jolla.com/guide/#sec-10 This is shown only when started to enter a message (and before you have entered

Re: [SailfishDevel] adding libraries to sailfish app.

2013-12-22 Thread Sadika Sumanapala
Thank you On Sun, Dec 22, 2013 at 9:27 PM, Mike Sheldon m...@mikeasoft.com wrote: On Sun, 2013-12-22 at 19:11 +0530, Sadika Sumanapala wrote: thank you. is there a way to deploy compiled shared libraries with app? Just include them in your rpm and set the -rpath value for your binary at

Re: [SailfishDevel] QML only apps: sailfish-qml

2013-12-22 Thread Matt Austin
On 23 December 2013 00:03, Mike Sheldon m...@mikeasoft.com wrote: One thing to be aware of is that it doesn't work exactly like qmlscene where you can just specify an arbitrary qml file to display, instead you have to install your main qml file to /usr/share/yourapp/qml/yourapp.qml then run