Re: [SailfishDevel] SSH on OSX

2016-07-18 Thread Krisztian Olah
Thanks guys, I did find a solution in the comment section here: http://joshuawise.com/horndis#available_versions On 17 July 2016 at 11:27, Chris Walker < cdw_noki...@the-walker-household.co.uk> wrote: > On Sat, 16 Jul 2016 16:00:52 +0100 > Krisztian Olah wrote: > > > Hell

Re: [SailfishDevel] SSH on OSX

2016-07-16 Thread Krisztian Olah
via wifi. > > andrin > > > On 16 Jul 2016, at 17:00, Krisztian Olah wrote: > > > > Hello guys, > >I just got a new macbook and I am not familiar with OSX, could anyone > > please point me to an up to date guide on how to set up usb networking on > &g

[SailfishDevel] SSH on OSX

2016-07-16 Thread Krisztian Olah
Hello guys, I just got a new macbook and I am not familiar with OSX, could anyone please point me to an up to date guide on how to set up usb networking on OSX, I'm using El Capitan. I did try to search, but came up short. Thanks in advance Kris ___ Sa

Re: [SailfishDevel] Open source in-app ad API helper for QML - please, join

2016-05-31 Thread Krisztian Olah
I really like this idea, with the addition that they'd get flagged in the store, so that the end user can decide beforehand whether they want to install it or not, alas that's entirely up to Jolla. I'd like to contribute in the near future, but in the next couple of months I am super busy, like

Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!

2016-05-26 Thread Krisztian Olah
Hi Dirk, If it's a rebranded aqua fish, which I believe it is, it won't have the other half feature. I didn't see any mention of nfc, even though that was the specific feature I was looking for. Any one in the know please correct me if I'm wrong. Without nfc it isn't enough improvement over m

Re: [SailfishDevel] What's the correct way to do this?

2015-06-05 Thread Krisztian Olah
being a QVariant in careRecordsPage.qml. The way you want to pass carDetails is correct, but you are passing the model. On Fri Jun 5 17:57:52 2015 GMT+0100, Chris Walker wrote: > On Fri, 5 Jun 2015 16:53:22 + > Krisztian Olah wrote: > > > It looks like the object carDetails d

Re: [SailfishDevel] What's the correct way to do this?

2015-06-05 Thread Krisztian Olah
It looks like the object carDetails does not exist in the scope you're trying to access it. What scope is your carDetails object in? If you could briefly describe in which file each relevant function/object reside, would be helpful. On Fri Jun 5 17:06:05 2015 GMT+0100, Chris Walker wrote: > Pe

Re: [SailfishDevel] Update on SailfishOS roadmap

2015-02-22 Thread Krisztian Olah
Hi, It is going to be Qt 5.2 for a while, there are libs from 5.2 that are still not allowed. Kris On Sun Feb 22 21:46:32 2015 GMT, Alex Smirnoff wrote: > Hello. > What about Qt version? > Is it still 5.2.2 in update 11? > I really need qt 5.3 to be able to build version 1.2 of QtQuick Controlls

Re: [SailfishDevel] Problem with SearchField hiding and clearing on text entry

2015-02-17 Thread Krisztian Olah
Hi Tadeusz, Although Qt docs don't mention it specifically, I suspect that QSqlTableModel's setFilter method resets the model causing the attached views redrawing themselves, including their headers. You clould use a QSortFilterProxyModel which would not reset upon setting its filter, resulting in

Re: [SailfishDevel] Sharing model between pages ("by reference")

2015-02-01 Thread Krisztian Olah
Hi Dirk, perhaps what you really want to do is filter the data through 1or 2 proxy models, that way you get 2 different models whilst still using the same source model. When data changes in the source it notifies the proxies as well of the change and both views update. Otherwise, if it is not w

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-08 Thread Krisztian Olah
Hi Kim, You can switch off the overlay scrollbar thing with "export LIBOVERLAY_SCROLLBAR=0", did you try if that helps? Alternatively you could find out wether it is a Unity problem by installing another desktop say LXDE; I doubt it is related. ___ Sailfi

Re: [SailfishDevel] Problems deploying with SDK 1412

2015-01-08 Thread Krisztian Olah
et the deployment mode to RPM. > > Michael. > > > > Zitat von Krisztian Olah : > > > Hi list, >> I installed the new SDK yesterday, but since it's installed I cant seem to >> be able to deploy onto device fails due to an rsync error: >> >> rsync: mkd

[SailfishDevel] Problems deploying with SDK 1412

2015-01-08 Thread Krisztian Olah
Hi list, I installed the new SDK yesterday, but since it's installed I cant seem to be able to deploy onto device fails due to an rsync error: rsync: mkdir "/opt/sdk/Trash" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(656) [Receiver=3.1.0] Deploy failed

Re: [SailfishDevel] SearchField Mystery

2014-10-22 Thread Krisztian Olah
Hi Francois, I tried with your approach, but it didn't solve the problem in my case. However I did find the culprit, it was Listview's remove animation it moved the header along the y axis for some reason. :S Thanks Kris On 22 October 2014 09:45, François K. wrote: > Hi Krisztian, > > I faced t

[SailfishDevel] SearchField Mystery

2014-10-21 Thread Krisztian Olah
Hi all, I have encountered a very strange bug with SearchField. I have refactored my SearchHeader component(containing a Label and a SearchField) so that I can reuse in other scenarios as well. I noticed after the refactoring that when user enters the same characters multiple times such as "" o

Re: [SailfishDevel] ListView vs Repeater

2014-10-14 Thread Krisztian Olah
e seen it in one of their apps). > So you're on the right track :-) > > On 13/10/14 23:54, Krisztian Olah wrote: > >Hi Oleksii, > > It is the model that handles the actual removal, but I want a > > RemorseItem to call it, which is in return requested by th

Re: [SailfishDevel] ListView vs Repeater

2014-10-13 Thread Krisztian Olah
l-qtquick-listview.html#remove-prop > > > That would be a "proper" way to do it :-) > > > > On 10.10.2014 17:00, Krisztian Olah wrote: > >>Hi everyone, >> >>I need some help between choosing ListView or Repeater. >>

Re: [SailfishDevel] ListView vs Repeater

2014-10-10 Thread Krisztian Olah
ing will happen, but if it is > inside, the item will be removed. > > Regards, > Lucien > > > - Mail original - > De: "Krisztian Olah" > À: "Sailfish OS Developers" > Envoyé: Vendredi 10 Octobre 2014 17:00:42 > Objet: [SailfishDev

[SailfishDevel] ListView vs Repeater

2014-10-10 Thread Krisztian Olah
Hi everyone, I need some help between choosing ListView or Repeater. I've got a SilicaListView whose elements I want to remove(only remove, never add) dynamically from GUI. When I have fairly a long list count(~25), reaching the element with ListView.contentItem.children[index] is

Re: [SailfishDevel] Dynamic VisualItemModel in SlideshowView

2014-09-29 Thread Krisztian Olah
: > Because I need a slideshow. > How can I do a slideshowview with ListModel? > > > // Peter Pykäläinen > > On 28 September 2014 23:21, Krisztian Olah wrote: > > > Why not use a ListModel then? > > > > On 28 September 2014 18:44, Peter Pykäläinen > >

Re: [SailfishDevel] Dynamic VisualItemModel in SlideshowView

2014-09-28 Thread Krisztian Olah
Why not use a ListModel then? On 28 September 2014 18:44, Peter Pykäläinen wrote: > Hi, > > anybody know how to populate SlideshowView's VisualItemModel dynamically? > I need to have 20 items in the VisualItemModel and I don't want to define > them at init. > > Was thinking of a javascript which

[SailfishDevel] QQmlComponent: Cannot create new component instance before completing the previous

2014-09-11 Thread Krisztian Olah
Hi all, I've just introduced a bug that could cause segfault. It is unknown to me what conditions trigger the bug exactly. I'm clueless as to why it happens, I would be greatful for any kind of help. I attached the error in a txt file I got in console when it crashed. Basically a lot of: "QQmlComp

Re: [SailfishDevel] core dump location

2014-09-07 Thread Krisztian Olah
, Krisztian Olah wrote: > Thanks Alejandro, > I'm unfamiliar with both ulimit and Sailfish in this regard. > If I understand correctly I need to: > devel-su echo "* softcore1000" >> > /etc/security/limits.conf > devel

Re: [SailfishDevel] core dump location

2014-09-03 Thread Krisztian Olah
1000" >> /etc/security/limits.conf devel-su service nemodb restart Then I will have coredumps generated in working dir, journal or some other directory somewhere in /var provided my app crashes, right? On 3 September 2014 12:18, Alejandro Exojo wrote: > El Saturday 30 August 2014,

[SailfishDevel] core dump location

2014-08-30 Thread Krisztian Olah
Hi all, just a quick question. Where does Sailfish dump cores? I checked (as root) sydtemd-coredumpctl, but it seems empty. According to /proc/sys/kernel/core_pattern the name should be "core" so I did a find, but that came up short as well. While it is entierly possible that I don't have a cor

Re: [SailfishDevel] sqlite absolute path

2014-08-07 Thread Krisztian Olah
tandardPaths::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 &g

Re: [SailfishDevel] sqlite absolute path

2014-08-07 Thread Krisztian Olah
atly 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

Re: [SailfishDevel] sqlite absolute path

2014-08-06 Thread Krisztian Olah
t; > > > > 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: > > > > > &g

Re: [SailfishDevel] Platform icons

2014-08-04 Thread Krisztian Olah
Thanks everyone. @Marcin that's exactly what I was gonna do. ;) On 4 August 2014 16:44, Marcin M. wrote: > You might simply want to scp all of them from the Emulator to your desktop > system. > > -- > Marcin > > > 2014-08-04 16:11 GMT+02:00 : > > Hi, >> >> Am Mon Aug 04 2014 15:21:58 GMT+0200

[SailfishDevel] sqlite absolute path

2014-08-03 Thread 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 sav

Re: [SailfishDevel] Versions

2014-07-20 Thread Krisztian Olah
Hi Chris, I've been using a bash script to do just that. I am not very good at bash, mind you, so there is plenty of room for improvement, but you can have a look at it and modify to your likes/needs. You are free to do whatever you want with it; to modify, to share, to not share... Regards Kris

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Krisztian Olah
First off, you should place each class to its own heeader and source file to reduce future compile time. When you change only one class you won't have to recompile everything thus it's easier to find the classes. You should use one of the Qt Sql Model classes: http://qt-project.org/doc/qt-4.8/sql

Re: [SailfishDevel] Measuring distance with GPS

2014-07-07 Thread Krisztian Olah
Hi Niels and Kristof, You can just link QtPositioning, if you are using C++ you can use QGeoCoordinate::distanceTo(const QGeoCoordinate &), there is an equivalent for QML, check out: http://qt-project.org/doc/qt-5/qml-coordinate.html#distanceto It's probably gonna be faster than whatever you ca

[SailfishDevel] Locked in QA

2014-06-07 Thread Krisztian Olah
Hi Sailors, I submited an update to my app "London Sail" yesterday, today noon I found a blocker bug in one of the features, so I was trying to remove the app going through QA before it goes out, but unfortunately it was already locked (being processed?) in QA. I did remove the binary through

Re: [SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Krisztian Olah
cal and Horizontal > separately. > Vertical/HorizontalScrollDecorator inherits Rectangle, so you should > understand now how to use it ;) > > 03.06.2014 11:07, Krisztian Olah пишет: > > Ouch, that did hurt. I only checked ScrollDecocartor in QtCreator not the > horizontal or

Re: [SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Krisztian Olah
wrote: > ORLY? > > SilicaListView / SilicaFlickable { > ... > VerticalScrollDecorator { color: "red" } > } > > 03.06.2014 10:41, Krisztian Olah пишет: > > Hi list, > >Is it possible to change the colour of the ScrollDecorator component? &g

[SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Krisztian Olah
Hi list, Is it possible to change the colour of the ScrollDecorator component? I couldn't find anything regarding this in the Silica reference nor anywhere else. I remembered that the browser has been opened so I checked in the source, but it seems to have been reimplemented in QML. ScrollDeco

Re: [SailfishDevel] QThread priority

2014-05-29 Thread Krisztian Olah
ly in the same thread so that I can append to QXmlStreamReader's data, I think it is easier to just use QThread in this case. However thank you for your input, I'm sure I will make use of QtConcurrent in the QFuture. (pun intended) ;) On 29 May 2014 12:23, Krisztian Olah wrote: >

Re: [SailfishDevel] QThread priority

2014-05-29 Thread Krisztian Olah
t; > > > QThread *thread = new QThread(parser); > > > > parser->moveToThread(thread); > > > > QObject::connect(thread, SIGNAL(started()), parser, > SLOT(parse())); > > > > QObject::connect(parser, SIGNAL(parseComplete(QVariantMap)),

Re: [SailfishDevel] QThread priority

2014-05-28 Thread Krisztian Olah
ad = new QThread(parser); > parser->moveToThread(thread); > QObject::connect(thread, SIGNAL(started()), parser, SLOT(parse())); > QObject::connect(parser, SIGNAL(parseComplete(QVariantMap)), this, > SLOT(onParseComplete(QVariantMap))); > thread->start(); > > 28.05.2014 03:2

[SailfishDevel] QThread priority

2014-05-27 Thread Krisztian Olah
Hi list, I have a rather large xml file to parse and it causes the UI to freeze, I assingned the parser to a different thread, but it doesn't help much. According to the Qt documentation QThread::setPriority() doesn't work on Linux, is there some kind of workaround that could be used? Than

[SailfishDevel] SilicaListView inside a Column and SilicaFlickable

2014-05-10 Thread Krisztian Olah
Hi everyone, I found this snippet in the Qt Devdays Beiing document(p16), I want to do something similar; Having a SilicaListView in a Column which in return is in a SilicaFlickable. SilicaFlickable { PullDownMenu { ... } Column { SlideshowView { model: monthModel