Re: [SailfishDevel] qt upgrade

2019-02-10 Thread Dmitriy Purgin
developed using Qt512, 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:

Re: [SailfishDevel] qt upgrade

2019-02-09 Thread Dmitriy Purgin
Hi all, if there are some parts of the newer Qt you need in your app, you can always compile it yourself, link your app against the newer version and ship these libraries with your app. Cheers Dmitriy On Sat, Feb 9, 2019 at 6:44 PM rinigus wrote: > Hi, > > sounds like there are porting and lic

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

2017-09-27 Thread Dmitriy Purgin
, Zoltán Lutor 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: > > Hi Zoltan, > >

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: > as pointed out @Together.

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 method

Re: [SailfishDevel] Seg fault in QML ListView when connected to SQL model

2015-09-06 Thread Dmitriy Purgin
Hi, can you tell please what are you trying to achieve, e.g. what view are you building? Why do you set explicit height for the ListView anyway? Cheers Dmitriy 2015-09-06 14:00 GMT+06:00 coding : > Hi, > > I am developing a sailfish app using a QML ListView which is connected to > a model using

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Dmitriy Purgin
t much of a GUI builder, doing backend stuff mostly. Cheers 2015-05-24 23:31 GMT+06:00 Andrey Kozhevnikov : > Do not forget to set proper pressDelay values for flickable and listview, > if you still want to put listview inside flickable. > > 24.05.2015 22:28, Dmitriy Purgin пишет: &g

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 ou

[SailfishDevel] License for QML components in lipstick-jolla-home-qt5

2015-05-17 Thread Dmitriy Purgin
ystemDialogButton in my application. Thanks. Regards Dmitriy Purgin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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 you

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

2015-04-24 Thread Dmitriy Purgin
anks for your help! Cheers 2015-04-24 21:37 GMT+06:00 Andrey Kozhevnikov : > 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, accordin

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

2015-04-24 Thread Dmitriy Purgin
rey Kozhevnikov : > This is my solution for you: > > > QLocale locale("fi_FI"); > QLocale::setDefault(locale); > translator.load(locale, "sailfishsilica-qt5", "", > "/usr/share/translations", ""); > > 23.04.2015

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

2015-04-22 Thread Dmitriy Purgin
rev 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:

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

2015-04-22 Thread Dmitriy Purgin
feel. 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 : > ke, 2015-04-22 kello 14:23 +0600, Dmitriy Purgin kirjoitti: > > Hi all, > > >

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

2015-04-22 Thread Dmitriy Purgin
nging environment of app deployed at end-user device. Regards Dmitriy Purgin 2015-04-22 17:31 GMT+06:00 Andrey Kozhevnikov : > In Qt Creator: Projects - Run - Run Environment > http://i.imgur.com/FArKbn2.png > > 22.04.2015 13:23, Dmitriy Purgin пишет: > > Hi all, > > I

[SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Dmitriy Purgin
both: change application 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
x27;t check yet though. Cheers 2015-03-30 15:41 GMT+06:00 Andrey Kozhevnikov : > 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, > &

Re: [SailfishDevel] Stripping -O2 from debug builds

2015-03-30 Thread Dmitriy Purgin
me some direction to look into. Cheers Dmitriy Purgin 2015-03-29 0:30 GMT+06:00 Dmitriy Purgin : > 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 Me

[SailfishDevel] Stripping -O2 from debug builds

2015-03-28 Thread Dmitriy Purgin
=i486 -fasynchronous-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 unsubs

Re: [SailfishDevel] Debugging external libraries

2015-03-16 Thread Dmitriy Purgin
gt; >> Yes i was thinking about no contacts case. As seaside is cached database >> it can not produce any calls if no contacts. Talking about debugging imho >> you need to build a static library to see what happening inside it. But i >> may be wrong. >> >> 15

Re: [SailfishDevel] Debugging external libraries

2015-03-15 Thread Dmitriy Purgin
ts on device, not > emulator? > > 15.03.2015 16:47, Dmitriy Purgin пишет: > > Hi, > > I'm struggling the whole day with this problem. Is there a way to debug a > shared library not included to a project? In particular I'd like to see > what's happening in nemomobil

[SailfishDevel] Debugging external libraries

2015-03-15 Thread Dmitriy Purgin
eems like the packages I've installed in the build machine were not synchonised with my host machine. 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 t

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

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] https://github.com/ejjoman/harbour-sailwa

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 : > El Saturday 22 November 2014, Chris Sparks escribió: >> Hi everyone, >> >> I have now re

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' o

[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? Thanks

Re: [SailfishDevel] Call events

2014-10-08 Thread Dmitriy Purgin
"ringing" -> answered "active" -> not > answered/hangup "none" > Making a outgoing call "active" --> hup "none" > > -kimmo > > > Lähettäjä: devel-boun...@lists.sailfishos.

Re: [SailfishDevel] Call events

2014-10-08 Thread Dmitriy Purgin
Hi, the telephony is provided by oFono which has a convenient DBus interface, [1]. You might as well use libqofono-qt5 [2] binding which is much easier, but won't be approved by harbour unless you put it as a private library of your application. Cheers [1] https://git.kernel.org/cgit/network/ofo

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

2014-10-05 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 : > Hello everyone. > > As stated i need linux webagent 3.04 for apache22 64bit for OpenAM 9 > installation. > Does anyone have it? Or maybe a link? I foun

Re: [SailfishDevel] Compared with Ubuntu touch,are there any advantages to jolla?

2014-09-24 Thread Dmitriy Purgin
the answer is 'yes', the rest depends on what are you asking for 2014-09-24 8:07 GMT+01:00 itviewer : > Compared with Ubuntu touch,are there any advantages to jolla? > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to deve

Re: [SailfishDevel] DBUs-1.0 package corrupted?

2014-08-16 Thread Dmitriy Purgin
Hello, If you're referring to 'incomplete type' error in your project, you shouldn't use DBusMessage on the stack. Consider using DBusMessage* instead. Anyway, DBus API operates DBusMessage* only. 2014-08-17 3:06 GMT+06:00 Tone Kastlunger : > Compiling against dbus-1.0 raises errors about undefin

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 : > 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] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Dmitriy Purgin
incompleteness of the object at time of setContextProperty()). Cheers Dmitriy Purgin 2014-07-23 5:48 GMT+06:00 Andreas Heil : > 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

Re: [SailfishDevel] [API] Ambience DBus API

2014-07-22 Thread Dmitriy Purgin
colors. I 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 : > Hello list, > > Following what has

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. : > 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
Sorry Marcin, misread the name :) 2014-07-16 18:55 GMT+06:00 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

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 d

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

2014-07-09 Thread Dmitriy Purgin
ffers 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 Dm

Re: [SailfishDevel] Voice Call Monitoring with QAudioInput

2014-07-07 Thread Dmitriy Purgin
ry.monitor" captures 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 : > Hi everyone, > > I

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 : > The emulator crashes on boot in my work's PC (no

[SailfishDevel] Voice Call Monitoring with QAudioInput

2014-07-06 Thread Dmitriy Purgin
e able to capture the data. Back to Jolla Phone, I've also discovered that "source.primary" has a port "input-voice_call" which I presume can be actually what I'm looking for. Anyway, does someone happen to know if there&#