Re: [SailfishDevel] prefered way to build rpm package for a project written in python/pyotherside?

2014-03-05 Thread Jens Persson
I've never built packages on the Jolla device if that's what you mean but this is what you do on the SDK: 1. Install Virtualbox. 2. Install Sailfish SDK. 3. Start Virtualbox and run the MerSDK image. 4. Log in with SSH. (ssh -p -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@loc

Re: [SailfishDevel] FOSDEM Community follow-up - open source app community

2014-02-04 Thread Jens Persson
On Tue, Feb 4, 2014 at 8:07 PM, "Thomas B. Rücker" wrote: > Hi Andrey, > > On 02/04/2014 10:45 AM, Andrey Kozhevnikov wrote: > > Blaming openrepos again? Are you serious? > > > I would suggest to get back to a sensible discussion. There is no value > in ad-hominem attacks and insults, that just t

Re: [SailfishDevel] QML Timer stops running

2014-01-16 Thread Jens Persson
teresting approach :) I just might try that if it doesn't pass > QA. > > On Tuesday 14 January 2014 07:28 Jens Persson wrote: > > Ok, did some fast checking now. Yes you were right, QTimer doesn't work, > > singleShot or not. :( But ... it works for my app because it

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Jens Persson
ere's quite a few of them. Just load an audio file and set it to paused state and timers will hopefully work just fine. Hopefully you will make it to the harbour this way. :) On Tue, Jan 14, 2014 at 6:10 AM, Thomas Tanghus wrote: > On Tuesday 14 January 2014 05:51 Jens Persson wrote: >

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Jens Persson
/doc/qt-5.1/qtcore/qtimer.html I'm actually about to implement more logic to that method so hopefully you get it to work. If only singleshot work would be a bit lame. On Tue, Jan 14, 2014 at 5:32 AM, Thomas Tanghus wrote: > On Tuesday 14 January 2014 05:20 Jens Persson wrote: > > I

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Jens Persson
I have a QTimer that is used as a timed shutdown for my app and I control it with a class method and that works. Just checked with 5 minutes and it worked perfectly, as clockwork. :) Greets Jens On Tue, Jan 14, 2014 at 4:38 AM, Thomas Tanghus wrote: > On Tuesday 14 January 2014 01:48 J

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Jens Persson
Have you tried timers from QtCore? They seem to work fine for me. Greets Jens On Mon, Jan 13, 2014 at 11:04 PM, Thomas Tanghus wrote: > Just after having my tiny Kitchen Timer app approved I realized that the > timer slows down and eventually stops running - burned food as result :( > > The ti

Re: [SailfishDevel] Possible to play video with gst-launch?

2014-01-09 Thread Jens Persson
As noone has replied yet gst-launch is probably not supporting video streams ... yet. :) Great tool for debugging pipelines and codecs so hopefully it will get fixed some day. Sailfish is the first time I'm using Wayland natively and I'm not sure if there exists windows in Wayland like on X or if i

Re: [SailfishDevel] AAC support

2014-01-09 Thread Jens Persson
I've been testing lots of audio formats in Sailfish (aac, dts, flac, mp3, opus, alac, ac3, vorbis) and haven't noticed any issues so far. But that somafm stream didn't work so I tested it on my desktop too where I keep an old installation of gst-0.10 around and it bloody worked. It seems that faad2

[SailfishDevel] Possible to play video with gst-launch?

2014-01-05 Thread Jens Persson
I'm trying to play a video with gst-launch like this: gst-launch-0.10 playbin2 uri=file:///home/nemo/file.avi but it doesn't seem to show any pictures, sound is working though. Am I missing something, like another video sink, or is this not possible? Greets Jens _

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-31 Thread Jens Persson
Yes it does. But long story short, Python WILL BE supported in Sailfish one way or the other, that much I can promise. Sailfish/Mer basically is "Fedora mobile" which means that just about anything that works on Fedora will work on Sailfish too. Jolla might not support Python but there will be thir

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Jens Persson
As I said I built PyQt with Python2 because it's the default in Sailfish today. If Sailfish-1.0 is about to switch to Python3 then I will also do that, simple as that. But today Python2 is the default and that's why I built PyQt with 2 and not 3. Python 2 and 3 can happily live side by side but som

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Jens Persson
> > Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson: > >PyQt works very well on the Jolla phone and you can get it from Openrepos. > >It should support the whole Qt C++ API except for deprecated modules. As > >Sailfish is using Python2 by default I've built it w

Re: [SailfishDevel] Does Sailfish support PyQt5?

2013-12-26 Thread Jens Persson
PyQt works very well on the Jolla phone and you can get it from Openrepos. It should support the whole Qt C++ API except for deprecated modules. As Sailfish is using Python2 by default I've built it with that. Porting from Pyside to PyQt is very easy and takes only "a few hours" for a small app and