Re: [SailfishDevel] Show limited items in listview

2018-03-19 Thread Sylvain B .
Hi, Filtering is done by overriding the filterAcceptsRow() method: https://doc.qt.io/qt-5/qsortfilterproxymodel.html#filterAcceptsRow De : Devel de la part de Oleg Linkin Envoyé : vendredi 16 mars 2018 06:56 À : devel@lists.sailfishos.org Objet : [SailfishDevel]

Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone

2017-10-20 Thread Sylvain B .
Ok, so you are also saying that the "tap-on-RPM-to-install" mechanism in Sailfish OS could do it too but it's Jolla's choice not to? Is that for security reasons? Since the user has accepted the risks by ticking "untrusted sources", could the behaviour be changed?

Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone

2017-10-20 Thread Sylvain B .
Hi Slava, Yes that's exactly what I did right after flashing: download the RPM of my app (BikeMe) from openrepos, enable "untrusted software" and click on the RPM. Since I just got a generic toast install error without info, I enabled the developer mode, retried and it worked. So I reflashed Sa

Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone

2017-10-19 Thread Sylvain B .
Hi Slava, Cool this is brought up because I have a question about that. I've installed Sailfish X, but hadn't enabled the developers mode yet, and some applications from OpenRepos didn't install because of dependencies, including this one: Status: dep-resolution-failed Extra details: nothing prov

Re: [SailfishDevel] New Sailfish Community Program is launching soon - heads up!

2016-05-25 Thread Sylvain B .
Yes Michael, that's what I was referring to. When you say on Friday "check your email on Monday", it's the next business day to me. @Luciano: Unfortunately he did: "check your emails on Monday and Tuesday *next week* " James your enthusiasm is awesome, but you are the official voice of Jolla now

Re: [SailfishDevel] New Sailfish Community Program is launching soon - heads up!

2016-05-25 Thread Sylvain B .
So here we are, Wednesday, and still nothing in our mailboxes :( Why do you announce that you will send an email the next business day if this email isn't already written in your draft folder ready to be sent? How can you miss (again) this easy, self-imposed deadline?? It's that kind of communicat

Re: [SailfishDevel] Access elements in a SilicaListView header

2015-02-16 Thread Sylvain B .
header : SearchField { > id: searchField > width: parent.width > placeholderText: "Filter" > } > } > } > > 17.02.2015 00:57, Sylvain B. пишет: >> Hi, >> I'd like to put a SearchField into the header of a SilicaListView, but I >> figured out tha

[SailfishDevel] Access elements in a SilicaListView header

2015-02-16 Thread Sylvain B .
Hi, I'd like to put a SearchField into the header of a SilicaListView, but I figured out that I can't access it from outside (I want to clear the text when the user refreshes the model). The code below will trigger a "ReferenceError: searchField is not defined": Page {     SilicaListView {  

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

2014-02-26 Thread Sylvain B .
Yes, add a "s"You declared "bloomfiltersdata" and you are trying to use bloomfilterdata... Date: Wed, 26 Feb 2014 04:02:22 -0800 From: antonio.cano.go...@ovi.com To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] QML C++ Integration not working in Sailfish Hi Andrey, The output is: Ref

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

2014-02-25 Thread Sylvain B .
No, I am able to invoke c++ methods from QML while having exposed them the exact same way. The only difference would be that my constructor is a simple "Bloomfilters()". So same question than J-P: what exactly isn't working? > Date: Tue, 25 Feb 2014 16:31:13 +0100 > From: mikel...@gmail.com > To:

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
d error when attempting to use > LocalStorage.changeVersion > > On Sun, 16 Feb 2014 17:13:11 + > Sylvain B. wrote: > > > Thanks for the report on qt-project, I just faced this exact same > > issue this afternoon (my app is not released yet but I already wanted > > to see if a DB update

Re: [SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-16 Thread Sylvain B .
connect(session, SIGNAL(opened()), this, SLOT(networkSessionOpened())); connect(session, SIGNAL(stateChanged(QNetworkSession::State)), this, SLOT(networkStateChanged(QNetworkSession::State))); On 12.02.2014

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
Thanks for the report on qt-project, I just faced this exact same issue this afternoon (my app is not released yet but I already wanted to see if a DB update will be possible). It's a shame not to be able to open the DB without specifying the version :/ Waiting for improvements on QML LocalStora

[SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-12 Thread Sylvain B .
Hello,QNetworkAccessManager does not behave like in Harmattan: when you were triggering a request while not connected to Internet, the "Select Internet connection" dialog was showing, and the request was waiting for the device to connect to the Internet.In Sailfish, triggering a request when the

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-02-04 Thread Sylvain B .
Hello! Just to let you know that the segfault related to the Map QGeoTileCache while destroying the Map is no longer occurring in 1.0.3.8. I don't know what has changed but that's cool :). Is the bug opened to qt-project.org still relevant or was it only occurring in Sailfish? The other segfa

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-28 Thread Sylvain B .
> From: aaron.mccar...@jolla.com > To: devel@lists.sailfishos.org > Date: Tue, 28 Jan 2014 11:19:12 +1000 > Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory. > > Hi, > > I replied to a duplicate email off list. > Yes sorry my bad, I originally replied only to you by m

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-24 Thread Sylvain B .
ntation fault: No such file or directory. > > Hi, > > On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote: > > I am facing some segfaults so I've decided to install GDB and the debug > > packages of some Qt5 libs on my phone (Hope that won't cause issues with > > fu

[SailfishDevel] Segmentation fault: No such file or directory.

2014-01-23 Thread Sylvain B .
Hello, I am facing some segfaults so I've decided to install GDB and the debug packages of some Qt5 libs on my phone (Hope that won't cause issues with future Sailfish updates?). But this does not help me, since they apparently aren't coming from my code. For the first, I have a back button on

Re: [SailfishDevel] [Sailfish IDE] Can't run app in Debug mode anymore

2014-01-21 Thread Sylvain B .
Ok thanks Benoît, my last attempt was indeed certainly with the previous SDK.I just found out that it is referenced in the known issues: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues#EmulatorIf I have time I will have a look at how to use GDB in command line. I just need to use the rpm

[SailfishDevel] [Sailfish IDE] Can't run app in Debug mode anymore

2014-01-21 Thread Sylvain B .
Hello, This week-end, I wanted to investigate some segfault (easily reproducible, see here: https://lists.sailfishos.org/pipermail/devel/2013-December/001707.html ) And for some reason, I found out that I am not able to run an app in Debug anymore :/ Few weeks ago it worked, but now, the Ru

Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-20 Thread Sylvain B .
nstrating this? As I’m quite sure it works for our own uses. BR, Robin On 19 Jan 2014, at 14:34, Sylvain B. wrote: Hey, My app did not want to read the some c

[SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-19 Thread Sylvain B .
Hey, My app did not want to read the some cached content it was supposed to have written in QStandardPaths::CacheLocation. To understand why, I tried to run it from the terminal, and... everything is working fine. Since we don't have logs when we run the app directly from Launcher, I updated it

Re: [SailfishDevel] Swipe lock (contd.)

2014-01-13 Thread Sylvain B .
Sorry, I wanted to reply to the message here https://lists.sailfishos.org/pipermail/devel/2014-January/002446.html directly by clicking on the mailto link, using Outlook. It seems to not work as expected :/ From: sth...@hotmail.com To: devel@lists.sailfishos.org Date: Tue, 14 Jan 2014 00:20:57

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

2013-12-23 Thread Sylvain B .
ordinate is not a type > > Hi Sylvain > > I've just got it working! > > I added > > qt5-plugin-geoservices-nokia > > to the "PkgBR" and "Requires" sections of the Yaml file, et voila, > Belle Paris sur L'emulatuer > > Ha

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

2013-12-23 Thread Sylvain B .
Hello, Indeed, the emulator apparently takes the host's battery status, but when I run it without having a battery in my laptop, it stays at 87% and works fine. Have you tried to plug a battery to see what is the behaviour Carlos? > Date: Mon, 23 Dec 2013 21:09:01 +0100 > From: christopher.l...@

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

2013-12-22 Thread Sylvain B .
PkgBR" and "Requires" sections of the Yaml file, et voila, > Belle Paris sur L'emulatuer > > Have fun > > Chris > > > Zitat von "Sylvain B." : > > > > > > > > > Hello, > > > > I come back here because I

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: Q

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

2013-12-19 Thread Sylvain B .
Bob > That would be super cool :) Janne > Thanks for your reply, but I used the same token I was using in my Harmattan app and it was not working. But I will retry this week-end after having had some sleep! And yes I already used this article to be able to install the dependencies on my emulator

[SailfishDevel] Seg fault with SilicaListView

2013-12-11 Thread Sylvain B .
Hello, I am facing a Segmentation Fault with a SilicaListView. I struggled a little to understand the cause but I finally managed to build a simple example which reproduces it. What we need: - A SilicaListView with a custom section: It works with a simple SectionHeader, but crashes when I use a