Re: [SailfishDevel] Docker build engine

2020-05-11 Thread Андрей Кожевников
sdk-assistant target list

пн, 11 мая 2020 г. в 22:43, george b :

> Hi
>
> I just installed the new SDK and selected Docker as build environment. For
> my project shmoose [1] I need some devel libs like openssl.
>
> What is the correct way to resolve this dependencies here?
>
> I tried to log into the container with:
>  > docker exec -it sailfish-os-build-engine bash
> and would like to install the dependency. But:
>  > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper in
> openssl-devel
> sb2: Error: Invalid target specified, aborting.
>
> And obviously, even if that works, it will be gone on the next shutdown of
> the docker container.
>
> Any hints here?
>
> [1] https://github.com/geobra/harbour-shmoose
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Lipstick not launching app

2020-04-13 Thread Андрей Кожевников
Hello. You're right. Show us your .desktop file to judge

пн, 13 апр. 2020 г. в 19:12, Julien Blanc :

> Hi,
>
> I’m running into a pretty annoying issue with lipstick not launching
> the application i develop anymore (occurs with 3.3, but occurs after i
> made some changes which should not be relevant).
>
> The application launch fine from a terminal, launch fine from the sdk,
> but launching it from lipstick, it never gets launched and the process
> does not show up when running top/ps & co.
>
> This seems like there could be something wrong with my .desktop file,
> but it didn't change between version 0.6 which was working fine with
> 3.3 and the dev version, which is not (i could not test dev version
> with 3.2 yet).
>
> journalctl does not show anything. There must be something wrong with
> my app, since it is the only one showing this behaviour (and it didn't
> before), but i'm puzzled as how to debug this. Any pointer would be
> greatly appreciated.
>
> Regards,
>
> Julien
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Conditional QML element

2020-04-06 Thread Андрей Кожевников
wrap inside Component and set using sourceComponent property

вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Hi all,
> In the application I maintain (gPodder) I would like to show an element
> holding Image(s) in each ListItem, depending on whether or not the ListItem
> has a property either a component with 2 images or a component with 1 image
> should be loaded (an possibly also a no image fallback).
>
> I have tried implementing this using a Loader:
> Loader {
> id: artArea
> anchors {
> left: parent.left
> }
> height: titleItem.height + subtitleItem.height
> width: titleItem.height + subtitleItem.height
>
> asynchronous: true
> source: episode_art ? "ArtArea.qml" : "CoverArea.qml"
> }
>
> However this totally tanks performance, using just "ArtArea" without the
> loader is really fast thus the issue is not the amount of images that need
> to be loaded.
> Is there a better/faster way to do this?
>
> Thanks!
> Eli
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Flatpak for Sailfish

2020-01-28 Thread Андрей Кожевников
what if you try to remove Exec from desktop file and will handle launch
only via dbus service? single dbus service will start applications.

вт, 28 янв. 2020 г. в 01:11, Dietmar Schwertberger <
maill...@schwertberger.de>:

> Hi!
>
> Single instance handling has always been broken for Sailfish OS 3.
>
> Not even different .desktop files with different Exec entries like these
> are working, as they are probably both interpreted as "python3":
>
> Exec=python3 /path/to/application/app1.pyExec=python3 
> /path/to/application/app2.py
>
> See
> https://together.jolla.com/question/193960/problem-with-excec-and-single-instance-in-desktop-files-on-sailfish-os-3/
>
>
> (Fortunately for the Python applications there's a workaround: start both
> apps within a second or so...)
>
> Regards,
>
> Dietmar
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Flatpak for Sailfish

2020-01-06 Thread Андрей Кожевников
Android side is using "remote keyboard" to show sailfish keyboard on top of
Android

пн, 6 янв. 2020 г., 9:52 rinigus :

> Morning!
>
> Re compositor issue: that has been worked around by having
> compositor-in-compositor. In theory, but I didn't look too much more than a
> day into it, we could have headless compositor rendered on gles widget
> which could be rather current, with all protocols supported. I mainly
> bailed out to keep this project feasible and getting somewhere in
> reasonable amount of time.
>
> Re keyboard: current solution is to incorporate keyboard into the app by
> adding into main window. I am waiting for Sailfish keyboard gurus to
> comment on it with the hope that we can use some kind of plugin in flatpaks
> for communication with SFOS keyboards (dbus is available, for example).
>
> Rinigus
>
> On Mon, Jan 6, 2020 at 7:55 AM Alexander Akulich <
> akulichalexan...@gmail.com> wrote:
>
>> Hi all and thank you for working on this.
>>
>> Back in 2018 I had Qt 5.9 and Qt 5.11 builds for SFOS (they are not
>> available anymore because of changes in OBS repos), but the builds
>> were not usable because the of the same issues — wayland and virtual
>> keyboard. As far as I understood, a compositor with newer wayland
>> protocol is needed to support minimize and switching back to full
>> screen (the applications were able to start, but I couldn't open them
>> again after minimize).
>>
>> On Sat, Dec 28, 2019 at 3:54 AM Damien Caliste  wrote:
>> >
>> > Thank you Rinigus for all of this. Indeed, the current main blocker
>> seems to be the fact that xdg-shell is not available in Lipstick. This is
>> linked to the ancient version of QtWayland, even not 5.6, but still 5.4 !
>> They already have a 5.9 branch in SailfishOS git (
>> https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9), but we need
>> to wait for Jolla to make the Qt switch. I don't think it's something
>> community can change on device... I hope I can be proven wrong though.
>> >
>> > Damien.
>> > ___
>> > SailfishOS.org Devel mailing list
>> > To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Close app in background with visible overlay

2019-12-02 Thread Андрей Кожевников
Hello. Please repeat your actual question. I dont understand what the
problem is and what are you trying to achieve.

вт, 3 дек. 2019 г. в 01:27, Thomas Eigel :

> Hi all,
>
> I have a quite special question: When my app (schwarzenmaker) runs in the
> background, an overlay is visible to show some kind of progress. If the app
> is closed from home screen the program keeps up running (cover disappears
> but 'ps aux' still showing the process and overlay still visible). Closing
> works as expected when the overlay is hidden beforehand.
>
> I tried listening to different signals but to no avail:
>
>   - quit, aboutToQuit: Don't seem to be emitted since the program is not
> quitting until the overlay is hidden.
>   - onStatusChanged: Is emitted when app is moved to background
> (Qt.ApplicationInactive) but no new signal when app is "closed".
>
> The code to create the overlay (which I don't fully understand) can be
> sketched as follows:
>
> m_overlayView = SailfishApp::createView();
>
> m_overlayView->setSource(SailfishApp::pathTo("qml/components/overlay.qml"));
> m_overlayView->create();
> QPlatformNativeInterface *native =
> QGuiApplication::platformNativeInterface();
> native->setWindowProperty(m_overlayView->handle(),
> QLatin1String("CATEGORY"), "notification");
> native->setWindowProperty(m_overlayView->handle(),
> QLatin1String("MOUSE_REGION"), QRegion(0, 0, 0, 0));
> m_overlayView = SailfishApp::createView();
>
> Maybe closing fails because another "window" is created. So my question
> is: Does anybody know how to detect the attempted closing of the app?
>
> Cheers,
> Thomas
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] "Floating" object

2019-11-17 Thread Андрей Кожевников
IMO this shoud not be a problem

вс, 17 нояб. 2019 г. в 01:33, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Would picture-in-picture that shows on other screens even make it through
> Jolla QA?
>
> Op za 16 nov. 2019 om 21:37 schreef Андрей Кожевников <
> coderusin...@gmail.com>:
>
>> if same app then just put it inside applicationwindow and increase z if
>> needed
>>
>> сб, 16 нояб. 2019 г. в 20:43, E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com>:
>>
>>>
>>>
>>> Op za 16 nov. 2019 om 00:26 schreef Tone Kastlunger <
>>> users.giulie...@gmail.com>:
>>>
>>>> Hmm to have video in a notification window sounds daring..
>>>>
>>> That goes too far I think I just want a video area with the video
>>> showing while the user is in the program but on a different page.
>>> When they are not in the program the cover can show the video, I don't
>>> think picture-in-picture should affect other programs...
>>> (Though I do think that exists on Android and maybe that can also be
>>> done here but great care would be needed implementing such a thing)
>>>
>>>>
>>>> On Thu, Nov 14, 2019 at 11:27 PM Андрей Кожевников <
>>>> coderusin...@gmail.com> wrote:
>>>>
>>>>> overlay? check screentapshot.
>>>>>
>>>>> пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
>>>>> es.rosenberg+sailfishos@gmail.com>:
>>>>>
>>>>>> Hi all,
>>>>>> Has anyone ever implemented a "floating" object in QML, specifically
>>>>>> I am interested in implementing a VideoOutput area that "floats" like the
>>>>>> picture-in-picture youtube in whatsapp on Android.
>>>>>> Thanks!
>>>>>> Eli
>>>>>> ___
>>>>>> SailfishOS.org Devel mailing list
>>>>>> To unsubscribe, please send a mail to
>>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>>
>>>>> ___
>>>>> SailfishOS.org Devel mailing list
>>>>> To unsubscribe, please send a mail to
>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] "Floating" object

2019-11-16 Thread Андрей Кожевников
if same app then just put it inside applicationwindow and increase z if
needed

сб, 16 нояб. 2019 г. в 20:43, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

>
>
> Op za 16 nov. 2019 om 00:26 schreef Tone Kastlunger <
> users.giulie...@gmail.com>:
>
>> Hmm to have video in a notification window sounds daring..
>>
> That goes too far I think I just want a video area with the video
> showing while the user is in the program but on a different page.
> When they are not in the program the cover can show the video, I don't
> think picture-in-picture should affect other programs...
> (Though I do think that exists on Android and maybe that can also be done
> here but great care would be needed implementing such a thing)
>
>>
>> On Thu, Nov 14, 2019 at 11:27 PM Андрей Кожевников <
>> coderusin...@gmail.com> wrote:
>>
>>> overlay? check screentapshot.
>>>
>>> пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
>>> es.rosenberg+sailfishos@gmail.com>:
>>>
>>>> Hi all,
>>>> Has anyone ever implemented a "floating" object in QML, specifically I
>>>> am interested in implementing a VideoOutput area that "floats" like the
>>>> picture-in-picture youtube in whatsapp on Android.
>>>> Thanks!
>>>> Eli
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] "Floating" object

2019-11-14 Thread Андрей Кожевников
overlay? check screentapshot.

пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Hi all,
> Has anyone ever implemented a "floating" object in QML, specifically I am
> interested in implementing a VideoOutput area that "floats" like the
> picture-in-picture youtube in whatsapp on Android.
> Thanks!
> Eli
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Correct way to implement an import/export dialog

2019-10-22 Thread Андрей Кожевников
like a caller ui? push up to export, pull down to import?

вт, 22 окт. 2019 г. в 23:29, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Hi all,
> I would like to build a dialog that allows both import and export on the
> same page or at least accessible from the same pulley menu item.
>
> At first I thought I would just have two different forms with buttons on
> the same page however according to:
>
> https://sailfishos.org/develop/docs/silica/sailfish-application-pitfalls.html/#using-buttons-instead-of-platform-style-gestures
>
> that seems to be the "wrong" way.
>
> So I wondered is there a "right" way to implement this while trying to
> stay within the SFOS UX paradigms?
>
> Thanks!
> Eli
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Silica QML objects that can have a menu property

2019-10-09 Thread Андрей Кожевников
Hi! I think you looking for ComboBox.

чт, 10 окт. 2019 г., 7:30 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Hi all,
> My question may be very simple - is ListItem the only type of object that
> may display a text on a page that can have a "menu" property? I went over
> the Silica reference quickly and I didn't find any other similar items.
>
> The reason I ask this is that I have a single item I am displaying to
> which I am adding a context menu and semantically it just seemed weird that
> I would have to put that inside of a ListItem to be able to add a menu:
> ContextMenu property.
>
> Or did I miss some other object that does support this property?
> Thanks!
> Eli
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error installing .desktop file

2019-08-20 Thread Андрей Кожевников
there is a CONFIG += sailfishapp which is doing magic by installing qml,
png and desktop files. Seems you missing that.

вт, 20 авг. 2019 г. в 10:10, Thomas Tanghus :

> Wrong quoting, mea culpa. I hate webmail
>
> "Андрей Кожевников"  – 20. august 2019 08:40
> > So, where is your pro file with relevant desktop file entry?
>
>
> I didn't mention it being in the .pro file:
>
> > These settings are copied (and modified to fit the project) from a fresh
> > skeleton made by the SDK. And that fresh project builds and deploys just
> find
> > (as opposed to the plugin library skeleton)
>
> I did subsequently try to add it as it was in the skeleton project in the
> DISTFILES section, but to no avail 
>
> Just to clarify: Between each build I run Build->Clean Project, delete
> leftover Makefiles and make sure there are no leftovers of the app on the
> device.
>
> --
> /Thomas
>
> A: Because it breaks the logical sequence of discussion
> Q: Why is top posting bad?
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error installing .desktop file

2019-08-19 Thread Андрей Кожевников
So, where is your pro file with relevant desktop file entry?

вт, 20 авг. 2019 г., 9:28 Thomas Tanghus :

>
>
> > On 20.8.2019 2.23, Thomas Tanghus wrote:
> > > I am adding a subproject to my project, and since I did, the build
> stops
> > with:
> > >
> > > + desktop-file-install --delete-original --dir
> > /home/deploy/installroot/usr/share/applications
> > '/home/deploy/installroot/usr/share/applications/*.desktop'
> > > Error on file
> "/home/deploy/installroot/usr/share/applications/*.desktop":
> > No such file or directory
> > > error: Bad exit status from /var/tmp/rpm-tmp.dspzIi (%install)
> > >
> > > I've been through google, duckduckgo and the list archive, and the only
> > thing I could find, that was slightly interesting is:
> > lists.sailfishos.org/pipermail/devel/2013-November/001118.html and that
> > doesn't really apply here?
> > >
> > > The .pro and .yaml file are at
> > gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8
> > >
> "Ville Nummela"  – 20. august 2019 06:47
> > I think the post you found from 2013 is actually quite relevant.
> >
> > Your .yaml file contains a line mentioning a .desktop file, while your
> > .pro file doesn't.
>
> These settings are copied (and modified to fit the project) from a fresh
> skeleton made by the SDK. And that fresh project builds and deploys just
> find (as opposed to the plugin library skeleton)
>
> > Do you actually have a .desktop file?
>
> Yes ;)
>
> --
>  /Thomas
>
> A: Because it breaks the logical sequence of discussion
> Q: Why is top posting bad?
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfish SDK 2.2 has been released to all users

2019-08-04 Thread Андрей Кожевников
Ssh to target and zypper ref

вс, 4 авг. 2019 г., 16:39 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> I'm still getting the same error, I ran check for updates with no effect.
>
> Op zo 4 aug. 2019 om 16:05 schreef Андрей Кожевников <
> coderusin...@gmail.com>:
>
>> It is already fixed and 3.0.1.12 repos available
>>
>> вс, 4 авг. 2019 г., 15:21 E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com>:
>>
>>> When repositories include references to minor versions that is what will
>>> happen...
>>>
>>> So does Jolla intend to fix this or we're stuck manually downgrading our
>>> SDKs?
>>>
>>> Op do 1 aug. 2019 om 11:49 schreef deloptes :
>>>
>>>> E.S. Rosenberg wrote:
>>>>
>>>> > On together.jolla.com sashikknox suggested that the problem is that
>>>> there
>>>> > are no public 3.1 repositories yet thus no packages are available to
>>>> the
>>>> > SDK and software that has dependencies fails to build.
>>>>
>>>> OK, but if 3.1.0.11 works and 3.1.0.12 does not work, it means that
>>>> this is
>>>> the case only for 3.1.0.12.
>>>>
>>>>
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfish SDK 2.2 has been released to all users

2019-08-04 Thread Андрей Кожевников
It is already fixed and 3.0.1.12 repos available

вс, 4 авг. 2019 г., 15:21 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> When repositories include references to minor versions that is what will
> happen...
>
> So does Jolla intend to fix this or we're stuck manually downgrading our
> SDKs?
>
> Op do 1 aug. 2019 om 11:49 schreef deloptes :
>
>> E.S. Rosenberg wrote:
>>
>> > On together.jolla.com sashikknox suggested that the problem is that
>> there
>> > are no public 3.1 repositories yet thus no packages are available to the
>> > SDK and software that has dependencies fails to build.
>>
>> OK, but if 3.1.0.11 works and 3.1.0.12 does not work, it means that this
>> is
>> the case only for 3.1.0.12.
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK versioning

2019-07-25 Thread Андрей Кожевников
Why you need older sdk with bugs, when you can use latest sdk with multiple
targets for older sfos versions?

чт, 25 июл. 2019 г., 20:39 Tone Kastlunger :

> +1 to this;
> I had the same issue. It's confusing if you have to reinstall from scratch
> for instance.
>
> On Thu, Jul 25, 2019 at 7:44 PM E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com> wrote:
>
>> Hi all,
>> TL;DR - if we're doing version numbers for the SDK can they at least be
>> the same as the SFOS to which they correspond?
>>
>> I assume this may have come up already in the past but I still want to
>> ask this again.
>> I noticed when recently redownloading the SDK that the versioning scheme
>> had switched twice from numbers to dates and then back to numbers.
>>
>> As a rule I am a proponent of the dates versioning system since it allows
>> me the user to easily know just how far behind I am.
>> That being said in this case I am actually a proponent of version numbers
>> with the caveat that the SDK version and the SFOS version number should be
>> the same.
>> When I was downloading the SDK I actually ended up cancelling the
>> download and double checking the file listsing to see whether I was indeed
>> downloading the most recent version because 2.x was also a SFOS version
>> once upon a time.
>> Regards,
>> Eli
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Secure storage for login data

2019-06-12 Thread Андрей Кожевников
share sample project to github pleaes


ср, 12 июн. 2019 г. в 23:30, Damien Caliste :

> Hello,
>
> Indeed, sailfish secrets allow to store encrypted data. I can send an
> example here in C++, and there are C bindings also.
>
> Damien.
>
> > Le Mercredi 12 juin 2019, Dylan Van Assche via Devel a écrit :
> > > Hi,
> > >
> > > Is there already a ready-to-use solution for storing login data (API
> keys) for apps? Ks Sailfish Secrets the way to go here
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Dynamic QML refresh (localization)

2019-05-29 Thread Андрей Кожевников
QLocale::system

If you starting application from sdk it's not using system environment, you
should set environment variables door your project manually.

ср, 29 мая 2019 г., 17:32 Tamas Miklos :

> Hi Guys,
>
>
> Thank you for your replies and comments.  I've finally given in and opted
> for ...
>
> https://wiki.qt.io/How_to_do_dynamic_translation_in_QML
>
> ... and it seems to work well.  Sadly I couldn't figure out how to detect
> the SFOS system language and use it as the default language of my app.
>
>
> Thanks,
> Tamas
>
> -Original Message-
> From: Tamas Miklos 
> Sent: Sunday, May 26, 2019 10:39 PM
> To: 'devel@lists.sailfishos.org' 
> Subject: Dynamic QML refresh (localization)
>
> Hi,
>
>
> Is it possible to dynamically update QML strings after a language change
> initiated by the user from the Settings page of my app?  In QT there's a
> QqmlEngine::retranslate() call, but I couldn't find a way to use that from
> a Sailfish app.  I've found the following page as well, but it seems way
> too overkill to my liking :)
>
> https://wiki.qt.io/How_to_do_dynamic_translation_in_QML
>
> I've also found some apps to use the PageStack replace trick to refresh an
> already rendered QML page after language change, but it also seems too
> quirky to me.
>
> Please let me know what's the best way to achieve a user-friendly way of
> changing language of my app on-the-fly.
>
>
> Thanks,
> Tamas (author of AIDA64 for Sailfish)
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Dynamic QML refresh (localization)

2019-05-27 Thread Андрей Кожевников
i had no problem using
https://wiki.qt.io/How_to_do_dynamic_translation_in_QML after disabling
default sailfishapp translations

пн, 27 мая 2019 г. в 11:57, jerome levreau :

> I came to the same issue I while time ago, also not being able (at least
> easily) to dynamically choose a key/translation at run time. I found no
> solution to those problems, adding lupdate/xml made me crazy I gave up and
> made/switched to my own translation api.
> It uses key/value with mozilla properties file and it's full dynamics,
> that really close to the solution on java software. You can switch language
> at run time too (see the sample) I'm using it on Muuzik! Mem and Footo!
> app. Here the git :
>
> https://github.com/vostoksystem/vi18n
>
> there a pri lib and a full sailfish sample app.
>
> Le lun. 27 mai 2019 à 09:53, Joona Petrell  a
> écrit :
>
>> Hi Tamas,
>>
>> Dynamic translations are tricky thing to accomplish in Qt. There is some
>> support in Qt to accomplish dynamic language change inside a Qt app, but
>> Qt-based platforms are a different story. Currently the work effort of
>> allow language change during runtime for a full platform like Sailfish OS
>> is too large to justify the investment.
>>
>> Apps normally follow platform system language, which when changed
>> unfortunately currently does a full system reboot (though could be improved
>> to only restart the system UI / desktop environment). If you provided
>> settings in-app to choose different language than the system you might be
>> able to get some kind of dynamic translation setup to work, though if you
>> are using Silica UI components those probably pull in some translations of
>> their own and may not work with the dynamic translation setup.
>>
>> Br,
>>
>> Joona
>>
>> --
>> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of Андрей
>> Кожевников [coderusin...@gmail.com]
>> *Sent:* 27 May 2019 10:41
>> *To:* Sailfish OS Developers
>> *Subject:* Re: [SailfishDevel] Dynamic QML refresh (localization)
>>
>> Hello!
>>
>> You should not use sailfishapp translations, because you won't be able to
>> uninstall translator for default system language:
>>
>> https://github.com/sailfishos/libsailfishapp/blob/master/src/sailfishapp_priv.cpp#L107
>>
>> You can copy prf content to your pro file and install translations to
>> different folder, not translations one, so sailfishapp wont preload default
>> translator
>>
>> https://github.com/sailfishos/libsailfishapp/blob/master/data/sailfishapp_i18n.prf
>>
>> вс, 26 мая 2019 г. в 23:39, Tamas Miklos :
>>
>>> Hi,
>>>
>>>
>>> Is it possible to dynamically update QML strings after a language change
>>> initiated by the user from the Settings page of my app?  In QT there's a
>>> QqmlEngine::retranslate() call, but I couldn't find a way to use that from
>>> a Sailfish app.  I've found the following page as well, but it seems way
>>> too overkill to my liking :)
>>>
>>> https://wiki.qt.io/How_to_do_dynamic_translation_in_QML
>>>
>>> I've also found some apps to use the PageStack replace trick to refresh
>>> an already rendered QML page after language change, but it also seems too
>>> quirky to me.
>>>
>>> Please let me know what's the best way to achieve a user-friendly way of
>>> changing language of my app on-the-fly.
>>>
>>>
>>> Thanks,
>>> Tamas (author of AIDA64 for Sailfish)
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Dynamic QML refresh (localization)

2019-05-27 Thread Андрей Кожевников
Hello!

You should not use sailfishapp translations, because you won't be able to
uninstall translator for default system language:
https://github.com/sailfishos/libsailfishapp/blob/master/src/sailfishapp_priv.cpp#L107

You can copy prf content to your pro file and install translations to
different folder, not translations one, so sailfishapp wont preload default
translator
https://github.com/sailfishos/libsailfishapp/blob/master/data/sailfishapp_i18n.prf

вс, 26 мая 2019 г. в 23:39, Tamas Miklos :

> Hi,
>
>
> Is it possible to dynamically update QML strings after a language change
> initiated by the user from the Settings page of my app?  In QT there's a
> QqmlEngine::retranslate() call, but I couldn't find a way to use that from
> a Sailfish app.  I've found the following page as well, but it seems way
> too overkill to my liking :)
>
> https://wiki.qt.io/How_to_do_dynamic_translation_in_QML
>
> I've also found some apps to use the PageStack replace trick to refresh an
> already rendered QML page after language change, but it also seems too
> quirky to me.
>
> Please let me know what's the best way to achieve a user-friendly way of
> changing language of my app on-the-fly.
>
>
> Thanks,
> Tamas (author of AIDA64 for Sailfish)
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] mapplauncherd/booster and C++ QML plugin

2018-12-12 Thread Андрей Кожевников
your app main lacks of Q_DECL_EXPORT, so it can't be boosted.

ср, 12 дек. 2018 г. в 21:00, Matthias Fehring :

> Hello
>
> I am using a C++ QML plugin in an application that works as expected when
> the
> app executable is called directly. But when the application is loaded via
> mapplauncherd/booster, the window is blank without any error message.
>
> So, the following works:
> /usr/bin/harbour-intfuorit
>
> But with the silica-qt5 booster the app window is blank:
> /usr/bin/invoker -s --type=silica-qt5 /usr/bin/harbour-intfuorit
>
> I also tried to use booster type "qt5", but the result is the same as with
> "silica-qt5".
>
> But what works is when I use "generic" booster type, then the app works.
>
> Now my question:
> Is that the expected behvior? Does only the "generic" booster support
> private
> C++ QML plugins? Or have i made a mistake somwhere?
>
> App code is here:
> https://github.com/Huessenbergnetz/Intfuorit
>
> QML plugin code:
> https://github.com/Huessenbergnetz/libintfuorit/tree/master/imports/de/
> huessenbergnetz/intfuorit
> 
>
> Best greetings
> Matthias
>
> --
> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
> (Friedrich Schiller - Die Räuber)
>
> Und der Buschfunk spielt gerade "Phobos Grunt" von "Turbostaat".
>
> www.buschmann23.de
> GPG-Key: 0x614C3258
> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ListView boundaries

2018-10-21 Thread Андрей Кожевников
QML listview is based on flickable, so...

вс, 21 окт. 2018 г., 23:09 Dylan Van Assche via Devel <
devel@lists.sailfishos.org>:

>
> Hi,
>
> I looked at the Qt docs of QML ListView and QML Flickable but I couldn't
> find a way to detect if the user is at the boundaries of a ListView. When
> you do that in a SilicaListView, the view fades out. How can I access that
> property?
>
> Qt 5.9 provides a special signal for this, but SFOS is still at 5.6 atm.
>
> Kind regards,
> Dylan Van Assche
>
> Sent from ProtonMail mobile
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Can not install zypper

2018-06-03 Thread Андрей Кожевников
pkcon refresh

вс, 3 июн. 2018 г. в 13:05, Alexander Ladygin :

> Hi!
>
> Trying to install zypper on Xperia gives me an error =(
>
> [root@Sailfish nemo]# pkcon install zypper
> Resolving
>
> Testing
> changes
>
> Finished
> [
> ] (0%)
> The following packages have to be installed:
>  augeas-libs-1.6.0-1.2.2.armv7hlLibraries for augeas
>  zypper-1.8.3-1.1.40.armv7hlCommand line software manager using libzypp
> Proceed with changes? [N/y] y
>
>
>
> Installing
>
> Starting
>
> Querying
>
> Resolving
> dependencies
>
> Downloading
> packages
>
> Finished
>
> Fatal error: File './core/armv7hl/augeas-libs-1.6.0-1.2.2.armv7hl.rpm' not
> found on medium '
> https://releases.jolla.com/releases/2.2.0.29/jolla/armv7hl/'
>
> Any thoughts?
>
> Kind regards,
> Alex
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Adapt page content to onscreen keyboard

2018-06-02 Thread Андрей Кожевников
Just use silica flickable and silica textfield/textarea. They do all the
magic automatically

сб, 2 июн. 2018 г., 22:10 yurumi :

> Hi fellow devs,
>
> assume you have a page with multiple TextFields in a Column in a
> Flickable. When editing a TextField in the lower part of the page, the
> TextField is covered by the onscreen keyboard and the entered text
> cannot be seen. I presume you have to adapt the Flickable's
> contentHeight to the keyboard in case it is visible but I had a hard
> time finding some documentation or tutorials concerning this topic –
> surprising, as this seems to be a pretty standard use case.
>
> Any pointer is appreciated. Thanks in advance
> Thomas
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Should QAbstractVideoFilter on a VideoOutput now work with Qt 5.6 ?

2018-01-13 Thread Андрей Кожевников
Hello!

We have working PoC which is enough for barcode reader. Hope it will be
released this month.

2018-01-08 11:55 GMT+03:00 Kaj-Michael Lang :

> On Wed, 2017-04-19 at 13:56 +0300, Kaj-Michael Lang wrote:
> > Now that Qt 5.6 is available I started to work on a barcode reader
> > app
> > using QAbstractVideoFilter (as a filter on VideoOutput filters
> > property) but it looks like it doesn't work/not supported, my filter
> > code is never started (createFilterRunnable is never called).
>
>
> Made a together item of this a while back
> https://together.jolla.com/question/172229/qabstractvideofilter-does-no
> t-seem-to-work/
>
> No response.
>
> Posted this questions ~8 months ago.
>
> No response.
>
> I don't wanna sound whiny or anything like that but does anybody follow
> these anymore ? Or is this ml/together the wrong place to ask ?
>
> Even a simple: "No, we will not support that" would be sort-of fine.
>
> --
> Kaj-Michael Lang 
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2018-01-01 Thread Андрей Кожевников
if you do not modify spec file by hand, default value is provided by
%{?_smp_mflags} macro which is expanded to -j X using number of cpus of
virtual machine

2018-01-01 21:49 GMT+03:00 Tone Kastlunger :

> It'd be amazing to be able to specify a default in QtCreator.
>
> On Sat, Dec 23, 2017 at 11:34 PM, Sander van Grieken <
> sander@outright.solutions> wrote:
>
>> On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via Devel
>> wrote:
>> > Hi,
>> >
>> > Is it possible to increase the build speed of C++ apps in the
>> Application SDK?
>> > I can asign more CPUs and RAM in the VM manager but it seems that the
>> Application SDK builds applications with the -j1 MAKE flag (max 1 job).
>>
>> In QtCreator you can specify make arguments (e.g. '-j 4') in the Build
>> Steps of the project's Build & Run config.
>>
>> grtz,
>> Sander
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour compatible background apps?

2017-11-25 Thread Андрей Кожевников
Battery overlay also.

25 нояб. 2017 г. 15:24 пользователь "Dylan Van Assche" <
dylan.van.ass...@protonmail.com> написал:

Hi CODeRUS,

Oh I didn't know that Screentapshot used this approach, thanks a lot!

Cheers,
Dylan Van Assche



 Original Message 
Subject: Re: [SailfishDevel] Harbour compatible background apps?
Local Time: 25 November 2017 10:41 AM
UTC Time: 25 November 2017 09:41
From: coderusin...@gmail.com
To: Dylan Van Assche , Sailfish OS
Developers 

Hello, yes this is harbour-compatible.
For example i have this app published in store: https://github.com/
CODeRUS/harbour-screentapshot

2017-11-25 12:34 GMT+03:00 Dylan Van Assche via Devel <
devel@lists.sailfishos.org>:

> Hi Devs,
>
> I found a repo from CODeRUS with an example of a background app:
> https://github.com/CODeRUS/background-application-example/tree/master/src
>
> Is this Harbour compatible? The Harbour FAQ allows this AFAIK since it's
> not a real daemon, it just hides the UI from the screen while that the C++
> backend still runs.
> If so, this would be great to send notifications in the background and
> when the user clicks on the notification, we can show the UI by calling
> it's DBus endpoint.
>
> Kind regards,
> Dylan Van Assche
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
> shos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour compatible background apps?

2017-11-25 Thread Андрей Кожевников
Hello, yes this is harbour-compatible.
For example i have this app published in store:
https://github.com/CODeRUS/harbour-screentapshot

2017-11-25 12:34 GMT+03:00 Dylan Van Assche via Devel <
devel@lists.sailfishos.org>:

> Hi Devs,
>
> I found a repo from CODeRUS with an example of a background app:
> https://github.com/CODeRUS/background-application-example/tree/master/src
>
> Is this Harbour compatible? The Harbour FAQ allows this AFAIK since it's
> not a real daemon, it just hides the UI from the screen while that the C++
> backend still runs.
> If so, this would be great to send notifications in the background and
> when the user clicks on the notification, we can show the UI by calling
> it's DBus endpoint.
>
> Kind regards,
> Dylan Van Assche
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] PreventStealing (against the page stack navigation) for a horizontal ListView || QtLocation 5.6?

2017-11-24 Thread Андрей Кожевников
You maybe will have luck with DragFilter:
https://github.com/CODeRUS/better-sailfishos-qmltypes/blob/Sdk1701/Sailfish/Silica/BackgroundItem.qml#L59

2017-11-24 22:29 GMT+03:00 micu :

>
> Ola ya fellow Sailors,
>
>
> For our app [1] we recently developed 'SwipeView' for pictures
> (which lets you horizontally swipe through a bunch of pictures):
>
> 
>
> This SwipeView is implemented with a horizontally oriented ListView and it
> sits on a Flickable (vertical), which in turn lives on a Sailfish page.
>
> We mow face the issue that the horizontal swipe gestures of the SwipeView
> conflict with the horizontal back-and-forth navigation of the Sailfish page
> stack. Meaning: You want to flick through the pictures, but instead you
> would
> accidentally navigate back to the previous or the next (attached pushed)
> page
> on
> the stack. Side note: We do *not* struggle with this issue on iOS/V-Play.
> It
> seems that there the back navigation is only enabled close to the edge of
> the
> screen.
>
>
> Do you have any suggestion for solving this issue?
>
>
> The 'MouseArea' component has the 'preventStealing' property, which I
> think is
> exactly there for preventing this problem. But 'ListView' has its own mouse
> handling and it is not derived from 'MouseArea'.
>
> One solution I could think of would be implementing my own QQuickItem,
> which
> catches all mouse events and only forwards them to its children or only to
> one
> Item you can specify. I could even think of a frame round the edges, where
> it
> doesn't catch the mouse events away from the parents.
>
> Do you have any better suggestion? Perhaps even one, which leverages a more
> intelligent intended gesture detection and which is able to figure out,
> when
> the user wants to swipe pictures and when they want to interact with the
> page
> navigation.
>
> Any help is highly appreciated.
>
> BTW: We have the exact same issue with our map page. The 'Map' component
> *is*
> derived from 'MouseArea', but its still on version 5.0/5.2, where
> 'preventStealing' wasn't available yet. I know, I asked this before, but
> can
> we expect QtLoction 5.6 to enter the Sailfish SDK and be officially allowed
> for harbour apps --- an when? :)
>
> Kind regards and happy sailing,
>
> micu
>
>
> --
> [1]  app-development-for-ios-sailfishos-and-android-with-qtqml/>
> --
> OpenPGP / GnuPG:0xE4CB4E80
> Fingerprint:1A15 A480 1F8B 07F6 9D12 3426 CEFE 7455 E4CB 4E80
>
> <<>
>
> http://www.micuintus.de
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] OBS questions

2017-07-26 Thread Андрей Кожевников
Hello.

1: this is "dumb" type of package. push tgz to your git or upload it to obs
manually. also you can push unpackaed contents to -mirror git and submodule
it
2: add tag and push it to your git

2017-07-26 10:24 GMT+03:00 rinigus :

> Hi,
>
> I am working on getting ported packages to OBS and facing few problems, as
> probably most of the beginners do. Maybe someone here can help me out?
>
> Problem 1: I have a bunch of packages that have external source and rpm
> spec written in a small separate project. Let's take rrdtool as an example
> with my github repo https://github.com/rinigus/pkg-rrdtool . Its spec
> contains source as a full URL. Now, I would like to download it from that
> URL by OBS either during building or as a part of its _service.
> Unfortunately, unlike in several other CI servers, network seems to be
> disabled. So, the snippet in RPM as
>
> %setup -q -n %{name}-%{version}
> curl -O %{REMSOURCE0}
> tar zxvf rrdtool-1.5.6.tar.gz --strip-components=1
>
> doesn't work (ifconfig returns only loopback device). We also don't have
> download_files among allowed _service APIs, as returned by osc api
> /service. Maybe this can be enabled on OBS? As far as I understand, it
> should download all sources specified in the spec file. Personally, I find
> it rather disturbing putting .tar.gz into github project and would prefer
> getting the upstream package from the upstream source.
>
> Problem 2: When creating package from github source (like for proj.4 in my
> case), I get as a version of packaged RPM the version that I specified
> together with (what looks like) git's latest commit signature together with
> the corresponding branch name leading to package names like
>  proj-4.9.3+sailfish.20170726042718.6.ge9a0f09-10.20.1.jolla.armv7hl.rpm
> . How can I make it shorter to proj-4.9.3.armv7hl.rpm ?
>
> Best wishes,
>
> Rinigus
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Support of Ninja build system

2017-04-18 Thread Андрей Кожевников
I personally interested in building latest QtWebEngine with latest
Chromium, which dropped qmake support and should be built using Ninja.

18 апр. 2017 г. 10:57 пользователь "Martin Kampas" 
написал:

> Hello,
>
> No plans that I am personally aware of, but just out of curiosity: what
> kind of support would you like to have?
>
> BR,
> Martin
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Alexey
> Rochev [equ...@gmail.com]
> Sent: Saturday, April 15, 2017 1:12 PM
> To: Sailfish OS Developers
> Subject: [SailfishDevel]  Support of Ninja build system
>
> Hello,
> Is there any plans on supporting Ninja build system in Sailfish OS SDK?
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Timedclient-qt5

2017-04-09 Thread Андрей Кожевников
Timed is not allowed in harbour.

9 апр. 2017 г. 11:07 пользователь "Dylan Van Assche via Devel" <
devel@lists.sailfishos.org> написал:

> Hi devs,
>
> I don't know if this allowed in Harbour so maybe someone knows it here:
>
> May I use Timedclient-qt5 to launch a small script every X minutes as a
> terminal command?
>
> Cheers,
> Dylan
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
You can start with https://github.com/lanurmi/sailfish-minimal-sdl and then
google for SailfishOS SDL sources yourself.

2017-03-28 13:20 GMT+03:00 tung tran :

> Have any example project that i can reference ?
> Thanks,
> Tung
>
> 2017-03-28 17:18 GMT+07:00 Андрей Кожевников :
>
>> yes you can use c++ SDL2 whatever
>>
>> 2017-03-28 13:09 GMT+03:00 tung tran :
>>
>>>
>>> For native Sailfish OS, could i use c++ code instead of QML?
>>> How to use OpenGL in native Sailfish OS?
>>>
>>> Best Thanks,
>>> Tung
>>>
>>> 2017-03-28 16:59 GMT+07:00 Андрей Кожевников :
>>>
>>>> Oh you mean you developing android application ...
>>>>
>>>> Unfortunately this mailing list is mostly for native Sailfish OS
>>>> development.
>>>>
>>>> I don't know process of approving Android applications in Jolla Harbour
>>>> for different devices, but you can use Android API Level 16 for Jolla 1
>>>> device, and API 19 for all other officially supported devices.
>>>>
>>>> 2017-03-28 12:50 GMT+03:00 tung tran :
>>>>
>>>>> Hi,
>>>>> Currently, i submit my android application to harbour and it working
>>>>> fine.
>>>>> So, if i use that android api, will it working in Sailfish OS?
>>>>>
>>>>> Regards,
>>>>> Tung
>>>>>
>>>>> 2017-03-28 16:45 GMT+07:00 Андрей Кожевников :
>>>>>
>>>>>> Sailfish OS is not supporting any android APIs, because it's
>>>>>> different operating system. You can learn more about developing for
>>>>>> Sailfish OS at: https://sailfishos.org/wiki/SailfishOS
>>>>>>
>>>>>> 28 мар. 2017 г. 12:41 пользователь "tung tran" 
>>>>>> написал:
>>>>>>
>>>>>>> Hello,
>>>>>>>  I try to build the In-App Purchase. I have to open the url in web
>>>>>>> browser. could i use below api in sailfish os
>>>>>>>
>>>>>>>
>>>>>>> Intent browserIntent = new Intent(Intent.ACTION_VIEW, 
>>>>>>> Uri.parse("http://www.google.com";));
>>>>>>> startActivity(browserIntent);
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Ps: can i find what android api is supported  in sailfish os in 
>>>>>>> somewhere?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Tung
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> SailfishOS.org Devel mailing list
>>>>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>>>>> shos.org
>>>>>>>
>>>>>>
>>>>>> ___
>>>>>> SailfishOS.org Devel mailing list
>>>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>>>> shos.org
>>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> SailfishOS.org Devel mailing list
>>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>>> shos.org
>>>>>
>>>>
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>> shos.org
>>>>
>>>
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>> shos.org
>>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
yes you can use c++ SDL2 whatever

2017-03-28 13:09 GMT+03:00 tung tran :

>
> For native Sailfish OS, could i use c++ code instead of QML?
> How to use OpenGL in native Sailfish OS?
>
> Best Thanks,
> Tung
>
> 2017-03-28 16:59 GMT+07:00 Андрей Кожевников :
>
>> Oh you mean you developing android application ...
>>
>> Unfortunately this mailing list is mostly for native Sailfish OS
>> development.
>>
>> I don't know process of approving Android applications in Jolla Harbour
>> for different devices, but you can use Android API Level 16 for Jolla 1
>> device, and API 19 for all other officially supported devices.
>>
>> 2017-03-28 12:50 GMT+03:00 tung tran :
>>
>>> Hi,
>>> Currently, i submit my android application to harbour and it working
>>> fine.
>>> So, if i use that android api, will it working in Sailfish OS?
>>>
>>> Regards,
>>> Tung
>>>
>>> 2017-03-28 16:45 GMT+07:00 Андрей Кожевников :
>>>
>>>> Sailfish OS is not supporting any android APIs, because it's different
>>>> operating system. You can learn more about developing for Sailfish OS at:
>>>> https://sailfishos.org/wiki/SailfishOS
>>>>
>>>> 28 мар. 2017 г. 12:41 пользователь "tung tran" 
>>>> написал:
>>>>
>>>>> Hello,
>>>>>  I try to build the In-App Purchase. I have to open the url in web
>>>>> browser. could i use below api in sailfish os
>>>>>
>>>>>
>>>>> Intent browserIntent = new Intent(Intent.ACTION_VIEW, 
>>>>> Uri.parse("http://www.google.com";));
>>>>> startActivity(browserIntent);
>>>>>
>>>>> Regards,
>>>>>
>>>>> Ps: can i find what android api is supported  in sailfish os in somewhere?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Tung
>>>>>
>>>>>
>>>>> ___
>>>>> SailfishOS.org Devel mailing list
>>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>>> shos.org
>>>>>
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>> shos.org
>>>>
>>>
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>> shos.org
>>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
Oh you mean you developing android application ...

Unfortunately this mailing list is mostly for native Sailfish OS
development.

I don't know process of approving Android applications in Jolla Harbour for
different devices, but you can use Android API Level 16 for Jolla 1 device,
and API 19 for all other officially supported devices.

2017-03-28 12:50 GMT+03:00 tung tran :

> Hi,
> Currently, i submit my android application to harbour and it working fine.
> So, if i use that android api, will it working in Sailfish OS?
>
> Regards,
> Tung
>
> 2017-03-28 16:45 GMT+07:00 Андрей Кожевников :
>
>> Sailfish OS is not supporting any android APIs, because it's different
>> operating system. You can learn more about developing for Sailfish OS at:
>> https://sailfishos.org/wiki/SailfishOS
>>
>> 28 мар. 2017 г. 12:41 пользователь "tung tran" 
>> написал:
>>
>>> Hello,
>>>  I try to build the In-App Purchase. I have to open the url in web
>>> browser. could i use below api in sailfish os
>>>
>>>
>>> Intent browserIntent = new Intent(Intent.ACTION_VIEW, 
>>> Uri.parse("http://www.google.com";));
>>> startActivity(browserIntent);
>>>
>>> Regards,
>>>
>>> Ps: can i find what android api is supported  in sailfish os in somewhere?
>>>
>>> Thanks
>>>
>>> Tung
>>>
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>> shos.org
>>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
Sailfish OS is not supporting any android APIs, because it's different
operating system. You can learn more about developing for Sailfish OS at:
https://sailfishos.org/wiki/SailfishOS

28 мар. 2017 г. 12:41 пользователь "tung tran"  написал:

> Hello,
>  I try to build the In-App Purchase. I have to open the url in web
> browser. could i use below api in sailfish os
>
>
> Intent browserIntent = new Intent(Intent.ACTION_VIEW, 
> Uri.parse("http://www.google.com";));
> startActivity(browserIntent);
>
> Regards,
>
> Ps: can i find what android api is supported  in sailfish os in somewhere?
>
> Thanks
>
> Tung
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] that's really amazing

2017-03-26 Thread Андрей Кожевников
You just ignore such messages, administrators will ban spammers.

26 мар. 2017 г. 19:08 пользователь "Tyler Temp" 
написал:

> Can anyone blacklist this guy? That link is an article about losing body
> weight
>
> On Sun, Mar 26, 2017 at 6:06 PM, minnist  wrote:
>
>> Dear friend!
>>
>>
>>
>>
>>
>> I think you'll be happy to read that amazing article I've just found on
>> the web, here it is read more 
>>
>>
>>
>> Pardon my monkey thumbs, minnist
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK version 1701-1 (2.1.0) is released to Early Access

2017-03-23 Thread Андрей Кожевников
Try this: https://github.com/evilJazz/sailfishos-buildengine

23 мар. 2017 г. 19:28 пользователь "Zoltán Lutor" 
написал:

> Any plan to release it in form of Docker container? ;)
>
> On Thu Mar 23 17:14:52 2017 GMT+0100, Jarkko Lehtoranta wrote:
> > Hello,
> >
> > Today (Mar 23rd) at 16:00 UTC we have published new installers and
> repositories of the Sailfish OS SDK. This SDK release is called 1701-1 and
> it matches Jolla Release 2.1.0.
> >
> > Please, read the following notes about the Early Access SDK:
> > - By using the Early Access SDK developers can test their Sailfish OS
> apps a week before the Sailfish OS release is made public
> > - During the early access time the Early Access SDK should not be used
> for submitting apps to the Jolla Harbour
> > - The installers for this release of the SDK are available at
> http://sailfishos.org/wiki/Application_SDK_Early_Access#
> Latest_Early_Access_SDK_Release
> > - Instructions for adding the early access repository into the SDK can
> be found from http://sailfishos.org/wiki/Application_SDK_Early_Access#
> Receiving_Early_Access_SDK_Updates_Automatically
> >
> > If you add the early access repository into your SDK and have an older
> beta release of the SDK, you should see an update notification in the
> Sailfish OS IDE. Otherwise, you will see an update notification in the
> Sailfish OS IDE, when the Jolla Release 2.1.0 is publicly available to all
> users.
> >
> > SDK content matches Jolla Release 2.1.0.10 (Iijoki). Please see below
> for detailed information of the changes.
> >
> > A couple of things you should be aware of:
> > - As before, in this update the build engine, emulator and targets are
> reinstalled so you will lose all changes you may have made in those -
> However, if your application packaging is done correctly, rebuilding your
> projects should reinstall the packages you have been using.
> > - Any customization done to SDK (adding new package repositories, adding
> custom targets, additional source paths) will be removed during the
> installation process so make your own backup of those before starting the
> update.
> > - If you import existing projects made with a previous version of the
> Sailfish OS SDK, make sure to select the correct kit in the project
> configuration step. Both ARM and i486 kits are available.
> > - Package repository contents have been updated and consequently using a
> previous SDK version with these package repositories is not supported.
> > - For more information, please see the Application SDK known issues list
> at https://sailfishos.org/wiki/Application_SDK_Known_Issues.
> >
> >
> > Release Content
> >
> > SDK 1701-1:
> >
> > SDK IDE (Qt Creator, Qt QmlLive)
> > - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
> Creator to Jolla release 2.1.0.10 level
> > - Missing SSH keys for hardware devices can now be renegerated without
> re-adding the device
> > - Fixed QmlLive compatibility issues with Windows 10
> >
> > SDK Build engine
> > - Build targets refreshed to Jolla release 2.1.0.10 level
> > - Fixed translation files installation with Qt 5.6
> > - Harbour RPM validator updated
> >   * More versioned Qt libraries allowed
> >   * Fixed the validation of QML modules
> >
> > Emulator
> > - Emulator packages refreshed to Jolla release 2.1.0.10 level
> >
> >
> > SDK 1701:
> >
> > SDK IDE (Qt Creator, Qt QmlLive)
> > - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
> Creator to Jolla release 2.1.0.9 level
> > - Initial release of QML live coding support with Qt QmlLive. Check out
> the tutorial at https://sailfishos.org/wiki/Tutorial_-_QML_Live_Coding_
> With_Qt_QmlLive
> >
> > SDK Build engine
> > - Build targets refreshed to Jolla release 2.1.0.9 level
> > - Harbour RPM validator updated
> >   * Qt 5.6 module imports allowed
> >   * Relaxed app internal QML module naming rules. All module names are
> now allowed inside an app, except the ones used by the operating system.
> >
> > Emulator
> > - Emulator packages refreshed to Jolla release 2.1.0.9 level
> >
> > If you have any questions, feel free to either send an email to this
> mailing list: devel at lists.sailfishos.org,
> write it up in http://together.jolla.com and tag your issue with 'sdk' or
> send an e-mail to developer-care at jolla.com.
> >
> > Happy hacking,
> > Jolla SDK Team
> >
> >
> > On 9 Feb 2017, at 15:08, Jarkko Lehtoranta  mailto:jarkko.lehtora...@jolla.com>> wrote:
> >
> > Hello,
> >
> > Today (Feb 9th) at 13:00 UTC we have published new installers and
> repositories of the Sailfish OS SDK. This SDK release is called 1701 and it
> matches Jolla Release 2.1.0.
> >
> > Please, read the following notes about the Early Access SDK:
> > - By using the Early Access SDK developers can test their Sailfish OS
> apps a week before the Sailfish OS release is made public
> > - During the early access time the Early Access SDK should not be used
> for submitting 

Re: [SailfishDevel] Devel post acknowledgement

2017-03-02 Thread Андрей Кожевников
I am pretty sure this is DEVEL mailing list, not user experience sharing
list. Please use together.jolla.com or forums for asking questions. Thanks.

2 мар. 2017 г. 0:16 пользователь "Jozef Macko" 
написал:

> Hello,
>
> How its possibly merge a duplicated contacts?
>
> __
>
>
>
> s pozdravom | best regards
>
> Jozef *Macko*
>
>
>
> +421 908 95 14 14 <+421%20905%20319%C2%A0399>
>
> j.macko...@gmail.com
>
> Dňa 1. 3. 2017, o 22:16, devel-boun...@lists.sailfishos.org napísal:
>
> Your message entitled
>
>Re: Devel Digest, Vol 34, Issue 15
>
> was successfully received by the Devel mailing list.
>
> List info page: https://lists.sailfishos.org/
> cgi-bin/mailman/listinfo/devel
> Your preferences: https://lists.sailfishos.org/
> cgi-bin/mailman/options/devel/j.macko.sk%40gmail.com
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Connection error

2016-12-01 Thread Андрей Кожевников
I am using latest SDK installer with latest VBox with no problems on my
win10 machine.

01 дек. 2016 г. 23:32 пользователь "Iosif Hamlatzis" 
написал:

> Thnx
>
> Just installed previous SDK, tested that everything is ok and updated
> instead of clean install. Now everything works ok
> --
> Sent from Gmail Mobile
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] File Picker

2016-11-29 Thread Андрей Кожевников
Hello, for now you can compile and bundle nemo-filemanager plugin:
https://git.merproject.org/mer-core/nemo-qml-plugin-filemanager. I hope
later it will be added to allowed imports.
You can use
https://github.com/CODeRUS/splashscreen-changer/blob/master/settings/SecondPage.qml
as sample of usage.

29 нояб. 2016 г. 12:48 пользователь "rinigus" 
написал:

> Hi!
>
> I am looking for a File Selection dialog that would be
>
> * Able to select a directory or a file (specified on call)
> * Jolla-store compatible
> * LGPL compatible
>
> Maybe someone has recommendations for it? It seems to be a frequent
> request (https://together.jolla.com/question/321/file-picker-needed/),
> but I have not seen yet the one that would comply with the requirements
> (either license is not clear or Qt.labs are used). I probably just missed a
> decent picker...
>
> cheers,
>
> rinigus
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK version 1609 (2.0.4) is released to Early Access

2016-10-06 Thread Андрей Кожевников
Yes it's based on virtualbox, and works flawlessly on my win10 anniversary.

06 окт. 2016 г. 20:35 пользователь "Iosif Hamlatzis" 
написал:

> Does it require virtualbox? I am having Blue Screen of Death under Win10
> with the anniversary update
>
> On Thursday, 6 October 2016, Jarkko Lehtoranta <
> jarkko.lehtora...@jolla.com> wrote:
>
>> Hello,
>>
>> Today (Oct 6th) at 17:00 UTC we have published new installers and
>> repositories of the Sailfish OS SDK. This SDK release is called 1609 and it
>> matches Jolla Release 2.0.4.
>>
>> From now on the SDK releases will be in sync with the early access
>> releases of Sailfish OS. It means, that developers can now choose between
>> the SDK update intervals. By switching to the Early Access SDK developers
>> will get SDK updates in sync with the Sailfish OS early access releases.
>> Otherwise, as before, they will get the SDK updates in sync with the
>> official public Sailfish OS releases.
>>
>> Please, read the following notes about the Early Access SDK:
>> - By using the Early Access SDK developers can test their Sailfish OS
>> apps approximately a week before the Sailfish OS release is made public
>> - During the early access time the Early Access SDK should not be used
>> for submitting apps to the Jolla Harbour
>> - The installers for this release of the SDK are available at
>> http://sailfishos.org/wiki/Application_SDK_Early_Access#Late
>> st_Early_Access_SDK_Release
>> - Instructions for adding the early access repository into the SDK can be
>> found from http://sailfishos.org/wiki/Application_SDK_Early_Access#Rece
>> iving_Early_Access_SDK_Updates_Automatically
>>
>> If you add the early access repository into your SDK and have an older
>> beta release of the SDK, you should see an update notification in the
>> Sailfish OS IDE. Otherwise, you will see an update notification in the
>> Sailfish OS IDE, when the Jolla Release 2.0.4 is publicly available to all
>> users.
>>
>> SDK content matches Jolla Release 2.0.4.13 (Fiskarsinjoki). Please see
>> below for detailed information of the changes.
>>
>> A couple of things you should be aware of:
>> - As before, in this update the build engine, emulator and targets are
>> reinstalled so you will lose all changes you may have made in those -
>> However, if your application packaging is done correctly, rebuilding your
>> projects should reinstall the packages you have been using.
>> - Any customization done to SDK (adding new package repositories, adding
>> custom targets, additional source paths) will be removed during the
>> installation process so make your own backup of those before starting the
>> update.
>> - If you import existing projects made with a previous version of the
>> Sailfish OS SDK, make sure to select the correct kit in the project
>> configuration step. Both ARM and i486 kits are available.
>> - Package repository contents have been updated and consequently using a
>> previous SDK version with these package repositories is not supported.
>> - For more information, please see the SDK Beta-Qt5 known issues list.
>>
>>
>> Release Content
>>
>> SDK IDE (Qt Creator)
>> - Qt Creator updated to version 4.0.1
>> - Official Turing Phone support
>> - Updates to Emulator mode switching
>> - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
>> Creator to Jolla release 2.0.4.13 level
>> SDK Build engine
>> - Build targets refreshed to Jolla release 2.0.4.13 level
>> - Harbour RPM validator updated
>> Emulator
>> - Emulator packages refreshed to Jolla release 2.0.4.13 level
>> - Fixes to matching Emulator UI assets with the corresponding device UI
>> assets
>>
>> If you have any questions, feel free to either send an email to this
>> mailing list: devel at lists.sailfishos.org, write it up in
>> http://together.jolla.com and tag your issue with 'sdk' or send an
>> e-mail to developer-care at jolla.com.
>>
>> Happy hacking,
>> Jolla SDK Team
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>> sailfishos.org
>>
>
>
> --
> Sent from Gmail Mobile
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Errors while instantiating a Dialog

2016-08-02 Thread Андрей Кожевников
Open help article and check how dialog header should be used.

02 авг. 2016 г. 14:36 пользователь "Marcin Mielniczuk" <
marmistrz...@gmail.com> написал:
>
> Hi,
>
> Doesn't help for me. And now the column and the header overlap.
>
>
> On 02.08.2016 10:32, Michael Neufing wrote:
>>
>> Hi Marcin,
>>
>> you should not put DialogHeader into a Column but directly into the
Dialog.
>> That should solve your problem.
>>
>> Br,
>> Michael
>>
>> Am 02.08.2016 10:29, schrieb Marcin Mielniczuk:
>>>
>>> Hi,
>>>
>>> I copied the Dialog sample code from the doc:
>>>
>>> import QtQuick 2.0
>>> import Sailfish.Silica 1.0
>>>
>>> Dialog {
>>> property string name
>>>
>>> Column {
>>> width: parent.width
>>>
>>> DialogHeader { }
>>>
>>> TextField {
>>> id: nameField
>>> width: parent.width
>>> placeholderText: "What's your name?"
>>> label: "Name"
>>> }
>>> }
>>> }
>>>
>>> I want the Dialog to modify some properties of `MainPage.qml`
>>> onAccepted, so I instantiated it.
>>>
>>> import QtQuick 2.0
>>> import Sailfish.Silica 1.0
>>>
>>> Page {
>>> id: page
>>>
>>> /* some code, some SilicaFlickable, etc. */
>>>
>>> MyDialog {
>>>
>>> }
>>> }
>>>
>>> Then I get the following errors in the log:
>>>
>>>  p, li { white-space: pre-wra
>>>
>>> [W] unknown:189 -
>>> file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:189 [1]:
>>> TypeError: Cannot read property 'backIndicatorDown' of null
>>>
>>> [W] unknown:194 -
>>> file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:194 [2]:
>>> TypeError: Cannot read property 'backIndicatorDown' of null
>>>
>>> [W] unknown:247 -
>>> file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:247 [3]:
>>> TypeError: Cannot read property 'forwardIndicatorDown' of null
>>>
>>> [W] unknown:242 -
>>> file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:242 [4]:
>>> TypeError: Cannot read property 'forwardIndicatorDown' of null
>>>
>>> The same happens when I push the Dialog directly to the pageStack.
>>> What have I done wrong? Apart from those errors, the dialogs seems to
>>> work correct...
>>>
>>> --
>>> Marcin
>>>
>>>
>>> Links:
>>> --
>>> [1] file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:189
>>> [2] file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:194
>>> [3] file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:247
>>> [4] file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:242
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
>
>
> --
> Marcin
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 9-December @ 14:30 UTC

2015-12-08 Thread Андрей Кожевников
You welcome :D
08.12.2015 20:22 пользователь "Carol Chen" 
написал:

> Hi!
>
> Thanks to everyone who responded on
>
> https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/
>
> Here's the invitation/agenda for tomorrow's meeting:
>
> Date: 9 December 2015
> Time: 14:30 UTC, for your local time: http://bit.ly/1XYZVI1
> Duration: 45 minutes
> Chair: Carol Chen (cybette)
> Location: #mer-meeting on Freenode IRC
>
> Those without an IRC client can access it here:
> http://webchat.freenode.net?channels=mer-meeting
> 
>
> Current proposed topics:
> * Intro (5 min)
> * Community help to Harbour QA? - coderus (10 min)
> * Update allowed qmlimports for rpmvalidator - coderus (5 min)
> * Jolla Tablets - coderus (10 min)
> * General discussions - everyone (10 min)
> * Wrap up and next meeting (5 min)
>
> Please familiarize yourself with the topics before the meeting, as well
> as the common Meetbot commands https://wiki.debian.org/MeetBot (it's
> used for meeting management and logging)
>
> Thanks and see you tomorrow!
>
> Br,
>   Carol.
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to make noarch packages?

2015-12-05 Thread Андрей Кожевников
Check kimmo template pl
05 дек. 2015 г. 18:23 пользователь  написал:

> Kimmo Lindholm kirjoitti pe joulukuuta 4 18:34:47 2015 GMT+0200:
> > With SDK?
> >
> > Add
> > TEMPLATE = aux
> > to .pro
> >
> > add
> > BuildArch:  noarch
> > in spec
> >
> > ref https://github.com/kimmoli/test5
> >
> > -kimmo
> >
>
> Thanks! Unfortunately compile output says there are "arch dependent
> binaries in noarch package". The only binary I can think of is the default
> C++ that comes with the default app template. How can I fix this?
>
> Cheers,
> jollailija
>
> --
> Lähetetty Jollastani
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Carousel of Pages

2015-12-04 Thread Андрей Кожевников
SailfishView is based in PathView, so read
http://doc.qt.io/qt-5/qml-qtquick-pathview.html
You can define delegate as Loader and depends on slideshowview currentIndex
change loader sourceComponent.
05 дек. 2015 г. 6:09 пользователь "yurumi"  написал:

> Thanks Andrey and Lucien! Although in my case it feels strange to have a
> SlideshowView that shows delegates which contain ListViews that show
> delegates, the proposed solution works.
>
> I have a follow up question: In case the components included in the
> SlideshowView are completely different, how can I "dynamically" choose
> the appropriate delegate (assuming every delegate has it's own qml file)?
>
> SlideshowView{
> ...
> model: ListModel {
> id: articleCategoryModel
> ListElement { articleCategory: "unread" }
> ListElement { articleCategory: "favorite" }
> ListElement { articleCategory: "archived" }
> }
>
> delegate: {// Choose delegate dependent on articleCategory //}
> ...
> }
>
> Cheers,
> Thomas
>
>
> On 01.12.2015 09:51, Lucien Xu wrote:
> > Or SlideshowView
> >
> https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-slideshowview.html/
> >
> > It is built on top of PathView, but is easier to use
> >
> > - Mail original -
> >> De: "Andrey Kozhevnikov" 
> >> À: "Sailfish OS Developers" 
> >> Envoyé: Mardi 1 Décembre 2015 00:55:04
> >> Objet: Re: [SailfishDevel] Carousel of Pages
> >>
> >> PathView?
> >>
> >> -- Исходное сообщение --
> >> От: "yurumi" 
> >> Кому: "Sailfish OS Developers" 
> >> Отправлено: 01.12.2015 2:59:26
> >> Тема: [SailfishDevel] Carousel of Pages
> >>
> >>> Hi everyone,
> >>>
> >>> for my application (sailabag) I would like to achieve a carousel
> >>> effect:
> >>> There are three Pages (unread articles, archived articles and
> >>> favorites). The user should swipe left / right to switch between the
> >>> categories, maybe in an endless loop.
> >>>
> >>> I couldn't find something appropriate in the Silica Reference
> >>> (pageStack.pushAttached was the closest hit). Has anyone a smart
> >>> solution for this kind of effect?
> >>>
> >>> Cheers,
> >>> Thomas
> >>> ___
> >>> SailfishOS.org Devel mailing list
> >>> To unsubscribe, please send a mail to
> >>> devel-unsubscr...@lists.sailfishos.org
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> >> devel-unsubscr...@lists.sailfishos.org
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> w
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] any way to edit jolla-email app?

2015-11-07 Thread Андрей Кожевников
You can always unpack qml resources stored in binary and patch binary to
load main qml file from disk instead of resources.
07.11.2015 17:07 пользователь "Alexander Ladygin" 
написал:

> Hey!
>
> Probably stupid question but are there any ways to edit
> /usr/lib/jolla-email binary? QML parts as they are stored as clear text.
>
> Alex.
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Running/deploying a qml only app

2015-10-01 Thread Андрей Кожевников
Hello, in qt creator you can modify run target and use your own.
On 2 Oct 2015 07:43, "Amilcar Santos"  wrote:

> Hello fellow sailors,
>
> Because of the tablet, I'm trying to run/deploy a QML only app (the
> binary file is unnecessary) in the Sailfish SDK, but with no success..
>
> I've followed the
> http://nckweb.com.ar/sailing-code/2015/02/19/deploy-qml-only-apps/
> example but, from my understanding when I press RUN, the deploy script
> is always trying to run the project binary and ignoring the
> /usr/bin/sailfish-qml in the project settings executable.
>
> Any help?
> Thanx,
> Amilcar
>
>
> And just4fun:
> - https://www.npmjs.com/package/sailfish-reload  - a nodejs script to
> auto update source changes..
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QCamera set device

2015-07-20 Thread Андрей Кожевников
Hello, you can look at this code:
https://gist.github.com/CODeRUS/b0df7dd5edfe9bba8d2c
20.07.2015 17:18 пользователь "Alexander Maliyev" 
написал:

> Hi,
>
> I have trouble opening particular device (front face / back face) with
> QCamera on Jolla / Sailfish. As per documentation I should pass device name
> constant to QCamera constructor, however QCamera::availableDevices() does
> not return anything. Could somebody help me on what const should I pass to
> QCamera constructor, or may be there is other way to do this.
>
> Thank You in advance,
>
> Alexander
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Counter or timer

2015-06-23 Thread Андрей Кожевников
Explain please what and why you want to update?

2015-06-23 18:24 GMT+05:00 mariusz sapinski :

> Hi all,
>
>   this must be a trivial question to most of you but I would like to
> display a counter, updated every minute. What UI element should I use? I
> cannot update Text or Label, right?
>
> Best regards,  Mariusz
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Deploy by copying binaries issue

2015-06-16 Thread Андрей Кожевников
Specfile is needed for compilation of course.

2015-06-16 13:56 GMT+05:00 Timur Kristóf :

> On Mon, 2015-06-15 at 11:28 +0300, Jussi Pakkanen wrote:
>
> On 12.06.2015 21:38, Timur Kristóf wrote:
>
>
>
> The sample project has a spec file, and it doesn't fail. If I delete
> the spec and yaml files from the sample project, I get the same error
> as I get with my own application.
>
> Note: I believe that "deploy by copying binaries" should work without a
> spec or yaml file.
>
>
>
> The build machinery needs the rpm specification to do some things behind
> the scenes. Thus currently you need a spec or a yaml file even if you
> deploy by copying binaries.
>
>
>
> What exactly does it need the .spec / .yaml file for?
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Adding telepathy connection manager

2015-01-03 Thread Андрей Кожевников
You just need to create accounts plugin for it.
03.01.2015 14:56 пользователь "Teemu Varsamäki" 
написал:

> Hi,
>
> I found this Telegram connection manager project
> https://akulichalexandr.wordpress.com/2014/05/26/telegram-connection-manager-gsoc-2014-task-overview/comment-page-1/#comment-63
> and just out of curiosity compiled it for Sailfish. It seems to work, I can
> add an account with mc-tool and request online status etc, but the account
> does not show up in settings and I can't control its presence from the
> notification view.
>
> Is it possible to use the connection manager from Sailfish UI?
>
> Best regards,
> Teemu Varsamäki
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Read-only TextArea: Always keep the lines added last visible

2015-01-02 Thread Андрей Кожевников
1. Why TextArea? Why not ListView + ListModel.
2. TextArea have own scroller, you dont need Flickable. Just try to use
cursorPosition property or avoid using TextArea.
02.01.2015 9:59 пользователь "Dirk Zimmermann" 
написал:

> Hi all,
>
> I was trying to use a TextArea as a UI-visible debug log, so I can see
> connection error details while I'm out using my app. The basic principle
> is that the python code (pyotherside) will make a server request and
> send detailed answers to the text area, which displays them. Everything
> works find, except the text area doesn't auto scroll to the end when
> there is more content than fits on the page. autoScrollenabled seems to
> mean something entirely different, selectionStart start seems to be
> read-only. I have put up an example that demonstrates, at the end of the
> mail.
>
> Does anyone know of the magic incantations needed to make sure the
> latest lines are always visible?
>
> import QtQuick 2.0
> import Sailfish.Silica 1.0
>
> Page {
> id: textAreaLogExample
>
> SilicaFlickable {
> TextArea {
> id: textAreaLog
> readOnly: true
> text: "Test"
> autoScrollEnabled: true
> }
> }
>
> Timer {
> interval: 500; running: true; repeat: true
> onTriggered: {
> textAreaLog.text += "\n" + new Date().getUTCSeconds() + " Log"
> }
> }
> }
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Devel Digest, Vol 5, Issue 23

2014-09-27 Thread Андрей Кожевников
You need to add it to your project Requires field
27.09.2014 19:04 пользователь "service" <41245...@qq.com> написал:

> How can I install the Install qt5-plugin-imageformat-gif‍?
>
>
> -- Original --
> *From: * "devel-request";;
> *Date: * Sat, Sep 27, 2014 08:00 PM
> *To: * "devel";
> *Subject: * Devel Digest, Vol 5, Issue 23
>
> Send Devel mailing list submissions to
> devel@lists.sailfishos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
> devel-requ...@lists.sailfishos.org
>
> You can reach the person managing the list at
> devel-ow...@lists.sailfishos.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Devel digest..."
>
>
> Today's Topics:
>
>1. Does Sailfish support gif images? (=?ISO-8859-1?B?c2VydmljZQ==?=)
>2. Re: Does Sailfish support gif images? (?? ??)
>
>
> --
>
> Message: 1
> Date: Fri, 26 Sep 2014 23:43:02 +0800
> From: "=?ISO-8859-1?B?c2VydmljZQ==?=" <41245...@qq.com>
> To: "=?ISO-8859-1?B?ZGV2ZWw=?=" 
> Subject: [SailfishDevel] Does Sailfish support gif images?
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
>
> I tried the qml animation image view ,but it doesn't work.Am I wrong, or
> no gif support in sailfish?
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> https://lists.sailfishos.org/pipermail/devel/attachments/20140926/20c794b1/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Fri, 26 Sep 2014 22:02:46 +0600
> From: ?? ?? 
> To: Sailfish OS Developers 
> Subject: Re: [SailfishDevel] Does Sailfish support gif images?
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> Install qt5-plugin-imageformat-gif
> 26.09.2014 21:43  "service" <41245...@qq.com> ???:
>
> >
> > I tried the qml animation image view ,but it doesn't work.Am I wrong, or
> no gif support in sailfish?
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> https://lists.sailfishos.org/pipermail/devel/attachments/20140926/48a19600/attachment-0001.html
> >
>
> --
>
> ___
> Devel mailing list
> Devel@lists.sailfishos.org
> https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel
>
> End of Devel Digest, Vol 5, Issue 23
> 
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Does Sailfish support gif images?

2014-09-26 Thread Андрей Кожевников
Install qt5-plugin-imageformat-gif
26.09.2014 21:43 пользователь "service" <41245...@qq.com> написал:

>
> I tried the qml animation image view ,but it doesn't work.Am I wrong, or no 
> gif support in sailfish?
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] sqlite absolute path

2014-08-07 Thread Андрей Кожевников
Write operations never creates path for file if it not exists. You should
care about it yourself.
08.08.2014 3:44 пользователь "Krisztian Olah" 
написал:

> Thanks Andrey,
> I thought it was supposed to get created automatically.
> It works flawlessly now
> Thanks again
> Kris
>
>
> On 7 August 2014 21:09, Andrey Kozhevnikov  wrote:
>
>>  QDir
>> dir(QStandardPaths::writableLocation(QStandardPaths::DataLocation));
>> if (!dir.exists()) {
>>
>> dir.mkpath(QStandardPaths::writableLocation(QStandardPaths::DataLocation));
>> }
>>
>> 08.08.2014 03:06, Krisztian Olah пишет:
>>
>> Hi again,
>>   I fixed the issue with applicationName() and also figured out why
>> setApplicationName() didn't work for me. Basically I had a global Database
>> object that got initalized before main() was called, therefore setting
>> applicationName in main would have no effect in Database. Database is now
>> an object created on the heap to which all objects that need to use it get
>> a pointer.
>>   QStandardPaths::writableLocation(QStandardPaths::DataLocation) now
>> correctly returns "/home/nemo/.local/share/harbour-myapp/" however,
>> setting it as a path does not work for me /harbour-myapp directory
>> doesn't get created and my database doesn't get saved.
>> Saving my data to /home/nemo/.local/share/ still works if I set the path
>> manually, I just cannot save the data in my corresponding subdirectory with
>> QStandardPaths::writableLocation(QStandardPaths::DataLocation)
>>
>>  Help would be greatly appricated
>> Kris
>>
>>
>> On 6 August 2014 14:20, Krisztian Olah  wrote:
>>
>>> Hi,
>>> I just noticed that application name is not set and
>>> QCoreApplication::applicationName() returns empty string. Neither
>>> QCoreApplication::setApplicationName(arg) nor
>>> QGuiApplication::setApplicationName(arg) seem to make a difference.
>>> My db file is currently just dumped to /home/nemo/.local/share appending
>>> with "/harbour-myapp/" is not possible, I guess that
>>> QCoreApplication::applicationName needs to be set in order to get the
>>> proper path.
>>>
>>>  Internet search came up only with one relevant page that just turned
>>> into a rant, but gave me little to no insight.
>>>
>>>  How do I set applicationName?
>>> https://lists.sailfishos.org/pipermail/devel/2014-February/003258.html
>>> seems to imly that it should happen automatically, so does Qt's
>>> documentation here:
>>> http://qt-project.org/doc/qt-5/qcoreapplication.html#applicationName-prop
>>>
>>>  Thanks in advance
>>> Kris
>>>
>>>
>>> On 4 August 2014 00:01,  wrote:
>>>
 Thanks again, works like a charm.

 On Sun Aug 03 2014 14:06:32 GMT+0100 (BST), Lukas Vogel wrote:
  > You shouldn't write in /usr/* directory. Rather use standard path:
 > See
 https://lists.sailfishos.org/pipermail/devel/2014-February/003258.html
 >
 >
 > See also:
 > http://comments.gmane.org/gmane.comp.handhelds.sailfishos.devel/3632
 >
 >
 >
 > 2014-08-03 15:00 GMT+02:00 Krisztian Olah :
 >
 > > Hi I need a bit of help with saving my database. When I do:
 > >
 > > QSqlDatabase db;
 > > db.setDatabaseName("/usr/share//data/data.sqlite")
 > > db.open()
 > > ...
 > >
 > > I get this error: "QSqlQuery::exec: database not open"
 > > thus the file isn't created at all.
 > > However if I change name to "data.sqlite" it works fine, but saves
 it to
 > > /home/nemo/
 > > Could someone tell me what I need to do in order to save the file
 under
 > > the correct path?
 > >
 > > Thanks in advance
 > > Kris
 > >
 > > ___
 > > SailfishOS.org Devel mailing list
 > > To unsubscribe, please send a mail to
 > > devel-unsubscr...@lists.sailfishos.org
 > >
 >

   --
 Sent from my Jolla

>>>
>>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Versions

2014-07-20 Thread Андрей Кожевников
this method working only at clean build and after updating
pro/yaml/spec/main.cpp. If you wont update some of these files you'll get
old version numbers in future builds.
20.07.2014 18:59 пользователь "Bob Jelica"  написал:

> Hey,
>
> If you have this in your .yaml:
>
>
> Version: 1.0.0
>
>
> QMakeOptions:
>
> - VERSION='%{version}-%{release}'
>
>
> Then you can do this in your .pro file:
>
> DEFINES += APP_VERSION=\\\"$$VERSION\\\"
>
>
> That gives you the option to do this in your main.cpp:
>
> QScopedPointer view(SailfishApp::createView());
>
> view->rootContext()->setContextProperty("APP_VERSION", APP_VERSION);
>
>
>
> And BOOM! now you can use APP_VERSION wherever in your QML (AboutPage.qml
> for example)
>
> :)
>
> //b0bben
>
> On 20 Jul 2014, at 13:26, Chris Walker <
> cdw_noki...@the-walker-household.co.uk> wrote:
>
> Is there any way to have my 'About' page pick up the Version and
> Release information from the yaml file?
>
> At the moment, I'm hard coding the versioninfo in the About page but
> I'd like it to be updated automagically in the future.
>
> I looked around but couldn't see this information anywhere so I'm
> guessing that this question hasn't been asked/answered before but if it
> has, please feel free to point me in the right direction.
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Some API and sailfish app development questions

2014-03-04 Thread Андрей Кожевников
4. why? mlite5 is there and seems to be allowed.


2014-03-04 17:18 GMT+06:00 Thomas Amler :

>  Hi,
>
> I can't answer all of your questions, so directly to the last one:
>
> 4. Currently there is no notification API which can be used directly.
> nemomobile notifications is not allowed in harbour, altough all system apps
> use it to deal with notifications. There is a way to load it via QT
> resource files, which some apps use to workaround the harbour test
> mechanisms.
>
>
> Am 03.03.2014 15:51, schrieb Oleg Linkin:
>
>   Hi!
> 1. It there any way to send USSD request from app and read it response?
>
>  2. Is it any API for adding Share menu to application as in gallery, for
> example. Or I should use nemo imports for this?
>
>  3. Is it any exmaples/documentation about adding service which can be
> used for sharing?
>
>  4. Is is any API for notification system or I should create it myself /
> use nemo notifications system?
>
>  Thx.
>
>
> ___
> SailfishOS.org Devel mailing list
>
>
>
>
> --
>
>
> Diese E-Mail ist frei von Viren und Malware, denn der avast! 
> AntivirusSchutz ist aktiv.
>
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list