Re: [SailfishDevel] qt upgrade

2019-02-10 Thread Dmitriy Purgin
12, with Qt511 version > having at least one bug that will never be fixed. Not sure whether Kirigami > runs against Qt59. So, if we would like to run Kirigami apps, Qt 5.12 is > most probably needed. > > Cheers, > > Rinigus > > On Sun, Feb 10, 2019 at 8:55 AM Dmitriy Purgin

Re: [SailfishDevel] Playing audio on Sailfish (from qrc)

2017-09-27 Thread Dmitriy Purgin
, Zoltán Lutor <zoltan.lu...@gmail.com> wrote: > Hi Dmitry, > > Could you give me some hints how to do it? > > I have to admit I have almost zero experience in in this domain... > > Thx, > > Zoltan > > On Tuesday, September 26, 2017, Dmitriy Purgin wrote: &g

Re: [SailfishDevel] Playing audio on Sailfish (from qrc)

2017-09-26 Thread Dmitriy Purgin
Hi Zoltan, You should install the media backend for QtMultimedia in the emulator. Try installing qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer and/or qt5-qtmultimedia-plugin-audio-pulseaudio. Cheers Dmitriy On Tue, Sep 26, 2017 at 10:48 PM, Zoltán Lutor wrote: >

Re: [SailfishDevel] QT String issue

2017-09-12 Thread Dmitriy Purgin
Hi Dylan, trimmed() removes whitespaces only. You need to replace \" with an empty string and "escape" both \ and ". You need escaping because this is how string literals in C/C++ work. Try calling str.replace("\\\"", ""), where str an object of QString. Also note that trimmed() is a const

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Dmitriy Purgin
Привiт, Вiталiй! If want to have something like a toolbar at the bottom of the list, I'd go with DockedPanel [1]. I guess it's the preferred way of doing it. But you can also do this by setting list view height explicitly if you do it in column or anchoring. Consider the following code, it lays

Re: [SailfishDevel] Passing parameters back?

2015-05-11 Thread Dmitriy Purgin
Hi Chris, I suppose you have all the breweries' data in a DB table referenced by breweryInfoModel and need to extract data by locid. In this case you could wrap your breweryInfoModel in a QSortFilterProxyModel [1] and just use its filtering methods. In this case you would basically need to set

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-24 Thread Dmitriy Purgin
Kozhevnikov coderusin...@gmail.com: So, you install multiple translators, not load multiple times, and it will work. 24.04.2015 20:23, Dmitriy Purgin пишет: Hi Andrey, thanks for suggestion. Unfortunately, according to Qt documentation for QTranslator::load(): The previous contents

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-24 Thread Dmitriy Purgin
Kozhevnikov coderusin...@gmail.com: This is my solution for you: QLocale locale(fi_FI); QLocale::setDefault(locale); translator.load(locale, sailfishsilica-qt5, , /usr/share/translations, ); 23.04.2015 08:55, Dmitriy Purgin пишет: Hi, thanks for reply. I do install

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
. This inconsistency is solved by changing locale on per-application basis but apparently invoker seems to be an obstacle for that. Cheers Dmitriy Purgin 2015-04-22 17:44 GMT+06:00 Pekka Vuorela pekka.vuor...@jolla.com: ke, 2015-04-22 kello 14:23 +0600, Dmitriy Purgin kirjoitti: Hi all, I'm trying

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
2015 18:56, skrev Dmitriy Purgin: $ LANG=ru_RU invoker --type=silica-qt5 appbin does not change the app locale, it behaves as if there were no LANG=ru_RU at all. So does QLocale::setDefault(). I think setting environment variables and calling QLocale::setDefault only works if Qt has not yet

[SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
environment and boost it with invoker? Thanks in advance! Cheers Dmitriy Purgin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Stripping -O2 from debug builds

2015-03-30 Thread Dmitriy Purgin
into. Cheers Dmitriy Purgin 2015-03-29 0:30 GMT+06:00 Dmitriy Purgin dpur...@gmail.com: Hi all, is there any way to prevent optimization switch -O2 being set when Makefile is generated for debug builds? I've looked into linux-g++-32 and its includes of Mer SDK but didn't find any clues

Re: [SailfishDevel] Stripping -O2 from debug builds

2015-03-30 Thread Dmitriy Purgin
check yet though. Cheers 2015-03-30 15:41 GMT+06:00 Andrey Kozhevnikov coderusin...@gmail.com: Hello, i found this: https://github.com/sailfish-sdk/sailfish-qtcreator/blob/next/src/libs/cplusplus/cplusplus.pro 30.03.2015 14:35, Dmitriy Purgin пишет: Hi again, I've tried to invoke

[SailfishDevel] Stripping -O2 from debug builds

2015-03-28 Thread Dmitriy Purgin
-unwind-tables does that mean that both -O2 and -g are forced somewhere in Salifish SDK tools when calling qmake? Is there any way to turn off -O2 for debug builds? Cheers Dmitriy Purgin ___ SailfishOS.org Devel mailing list To unsubscribe, please send

[SailfishDevel] Debugging external libraries

2015-03-15 Thread Dmitriy Purgin
. I've done it with scp transfer but stepping in still doesn't work. Could anyone please give me some hints on debugging external libraries or guide me to any resource explaining the process? Thanks. Cheers Dmitriy Purgin ___ SailfishOS.org Devel

Re: [SailfishDevel] Audio stream playback fails after device lock/power save

2015-01-14 Thread Dmitriy Purgin
Hi, I'm using SailWave [1] for internet radio streaming and it works just fine even with the screen locked. I took a quick look and didn't notice any special things to keep it alive. Maybe you could look into that and compare to yours. Cheers Dmitriy [1]

Re: [SailfishDevel] Audio stream playback fails after device lock/power save

2015-01-14 Thread Dmitriy Purgin
Yes, update10, and it works ever since I had Jolla (starting from 1.0.4, I think) 2015-01-14 23:32 GMT+06:00 Kaj-Michael Lang mil...@tal.org: On ke, 2015-01-14 at 23:24 +0600, Dmitriy Purgin wrote: I'm using SailWave [1] for internet radio streaming and it works just fine even

Re: [SailfishDevel] This is a test email

2014-11-22 Thread Dmitriy Purgin
Hi, I'm using GMail and also don't understand what Chris does wrong -- looks okay to me, all of the threads he started with replies are grouped together. Cheers 2014-11-22 22:57 GMT+06:00 Alejandro Exojo s...@badopi.org: El Saturday 22 November 2014, Chris Sparks escribió: Hi everyone, I

Re: [SailfishDevel] How to create a nemo transfer-engine plugin?

2014-11-12 Thread Dmitriy Purgin
Hallo Gabriel, It could help if you would post more detailed compile log from 'Compile Output' tab. The fragment you posted tells a quite obvious thing -- that RPM generation didn't succeed because of compilation failure. If you don't want to build an RPM, there's a 'Deploy by Copying Binaries'

[SailfishDevel] CoverAction problem: iconSource: 'qrc:/'

2014-11-10 Thread Dmitriy Purgin
Hello, there has been reports about using an image from resource in CoverAction's iconSource (see [1, 2]). Any qrc:/ image is not recognised when used in iconSource url. I can confirm that this problem still persists in SailfishOS 1.0.8. Just wondered if there are any improvements on this?

Re: [SailfishDevel] Call events

2014-10-08 Thread Dmitriy Purgin
-kimmo Lähettäjä: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] k#228;ytt#228;j#228;n Dmitriy Purgin [dpur...@gmail.com] puolesta Lähetetty: 8. lokakuuta 2014 12:05 Vastaanottaja: Sailfish OS Developers Aihe: Re

Re: [SailfishDevel] linux webagent 3.04 for apache22 64bit wanted

2014-10-06 Thread Dmitriy Purgin
Hi, what does it have to do with the SailfishOS? What are you trying to achieve? Cheers, Dmitriy 2014-10-06 1:00 GMT+06:00 Alexander Ladygin fake...@gmail.com: Hello everyone. As stated i need linux webagent 3.04 for apache22 64bit for OpenAM 9 installation. Does anyone have it? Or maybe a

Re: [SailfishDevel] Standard C++ Library

2014-07-26 Thread Dmitriy Purgin
Hi, It is GNU Standard C++ Library. You can query this information in build engine, emulator or on your Jolla device to determine which version is used (when up-to-date, all three would always have the same, I presume). Try: $ rpm -qi libstdc++ Mine has libstdc++-4.6.4-1.1.2 Cheers 2014-07-27

Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-23 Thread Dmitriy Purgin
Hello, many thanks for the info, it seems to be the trouble! I'll check this out later. Cheers 2014-07-23 12:29 GMT+06:00 Tomasz Sterna to...@xiaoka.com: Dnia 2014-07-23, śro o godzinie 09:23 +0600, Dmitriy Purgin pisze: QML did somehow destroy my object Are you aware of QQmlEngine

Re: [SailfishDevel] [API] Ambience DBus API

2014-07-22 Thread Dmitriy Purgin
understand that although as for now Ambience consists of wallpaper and ringtone only, it can be changed in future but in my opinion the corresponding APIs should follow such a change. Cheers Dmitriy Purgin 2014-07-22 23:19 GMT+06:00 sfietkonstan...@free.fr: Hello list, Following what has been

Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Dmitriy Purgin
was incompleteness of the object at time of setContextProperty()). Cheers Dmitriy Purgin 2014-07-23 5:48 GMT+06:00 Andreas Heil i...@aheil.de: Hi again, I recently run into a new issue, I do not know how to address. The app start both, in simulator and on a device (deployed via Warehouse) without

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Dmitriy Purgin
so you try to hide a component by setting its height = 0? have you tried visible = false? 2014-07-18 16:30 GMT+06:00 Marcin M. marmistrz...@gmail.com: I'm want to display some elements only when needed. So I did it like this (the components are inside a Column): TextSwitch

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Dmitriy Purgin
Hi Martin, I had the same issue while dealing with a similar problem where start page was showing BusyIndicator while the application is loading. What I did is connected to Component.onCompleted in ApplicationWindow, start the initialization procedure and replace the page after initialization is

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Dmitriy Purgin
Sorry Marcin, misread the name :) 2014-07-16 18:55 GMT+06:00 Dmitriy Purgin dpur...@gmail.com: Hi Martin, I had the same issue while dealing with a similar problem where start page was showing BusyIndicator while the application is loading. What I did is connected to Component.onCompleted

Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-10 Thread Dmitriy Purgin
from Windows XP Embedded. All new NCR ATMs produced in the last few months are already equipped with Windows 7. Afaik if you continue to run Windows XP FES on your ATM you automatically fail PCI DSS certification, unless you have supplementary software products like SolidCore. Cheers Dmitriy

Re: [SailfishDevel] emulator crashes

2014-07-07 Thread Dmitriy Purgin
machine and emulator). The GUI responsiveness was really slow but at least I could debug and trace my programs. Maybe you should also try turning off VT and check if that works Cheers Dmitriy Purgin 2014-07-07 16:03 GMT+06:00 Iosif Hamlatzis i.hamlat...@gmail.com: The emulator crashes on boot in my

Re: [SailfishDevel] Voice Call Monitoring with QAudioInput

2014-07-07 Thread Dmitriy Purgin
only keypad tones and ringtone. It seems like the voice call sound is not being streamed through pulseaudio at all! Any advice where I could go further would be really appreciated. Cheers Dmitriy Purgin 2014-07-06 23:28 GMT+06:00 Dmitriy Purgin dpur...@gmail.com: Hi everyone, I'm trying

[SailfishDevel] Voice Call Monitoring with QAudioInput

2014-07-06 Thread Dmitriy Purgin
can be actually what I'm looking for. Anyway, does someone happen to know if there's a Qt way of specifying pulseaudio ports for QAudioInput? Or should I go deeper down to libpulse? Thanks in advance. Cheers Dmitriy Purgin ___ SailfishOS.org Devel mailing