Re: [SailfishDevel] Path to main qml in resource file - not found whatever I try

2014-04-23 Thread Kim Foder
On Wed, 2014-04-23 at 22:53 +0200, tw_bolek wrote: > - manually edit Makefile and remove qml_install and qml_uninstall > - in .specs file remove /usr/share/myappand %{_datadir}/%{name}/qml > lines I usually do this by renaming the qml folder, create a new qml folder, and create en empty

[SailfishDevel] QtLocation/Map does nothing ?

2014-10-15 Thread Kim Foder
Hi I'm trying to implement a slippery map in my QML app using the QtLocation/Map. I have based the Map usage on some tutorials I have found on the net. My app compiles, installs and runs without any errors, but only my pulldown menu appears, the map area is clear, only the background is seen! I

Re: [SailfishDevel] QtLocation/Map does nothing ?

2014-10-15 Thread Kim Foder
Hi Osmo >You need to assign the plugin to the plugin property. Yes of course, man have I spent time on this stupid error ! Many thanks, now it works! /Kim On Wed, 2014-10-15 at 23:42 +0300, Osmo Salomaa wrote: > Hi, > > 15.10.2014, 22:57, Kim Foder kirjoitti: > > Im t

Re: [SailfishDevel] Installation trouble with the SDK

2014-12-10 Thread Kim Foder
Hi again Well, it probably does not have anything to do with the entropy pool! I have just tried the solution mentioned here: http://www.chrissearle.org/2008/10/13/Increase_entropy_on_a_2_6_kernel_linux_box/, for seeding the entropy pool, and even though the pool went over 3000, the installatio

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-08 Thread Kim Foder
Hi I'm still having problems installing the SDK, also with the latest release. I have proven the problem to be in merssh, by executing it from a cli with the following command: /home/kif/SailfishOS/bin/merssh generatesshkeys '/home/kif/SailfishOS/vmshare/ssh/private_keys/engine/root' '/home/kif/

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-09 Thread Kim Foder
HI Olah > You can switch off the overlay scrollbar thing with "export > LIBOVERLAY_SCROLLBAR=0", did you try if that helps? Yes, thats some of the first things I tried (it's mentioned under known problem for the SDK) > Alternatively you could find out wether it is a Unity problem by > installi

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-11 Thread Kim Foder
Hi Ove You are an genius! That was the solution, I disabled the closed Broadcom driver, and the installation succeded AND Qt-creator can run without hanging. For some reason my wireless network still works? It seams as if the system automatically falls back to the b43 driver. Thanks Kim. _

[SailfishDevel] How to detect when an app are restored from minimized

2015-01-23 Thread Kim Foder
Hi In one of my apps I'm using the QML Canvas object, but after the latest upgrade of either the OS or SDK, it was blank whenever the app had been minimized and restored, and stayed blank until the page had been reloaded. I believe this is because of the change where the context is freed when the

Re: [SailfishDevel] How to detect when an app are restored from minimized

2015-01-24 Thread Kim Foder
Hi That did solve my problem, thanks. On Sat, 2015-01-24 at 03:28 +0200, Osmo Salomaa wrote: > 24.01.2015, 01:04, Kim Foder kirjoitti: > > I believe this is because of the change where the context is freed when > > the app is minimized, so I added a call to var getContext("2d

[SailfishDevel] QML arrays and memory leak

2015-05-04 Thread Kim Foder
Hi For some time I have been battling a memory leak in my pedometer app, after a lot of experimentation, I have found the problem to be my use of arrays (probably)! Whenever I receive an acceleration measurement, some statistical calculations are made, which results in one float pr. measureme

Re: [SailfishDevel] QML arrays and memory leak

2015-05-04 Thread Kim Foder
to move the business part to C++, but I'm trying to do as much as possible in QML (as an exercise). /Kim > > Am 04.05.2015 22:20 schrieb "Kim Foder" : > > Hi > > > > For some time I have been battling a memory leak in my pedometer app, > > after a >

Re: [SailfishDevel] QML arrays and memory leak

2015-06-10 Thread Kim Foder
Thanks for all your comments on this problem. I have been using these last couple of months testing many different solutions, also those proposed here, but none have worked! Now I have solved the problem by using an circular buffer instead of an array, so when I add a value I just changes the v

Re: [SailfishDevel] About applications presenting a map interface

2015-09-10 Thread Kim Foder
Hi Juice I'm using Pinchmap from Foursail, it's a qml/javascript implementation of a slippery map, and works great, at least for my use ;) /Kim On Thursday 03 September 2015 08:14:27 juice wrote: > Morning. > > This might well be a FAQ but I could not find the answer browsing thru > the mailin

[SailfishDevel] rpmvalidator: file is not stripped!

2016-01-05 Thread Kim Foder
Hi Normally, when I deploy a project, I end up with three .rpm's, one containing the program, one containing debug info and one containing debug source. But, for some reason, my current project only builds one huge rpm, and rpmvalidator complains that "File is not stripped!" I have compared th

Re: [SailfishDevel] rpmvalidator: file is not stripped!

2016-01-06 Thread Kim Foder
On Tuesday, January 05, 2016 09:20:50 PM jollail...@gmail.com wrote: > Care to share the sources? It's monav for sailfish: https://github.com/tunp/monavsailfish[1] > > Kim Foder kirjoitti ti tammikuuta 5 22:49:12 2016 GMT+0200: > > > Hi > > > > Normally, whe

[SailfishDevel] Patching bluetooth keyboard

2016-01-25 Thread Kim Foder
Hi I have a Rii mini pocket keyboard with English layout, and would like to patch the keyboard layout to be able to enter the national characters for Denmark (æ ø å). I would like to make alt+o => ø, alt+a => å etc. >From what I read on the 'net I need to patch the boston.qmap file, does anyone

Re: [SailfishDevel] Patching bluetooth keyboard

2016-01-26 Thread Kim Foder
On ti, 2016-01-26 at 00:03 +0100, Kim Foder wrote: > > Hi > > > > I have a Rii mini pocket keyboard with English layout, and would like > > to patch > > the keyboard layout to be able to enter the national characters for > > Denmark (æ > > ø å). I would li

Re: [SailfishDevel] Patching bluetooth keyboard

2016-01-27 Thread Kim Foder
Your tip has been a great help. I have one more question: Is there a Sailfish tool (or file somewhere) where I can get information on the active keyboard. Something like : setxkbmap -print On Tuesday, January 26, 2016 11:37:13 AM Pekka Vuorela wrote: > On ti, 2016-01-26 at 00:03 +0100,

[SailfishDevel] browser versus ajax

2016-06-23 Thread Kim Foder
Hi I'm trying to make a gopro Hero4 app for Sailfish, but have hit a wall :( When I send a request to the Hero (for example a status request http:// 10.5.5.9:8080/gp/gpControl/status) in the address line of a browser (laptop or Jolla) I get the expected response, but when I try via ajax from qml