You better use Format.formatDate (provided by Silica) to format the
time, like this component does:
/usr/lib/qt5/qml/com/jolla/settings/system/CurrentDateSettingDisplay.qml
Cheers,
-Slava
Hi,
Some time ago I proposed to add a clock to the actdead charging UI in TJC
since it would allow a qui
I feel a bit sceptical.
If the system supports plugins, i.e. shared libraries discovered at
runtime and getting loaded into the process context without executable
knowing it in advance (like Qt does), then the application doesn't even
know what kind of resources it actually needs at runtime to
e code (if
available) is not a very user friendly solution, and asking Jolla to
hand verify all apps in the store isn't very scalable either.
On Wed, Sep 7, 2016 at 11:23 AM, Slava Monich <mailto:slava.mon...@jolla.com>> wrote:
I feel a bit sceptical.
If the system
Hi Andrew,
To make matters worse, the plugin requirements may change over time,
meaning that a system upgrade may break the app because the app
didn't request access to some features required by the updated plugins.
Application shouldn't know/care about how does plugin work. Plugins
are part
Hi Dylan,
From QML, the easiest way is probably to monitor
/run/state/providers/connman/Internet/NetworkState and
/run/state/providers/connman/Internet/NetworkType with ContextProperty
object. Google for "qml contextkit contextproperty" to find some
examples. That way, statefs monitors connma
Please excuse my ignorance but how can the server possibly tell the
difference between the browser and a webview sending exactly the same
HTTP requests? Just curious.
Cheers,
-Slava
There is no working solution because google prohibited oauth
authorization via webviews
2016-10-16 15:02 GMT
Regarding power consumption.
I doubt that you need to run you RNG or whatever when the screen is
locked and the display is switched off. That's one direction in which
you can optimize your code, i.e. pause the game when the screen is
locked and the display is off and resume it when the display
As far as I understand, QtLocation license terms have changed and that
prevents it from being upgraded to 5.6 which is its first stable
release. That's why it's not allowed and won't be allowed even after the
rest of Qt is upgraded to 5.6.
Qt 5.6 is coming with the next update. Those modules t
I wonder whether all platforms are hit by it or whether Ubuntu
Touch complies with the new terms and, as a result, has an
advantage when compared to SFOS in this case.
Best wishes,
Rinigus
On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
&g
I believe rpm automatically detects the dependencies, even if they are
not in the spec. Removing the dependency from the spec might not help.
There may be some hackish ways of removing a dependency from the rpm
headers but I don't think that it would be a good idea. Better to spend
time on hack
On 06/03/17 10:49, Martin Kampas wrote:
Hi Rinigus,
Did you consider this recommendation?
"To simplify matters, SQLite is also available as a pre-packaged
amalgamation source code file: sqlite3.c. The amalgamation is a single
file of ANSI-C code that implements the entire SQLite library. The
Hi all,
This should allow to force the use of the particular cellular technology:
https://git.merproject.org/mer-core/ofono/merge_requests/112
Obviously, there's no UI for this option and there won't be any time
soon, but once this patch is merged, you will be able to enable it from
the comma
means, it strictly allows only
3G)?
Thank you
Claudio
Message: 1
Date: Fri, 14 Apr 2017 20:36:50 +0300
From: Slava Monich
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?
Messa
merge request patch still gives you useful feedback?
Date: Thu, 20 Apr 2017 18:41:49 +0300
From: Slava Monich
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?
Message-ID
Network status detection in Qt 5.6 is unreliable when the system is
switching between wifi and mobile data. That results in
QNetworkAccessManager sometimes thinking that network access is disabled
when in fact the device is online. At some point I attempted to fix it
(https://git.merproject.org
dback?
Date: Thu, 20 Apr 2017 18:41:49 +0300
From: Slava Monich
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?
Message-ID: <719e202b-892a-29d7-404f-e60e60a54...@jolla.com&
un, Apr 23, 2017 at 11:33 AM, Slava Monich <mailto:slava.mon...@jolla.com>> wrote:
Network status detection in Qt 5.6 is unreliable when the system
is switching between wifi and mobile data. That results in
QNetworkAccessManager sometimes thinking that network access is
disabl
ve done it differently but we have what we have.
Cheers,
-Slava
Thanks for the quick reply;
I was actually hoping to collect some more background intel on this issue.
On Sun, Apr 30, 2017 at 10:56 PM, Slava Monich <mailto:slava.mon...@jolla.com>> wrote:
Unfortunately, no, it
And keep in mind that starting with Sailfish OS 2.1.1 non-privileged
processes won't be able to set this property (as well as do a few other
connman things, e.g. manipulate the services). In order to be able to
use the restricted D-Bus APIs you would have to ask the launcher to run
your app und
Yes, in that respect the changes are backward compatible. Whatever you
are getting from GetProperties can be monitored by handling the
PropertyChanged signals. You just need to be prepared that SetProperty
and other calls (Connect, Disconnect etc.) may respond with
net.connman.Error.PermissionD
Hi Harri,
You need to install libsailfishapp-launcher package on your phone. Add
"Requires: libsailfishapp-launcher" to your .spec file so that this
package gets installed automatically together with your app.
Here is the source for the launcher, for your reference:
https://github.com/sailfi
house do it itself?
Stupid question maybe: why aren't the repositories up-to-date by default?
Thanks!
--------
*De :* Devel de la part de Slava
Monich
*Envoyé :* mercredi 18 octobre 2017 08:53
*À :* devel@lists.sailfishos.org
aa wrote:
On Fri, Oct 20, 2017, at 00:41, Slava Monich wrote:
... but you can install an rpm by somehow transferring it to the phone
(e.g. by downloading it with the browser) and then tapping it in
Settings -> Transfers. You would have to allow installing untrusted
software first on the Setting
ed sources", could the behaviour be changed?
----
*De :* Devel de la part de Slava
Monich
*Envoyé :* vendredi 20 octobre 2017 09:46
*À :* devel@lists.sailfishos.org
*Objet :* Re: [SailfishDevel] Missing /usr/bin/sailfish-qml
On 18/01/18 17:35, Lukáš Karas wrote:
Timed is required by mKCal, see:
https://git.merproject.org/mer-core/mkcal/blob/master/src/src.pro#L44
I do something wrong probably, I already have iodata in image:
https://github.com/Karry/mer-devel/blob/master/pim-docker/Dockerfile
I'm not quite sure wh
Hi Michael,
If you ssh into the phone directly as root, try logging in as nemo first
and become root via devel-su. There should be no difference but there is
one (hint: id -a).
Cheers,
-Slava
Thanks, Lukas, but it didn't help
getcap /usr/sbin/avahi-daemon
/usr/sbin/avahi-daemon = cap_net_r
Hi Laurent,
It's connman who maintains the data counters - and those are shown on
Settings -> Data counters page. They are fairly accurate, although not
100%. Besides, some operators may exclude some traffic from their data
usage calculation, the device can't possibly know anything about that.
Hi!
Hello. I'm developing application with liboauth dependency. This library
exists in repos and I have installed it in SDK for building and running app in
emulator. On phone this library exists too.
But this library is prohibited for harbour.
What the proper way to package my application for ha
nload *.so file from engine and package it with my application? Or
I need something more to do this?
2018-03-29 18:21 GMT+03:00 Slava Monich <mailto:slava.mon...@jolla.com>>:
Hi!
Hello. I'm developing application with liboauth dependency.
This library
ex
A nice thing about dconf is that your app is notified when settings are
changed by another process, e.g. the settings app.
Settings applets are not allowed in harbour though :)
Cheers,
-Slava
Ok, got it working, thank you.
But since I want this to be as portable as possible (I manage to make
You need to build against old SDK to keep your binary compatible with
older releases of Sailfish OS. Mer OBS still has 1.0.5 target available
for armv7 (and 1.1.something for i486), use that to build your rpms. And
generally, use OBS to build rpms for the store :)
Cheers,
-Slava
Hi,
When I
There's also ofono D-Bus interface (the original source of pretty much
everything related to telephony) and libqofono library:
https://git.merproject.org/mer-core/libqofono
Harbour apps can't link to it though but there's nothing wrong with
compiling bits of it into your app.
Cheers,
-Slava
Have you tried debugging with a debugger (run the app under gdb and
examine the backtrace when it gets stuck)? That seems to be the obvious
first step to me.
Cheers,
-Slava
We debugged a failure to initiate destruction further. As suggested
by @wdehoog, I added
Connections {
ta
QML/Python app, so it is not clear what I should
attach the debugger to. sailfish-qml?
Rinigus
On Sun, Sep 9, 2018 at 12:35 PM Slava Monich <mailto:slava.mon...@jolla.com>> wrote:
Have you tried debugging with a debugger (run the app under gdb
and examine the backtrace when it gets s
Those who don't like the idea of hardcoding 3264 (or any other number)
in their code, can query GL_MAX_TEXTURE_SIZE instead:
https://github.com/monich/harbour-foilpics/blob/master/src/FoilPicsImageProvider.cpp#L57
Cheers,
-Slava
when i use Image with big images, i use code like this:|
Imag
Hi,
Hi,
thank you for answering. I see both available in the SDK (I still have
3.0.2.28)
kf5bluezqt-bluez5-5.24.0+git15-1.3.2.jolla.i486
libbluez-qt5-0.1.26-1.3.2.jolla.i486
but I can not find source for libbluez-qt5 on mer. I find a note in
Changelog for SFOS 2.2.1
Can someone point to the r
On 22/06/2019 23:39, Tone Kastlunger wrote:
Looks like merproject is closed.
Hmm? Havent heard of this; it's available at git.sailfishos.org ;
Yeah, don't panic! It's just a re-branding :)
AFAIK old merproject.org credentials should work at sailfishos.org. At
least mine did.
Cheers,
-Slav
On 22/06/2019 23:39, Tone Kastlunger wrote:
Looks like merproject is closed.
Hmm? Havent heard of this; it's available at git.sailfishos.org ;
Yeah, don't panic! It's just a re-branding :)
AFAIK old merproject.org credentials should work at sailfishos.org. At
least mine did.
Cheers,
-Slava
https://git.sailfishos.org/mer-core/libmce-qt/blob/master/lib/include/qmcebatterystatus.h
On 13/07/2019 00:30, Tone Kastlunger wrote:
Btw, your patch is not building on my sdk:
Where does the #include come from?
As you can see, I should have everything installed in the target for
it to build;
Even though it's not directly related to the original question but IMO
there's isn't much sense in building Harbour apps against the latest
available SDK. That would almost certainly make your app incompatible
with older releases of SFOS. I build my Harbour (and OpenRepos) apps
against the olde
n ICU that
resulted in separate builds for current and older Sfos versions (not sure its
SFOS to blame here, though). So, targeting older versions of Sfos will not work
if you hit these cases.
Cheers,
Rinigus
On Friday, 26 July 2019, Slava Monich wrote:
Even though it's not directly related
I don't think there's an "official" way of maintaining backward
compatibility but I'd humbly suggest something like if ("color" in icon) ...
e.g. I do this kind of thing to notifications:
Notification {
id: clipboardNotification
previewBody: "Copied to clipboard"
Com
{
if("color"inimage.icon)
image.icon.color=undefined;
}
}
results in lots of warnings (Cannot assigned [undefined] to
QColor).
Maybe there is some var I can check in QML to state that SFOS
version is &
a line with
icon.color = undefined :
file:///... Error: Cannot assign [undefined] to QColor
So, it seems that this property was introduced before 3.1.x, but not
used in 3.0.3.
Rinigus
On Wed, Aug 14, 2019 at 1:07 PM Slava Monich <mailto:slava.mon...@jolla.com>> wrote:
Hi Rin
You need to download Sailfish-Apps-icon-template.zip (by pressing
Download zip button), it has those templates in all kinds of vector
formats too.
Cheers,
-Slava
Hi,
The icon templates in https://sailfishos.org/design/icons/ are offered in 86x86
only (the pngs at least), while expected re
Hi Anton,
I would say the easiest way is to find a connman service which matches
the following criteria:
1. "Type" property value is "wifi"
2. "State" property value is "online" or "ready"
Then the value of its "Name" property would be SSID of the AP you're
connected to, converted to text as
I use this image provider in my Jolla store apps to colorize grayscale
svgs according to the theme:
https://github.com/monich/harbour-lib/blob/master/src/HarbourImageProvider.cpp
Sample usage:
https://github.com/monich/harbour-matkakortti/blob/master/qml/MainPage.qml#L11
and registration:
ht
Most likely, Harbour isn't set up (yet) to handle 3.2.0 specific
packages. The most recent version in "OS version limit" drop-down is 3.0.3.*
Does your app really require SFOS 3.2.0? I personally prefer building
applications compatible with SFOS all the way down to (at least) 2.0, to
cover lar
_ZN5Buteo13PluginManagerC1Ev is Buteo::PluginManager::PluginManager()
$ c++filt _ZN5Buteo13PluginManagerC1Ev
Buteo::PluginManager::PluginManager()
There's no such thing:
https://git.sailfishos.org/deloptes/buteo-syncfw/blob/master/libbuteosyncfw/pluginmgr/PluginManager.h#L96
These are av
How about this?
Dialog {
SilicaListView {
anchors.fill: parent
PullDownMenu { /* MenuItems */ }
header: Column {
width: parent.width
DialogHeader {
title: "Title"
}
SearchField {
width: par
Just so you know, boosters may have to go because of this change in glibc:
https://sourceware.org/bugzilla/show_bug.cgi?id=24323
It has been reverted in Sailfish OS:
https://git.sailfishos.org/mer-core/glibc/commit/df05690
but at some point boosters may get replaced with simple fork() wrapp
51 matches
Mail list logo