Re: [SailfishDevel] Interact from other pages with the cover page
On 29 August 2016 at 20:29, Dylan Van Asschewrote: > If I understand it correctly I need to do the following things: > > Create an object in harbour-sailfinder.qml and give it an ID > Call the object with that ID from my current page (for example: > MainPage.qml) and assign some data to it. > Read the object out in CoverPage.qml by his ID Yep, that sounds right. In my project, I created 'Client.qml' to use as my python 'API client': https://github.com/mattaustin/gaussian/blob/qmlexperiment/qml/common/Client.qml This then gets added to ApplicationWindow, so it's accessible from anywhere: https://github.com/mattaustin/gaussian/blob/qmlexperiment/qml/silica/main.qml -- Regards, Matt. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Creating a Webapp Application with WebView
On 16 August 2014 22:14, Alessandro Portale alessan...@casaportale.de wrote: Most likely Daniel has the correct 960x540 device pixels. But I assume that he gets a devicePixelRatio of 1, which is too low for the Jolla device. With 244 PPI (I assume that's what the Jolla phone has) it should be a 2.0. What does the Jolla browser or the webview show here? http://www.devicepixelratio.com/ The Sailfish Browser on the Jolla shows a device pixel ratio of 1.5 when I visit http://www.devicepixelratio.com/ Regards, --- Matt. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] New Harbour Release with Stats
On 1 August 2014 19:42, Developer Care developer-c...@jolla.com wrote: Ahoy Dear Developers, Generally there have been some significant backend changes to the QA portion of the Harbour that should permit a smoother submission process. Great news - thanks! The first question which I immediately want to ask is if these backend updates now allow specifying a minimum Sailfish OS version for an application - and therefore if it is now possible to submit python/pyotherside applications to the Harbour? Regards, Matt. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] New Harbour Release with Stats
On 1 August 2014 20:13, Stephen Jayna stephen.ja...@jolla.com wrote: We’re really close to that, hopefully weeks not months, if I can put it like that. Hi Steve, Fantastic news, and much appreciated - thanks for the info! Regards, Matt ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] RPM-packaging for Python/QML applications
Hi Osmo, On 30 December 2013 09:01, Osmo Salomaa otsal...@iki.fi wrote: Does anyone have an example of RPM-packaging for a PyOtherSide or pure QML application? I'm not familiar with RPM. In the case of PyOtherSide should I write YAML or directly a spec file? I haven't tried this myself yet, but am interested in any guidelines that others might have. From a quick search, it looks like gpodder for sailfish os just provides the rpm .spec file: https://github.com/gpodder/gpodder-sailfish/tree/master/rpm Looking at a couple non-C++ Sailfish applications on GitHub, I see them using minimal C++ ('SailfishApp::main(argc, argv)'). Why such a travestry instead of a shell script calling qmlscene or sailfish-qml? I believe for non C++ apps, we can just call 'sailfish-qml' (qmlscene is not supported). This has some restrictions - see Mike's response from last week here: https://lists.sailfishos.org/pipermail/devel/2013-December/002076.html Regards, Matt. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour news
On 24 December 2013 06:15, Thomas Perl th.p...@gmail.com wrote: Because of the dynamic nature of Python, it's even harder to verify apps don't break with OS/library updates compared to native C/C++ libraries (where one could at least do a static check for exported symbols, etc..). Just providing the standard library as shipped with Python 3 is relatively easy to maintain, and apps can then ship different versions of modules they need. Hi Thomas. This is understandable - having Python available at all is fantastic. We can of course provide some guidelines for how to best package/bundle Python libraries (especially more complicated ones that involve C extension modules) into an application's RPM package, and make sure the bundling/packaging experience is as good as possible. Any guides would be very welcome, as I come from a python and web development background. Packaging is something I don't have much experience at. I've started making some general Sailfish Python Development notes on the Mer wiki: https://wiki.merproject.org/wiki/Sailfish/Python_Development Thanks again! Matt. ___ SailfishOS.org Devel mailing list
[SailfishDevel] QML only apps: sailfish-qml
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 sailfish-qml available: [nemo@localhost ~]$ sailfish-qml -bash: sailfish-qml: command not found And zypper can't find anything which provides it: [nemo@localhost ~]$ zypper what-provides sailfish-qml Loading repository data... Reading installed packages... No providers of 'sailfish-qml' found. Is the FAQ out-of-date, or am I missing something which should be installed? Regards, Matt ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QML only apps: sailfish-qml
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 sailfish-qml yourapp. Thanks Mike! Seems a little strange to be so tightly restricted to the location of the qml file - makes maintaining a single codebase for different platforms more difficult - especially with the harbour-appname too. Maybe I can create a symlink to main.qml. Cheers, Matt. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour news
Hi Thomas, On 18 December 2013 22:33, Thomas Perl th.p...@gmail.com wrote: 2013/12/18 dcali...@free.fr: - libxml2. As far as I know, their API is quite stable now even if it was not the case in the past (I remember having some trouble with it in 2003, but it's history now !). I've added it to the list of libs to be considered. Let's see... Do you think it likely that some python libraries are likely to be considered too? I'd like to request python-lxml. I tend to use python-lxml quite a bit in my projects, but this isn't easily bundled along with a pure-python project, as it builds against liblxml2 and libxslt. If not then I guess I'd either have to bundle a built version with my app (no idea where to begin in doing this though), or switch to a pure-python html/xml parser. Thanks! Matt ___ SailfishOS.org Devel mailing list
[SailfishDevel] Correct way of referring to Sailfish
Hi, Just a small pedantic question - when referring to Sailfish, should I be using: 1) Sailfish 2) Sailfish OS 3) SailfishOS Is there any versioning scheme I should also use when I want to say that my app works on Sailfish? Thanks, -- Matt m...@mattaustin.me.uk http://mattaustin.me.uk/ ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Cover Page Strangeness
Hi Chris, On 18 June 2013 15:34, christopher.l...@thurweb.ch wrote: I press on this, return to the app, then drag back to the home screen, this time I get a default cover page! (see attachment 2) I had the same issue, and realised that it only happened when I was using setViewport(QGLWidget()) on my QDeclarativeView. I removed this line, and the app/cover seemed to work as expected. Maybe you're using QGLWidget too? Regards, -- Matt m...@mattaustin.me.uk ___ SailfishOS.org Devel mailing list
[SailfishDevel] App feedback / showcase / examples
Hi all, I just completed my initial porting of Perth Trains over to Sailfish Silica [https://github.com/mattaustin/fremantleline/tree/development]. The application is not very mature, but is split in to an 'api' and a 'ui'. I am very aware that the entire project could do with a lot more improvement, and although I can easily recognise plenty of improvements to be made in my python/'api' side of the code, I'm much more uncertain/unsure of the pyside/qml aspects. I would welcome any criticism/feedback if anyone has the time to spare - but more importantly I was wondering if there are any particular resources or lists of community/open source Sailfish apps which I can take a look at? gPodder is a great and obvious example, and there is also the short app list on the Mer wiki [https://wiki.merproject.org/wiki/Sailfish] - but is there any kind of 'announcement' list/forum I can follow which I haven't yet discovered? I always like taking a look at how other developers have tackled things. One issue I have in particular, is that the app freezes as the departure information for the chosen station is scraped from the website. What would be the suggested way to tackle this? Do I need to jump in to playing with python threading, or is there something I can do on the qml side of things to show a 'loading' indicator? My previous attempts at showing a qml Item before updating the departurelist model didn't have any effect. Looking forward to tomorrow's announcement! Regards, -- Matt ___ SailfishOS.org Devel mailing list