Re: [SailfishDevel] Accessing Saifish theme from javascript

2014-01-04 Thread Andrey Kozhevnikov
.import Sailfish.Silica.theme var color_info = Theme.primaryColor On 04.01.2014 17:14, Kimmo Lindholm wrote: Tested, didn't work -- same results .importSailfish.Silica.Theme1.0asSilicaTheme var/color_info/=SilicaTheme.primaryColor; import Sailfish.Silica.theme 1.0 On 04.01.2014 16:49,

Re: [SailfishDevel] Accessing Saifish theme from javascript

2014-01-04 Thread Andrey Kozhevnikov
.import Sailfish.Silica.theme 1.0 as SilicaTheme function test() { console.log(color: + SilicaTheme.Theme.primaryColor) } // color: #ff On 04.01.2014 17:47, Kimmo Lindholm wrote: Gives following from .import line: [W] unknown:23 - qrc:///js/constants.js:23: SyntaxError: Unexpected

Re: [SailfishDevel] Zypper and PackageKit

2014-01-04 Thread Andrey Kozhevnikov
afaik pakckagekit have easy queue management On 05.01.2014 00:40, Marcin M. wrote: Hi, I'm wondering, what are the advantages disadvantages of Zypper vs PackageKit. Why has the latter been selected for Sailfish as default? Regards, -- Marcin

Re: [SailfishDevel] ContextMenu with repeater

2014-01-05 Thread Andrey Kozhevnikov
` instead of just `index`? Are you sure that onClicked signal in MenuItem gets fired? On 03.01.2014 16:21, Andrey Kozhevnikov wrote: Hello I can't get context menu index if using repeater inside ComboBox { id: languageCombo label: Language

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Andrey Kozhevnikov
change your launch parameters to use invoker On 06.01.2014 19:14, Ove Kåven wrote: Den 05. jan. 2014 23:10, skrev Matthias Barmeier: Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? I've needed to access PIM data myself,

[SailfishDevel] TextArea question

2014-01-06 Thread Andrey Kozhevnikov
Hello! I have some questions. I want to keep dynamic TextArea height, but set maximum number of visible lines. And anyone got bug when zooming in interface while selecting text? Sometimes its not zooming out and i cant use application :D Thanks :)

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov
20.07.52 tel:2014%2020.07.52 Martin Grimme wrote: Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can be operated without

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov
On Saturday 04 January 2014 20.07.52 tel:2014%2020.07.52 Martin Grimme wrote: Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov
so? pkcon providin same data which pk server sent :) On 07.01.2014 00:23, Marcin M. wrote: The manual is about the D-Bus service, and I meant the CLI interface - pkcon. -- Marcin 2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com afaik zypper downloading

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Andrey Kozhevnikov
It shouldn't. It will just ignore not existing files. On 09.01.2014 17:24, Ruslan Nigmatullin wrote: I fear that removing installed files is bad idea as package manager can become crazy. 09.01.2014, 15:18, Wim de Vries wsvr...@xs4all.nl: Thanks. On 01/09/2014 09:40 AM, Jonni Rainisto wrote:

[SailfishDevel] lipstick-jolla-home-qt5 license and copyrights

2014-01-09 Thread Andrey Kozhevnikov
Hello! I just want to ask about lipstick-jolla-home-qt5 package license, copyright and other. I hacked lipstick binary qml content and made a patch for supporting other devices with non-portrait framebuffer orientation. As you know on Nokia N9 system gestures rotated to 90 degrees

Re: [SailfishDevel] lipstick-jolla-home-qt5 license and copyrights

2014-01-09 Thread Andrey Kozhevnikov
If you didnt noticed changes already here: https://together.jolla.com/question/12022/patch-for-lipstick-jolla-home-qt5-to-support-any-framebuffer-orientation/ On 10.01.2014 01:53, Alejandro Exojo wrote: El Thursday 09 January 2014, Andrey Kozhevnikov escribió: 1. Jolla making fix

Re: [SailfishDevel] Out of curiosity: why are you developing for SailfishOS?

2014-01-10 Thread Andrey Kozhevnikov
because linux On 10.01.2014 16:26, Ruediger Gad wrote: Hi all, just out of curiosity, I am asking why are you developing for SailfishOS and, if yes, what is your motivation to push your apps to Harbour? I don't want to spam the mailing list with such an off-topic discussion. Hence, I created a

Re: [SailfishDevel] mersdk and kernel-devel

2014-01-10 Thread Andrey Kozhevnikov
btw, what profit on sourcecode request? why not to publish it initially for everyone? why every developer should request sources? On 10.01.2014 21:34, Jonni Rainisto wrote: I think that someone did source code request and posted the kernel online:

[SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Saturday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
There are reasons for chmod 666 in /usr/share/appname Also i'm using scriptlets for closing my applications before installation new version/remove and so on On 11.01.2014 18:34, Alejandro Exojo wrote: El Saturday 11 January 2014, Andrey Kozhevnikov escribió: you suggested to change /usr

Re: [SailfishDevel] Two executables and D-Bus interfaces in a package

2014-01-15 Thread Andrey Kozhevnikov
D-Bus interfaces not allowed for harbour. And you can use everything you want if dont need to go to harbour :) On 16.01.2014 04:35, Matthias Fehring wrote: Hello, I have a question concerning the harbour rules and the currently allowed stuff. My application (http://ocnews.buschmann23.de)

Re: [SailfishDevel] Two executables and D-Bus interfaces in a package

2014-01-15 Thread Andrey Kozhevnikov
. PackageKit (hopefully) is the one big exception there at the moment. We're trying to create additional documentation on stability of DBus APIs to help you to avoid using an API which will still change a lot./ Gabriel. Am 15.01.2014 23:43, schrieb Andrey Kozhevnikov: D-Bus interfaces

Re: [SailfishDevel] PKGCONFIG entry in project .pro file

2014-01-21 Thread Andrey Kozhevnikov
check this: http://paste.ubuntu.com/6790746/ On 21.01.2014 15:59, christopher.l...@thurweb.ch wrote: Hi All When / why is a PKGCONFIG entry required in a Sailfish .pro file? Is there a better way of specifying the same (e.g. via a .yaml entry)? As an example, I am playing around with

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-21 Thread Andrey Kozhevnikov
is fetching Contacts allowed to Harbour at all? On 21.01.2014 16:15, Harald Schmitt wrote: Hi, I tried to use QContactManager, QContact and so on for an app I'd like to publish on harbour, but the line in my .pro file PKGCONFIG += Qt5Contacts is rejected by the new validation tool. How can I

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Andrey Kozhevnikov
...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Saturday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour Why RPM scriptlets not allowed to harbour

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Andrey Kozhevnikov
from onCurrentItem changed check currentIndex and do action. It's the only way to get paged combobox to work. On 22.01.2014 14:02, Franck Routier (perso) wrote: Hi, I have a ComboBox with MenuItem. OnClicked, each MenuItem updates a value in a component of my page. So far, so good. But when

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Andrey Kozhevnikov
just use QStandartPath or at least QDir::Home instead of hardcoding /home/nemo On 22.01.2014 15:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is

Re: [SailfishDevel] Porting Symbian QML to Sailfish

2014-01-23 Thread Andrey Kozhevnikov
CommonDialog -- ComboBox ToolBar,ToolBarLayout,ToolButton-- PulldownMenu/PushUpMenu/ComboBox SelectionDialog-- ComboBox QueryDialog-- Dialog RadioButton-- Switch CheckableGroup

Re: [SailfishDevel] Built-in alarm

2014-01-24 Thread Andrey Kozhevnikov
CONFIG += link_pkgconfig PKGCONFIG += timed On 24.01.2014 15:13, Nemehlo . wrote: Thanks, that brings a light into the darkness, however I'm getting errors during compilation now: *error: undefined reference to `Maemo::Timed::Event::~Event()'* I get this error for pretty much all Maemo

Re: [SailfishDevel] Received SMS?

2014-01-24 Thread Andrey Kozhevnikov
i dont think it can be allowed to harbour On 24.01.2014 19:35, Seppo Tiainen wrote: Hi, What might be the Harbour policy for an app accessing received SMSs? However, I have not yet found any QML tool to enable that. On N9, I did that with Harmattan's Mobility and ListView + MessageModel.

Re: [SailfishDevel] Background Services

2014-01-24 Thread Andrey Kozhevnikov
it should be similar with nemomobile ones On 24.01.2014 19:29, ? ??? (Salman Aljammaz) wrote: Come to mention it, is there a way to register custom services for Jolla's built-in Accounts/Sync facilities? Apologies if this is documented somewhere, I couldn't find it! 2014/1/24 ?

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-25 Thread Andrey Kozhevnikov
there are no organizer in Sailfish Sailfish using org.nemomobile.calendar module On 25.01.2014 17:57, Matthias Barmeier wrote: Hi, does anybody know how how to setup calendar access from QML ? I have successfully gained access to contacts. I tried the same approach, but it does not work :(.

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-25 Thread Andrey Kozhevnikov
have a hint where I can found an example on how to access the calendar with nemo.mobile.org ? Thanks. Ciao Matze Am 25.01.2014 13:01, schrieb Andrey Kozhevnikov: there are no organizer in Sailfish Sailfish using org.nemomobile.calendar module On 25.01.2014 17:57, Matthias Barmeier

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread Andrey Kozhevnikov
writing qmltypes file can help you :) On 26.01.2014 22:23, christopher.l...@thurweb.ch wrote: Hi All My app exposes chunks of functionality to the QML side from C++ declarative plugins. On the QML side QtCreator gives me automatic code completion for elements exposed from such plugins,

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Andrey Kozhevnikov
issue not in app permissions. issue in restriction access to cloud contacts got from 3rd party services, and so on On 27.01.2014 00:21, Marcin M. wrote: And wouldn't separate permission for each app solve the thing? -- Marcin 2014-01-26 Bernd Wachter bernd.wach...@jolla.com

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread Andrey Kozhevnikov
, Gabriel. -- Von meinem Nokia N9 gesendet Andrey Kozhevnikov schrieb am 26.01.14 17:25: writing qmltypes file can help you :) On 26.01.2014 22:23, christopher.l...@thurweb.ch mailto:christopher.l...@thurweb.ch wrote: Hi All My app exposes chunks of functionality to the QML side from C

Re: [SailfishDevel] Update 1.0.3.8 changes LocalStorage location?

2014-01-31 Thread Andrey Kozhevnikov
:02, Andrey Kozhevnikov wrote: i mean: if you used appName and orgName before your app not affected. On 01.02.2014 01:44, Stefan Brand wrote: Well, I just used the default sailfish app template from the SDK... In an IRC-Log I saw thp mention that setting organizationName and organizationDomain

Re: [SailfishDevel] ListView with SectionDelegate (Strange Behaviour)

2014-01-31 Thread Andrey Kozhevnikov
you might need to use specific field for section name and write uppercase first letter to it. On 01.02.2014 02:32, Norbert Wenzel wrote: Sorry for tofu, I'm not able to manage the Google webmail reply interface correctly, and I don't have my Thunderbird with me atm. I just wanted to say that

Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.

2014-02-01 Thread Andrey Kozhevnikov
same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite On 01.02.2014 17:06, Matthias Barmeier wrote: Hi, I

Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.

2014-02-01 Thread Andrey Kozhevnikov
ah, you removed privileged bit by default from booster? okay, thank you :) On 01.02.2014 18:02, Bernd Wachter wrote: Andrey Kozhevnikov coderusin...@gmail.com writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString): Unable

Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.

2014-02-01 Thread Andrey Kozhevnikov
wrote: Andrey Kozhevnikov coderusin...@gmail.com writes: btw, is there any automation for adding executable to this list, or i should make own code for scriptlet? This is a hack for using things on your own device we can't allow in harbour (yet) - no automation/official way to do

Re: [SailfishDevel] dbus-sessionbus connection fails

2014-02-03 Thread Andrey Kozhevnikov
did you added depends for your autostart rule on some system service? otherwise it wont start :) On 03.02.2014 16:01, Luca Donaggio wrote: I'm fighting with the same issue: starting your dbus-using daemon with systemctl-user start does work (ie, you'll be able to connect to session bus), but

Re: [SailfishDevel] dbus-sessionbus connection fails

2014-02-03 Thread Andrey Kozhevnikov
if it works. On Mon, Feb 3, 2014 at 11:05 AM, Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com wrote: did you added depends for your autostart rule on some system service? otherwise it wont start :) On 03.02.2014 16:01, Luca Donaggio wrote: I'm

Re: [SailfishDevel] QtWebKit QWebView

2014-02-05 Thread Andrey Kozhevnikov
most of extra packages are not preinstalled by default. you should install development packages using SDK Control Center, and add dependencies to your yaml/spec for installing all required packages on target devices. On 06.02.2014 01:52, Samuli Silvius wrote: Hi, So how to find what Qxxx

Re: [SailfishDevel] Does sailfish run wine?

2014-02-11 Thread Andrey Kozhevnikov
Yes. Windows ARM applications :D And please don't use developer mailing list for not relevant questions :) On 11.02.2014 17:38, David Jensen wrote: Since Sailfish is Linux, does Wine, and therefore Windows programs run on it? David Jensen

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Andrey Kozhevnikov
Actually you don't need Harbour to develop what you want ;) On 11.02.2014 20:09, Timur Kristóf wrote: This site answers both your questions: https://harbour.jolla.com/faq 1. QWidgets are unsupported on Sailfish because they are not mobile-optimized and not hardware accelerated. 2. Python

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-11 Thread Andrey Kozhevnikov
using Qt DBus classes and not use system() call? On 12.02.2014 12:08, itviewer wrote: Dear all, I need the screen capture function in my application . There are two applications (screenshot and opensource sailshotme) in the jolla store. From the sailshotme, I know that can call the

Re: [SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-12 Thread Andrey Kozhevnikov
manager = new QNetworkConfigurationManager(this); connect(manager,SIGNAL(onlineStateChanged(bool)), this,SLOT(networkStatusChanged(bool))); connect(manager,SIGNAL(configurationChanged(QNetworkConfiguration)), this,SLOT(networkConfigurationChanged(QNetworkConfiguration)));

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
its Qt0Feedback in CONFIG of .pro file as far i remember. On 12.02.2014 20:06, . . wrote: help needed. new to Qt and Sailfish development (but not new to C++) does anyone know how i can build a console application for Sailfish that uses Qt? i only want to use certain Qt classes with no UI.

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
INCLUDEPATH += /usr/include/qt5/QtFeedback instead of HEADERS += On 12.02.2014 20:32, . . wrote: My .pro file looks like this # The name of your app TARGET = TestVibraUI # C++ sources SOURCES += main.cpp # C++ headers HEADERS += QtFeedback/ # QML files and folders qml.files

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
CONFIG not working? On 12.02.2014 20:40, . . wrote: Ok, fixed that and I am now using QCoreApplication (I used a template project previously). But I'm still getting those errors. How do I link with the haptics lib?

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread Andrey Kozhevnikov
? ma xinjun *From:* Andrey Kozhevnikov mailto:coderusin...@gmail.com *Date:* 2014-02-12 22:33 *To:* devel mailto:devel@lists.sailfishos.org *Subject:* Re: [SailfishDevel] How to get the screen capture but don't block UI QDBusInterface *iface = new QDBusInterface(org.nemomobile.lipstick, /org

Re: [SailfishDevel] Page Status code

2014-02-12 Thread Andrey Kozhevnikov
it's still there and working. no idea what wrong with your setup On 13.02.2014 01:36, Chris Walker wrote: In the past (Harmattan code), I would have done this sort of stuff :- onStatusChanged: { if (status==PageStatus.Activating) { but there is no 'onStatusChanged' option now. So

Re: [SailfishDevel] undefined symbols

2014-02-14 Thread Andrey Kozhevnikov
2014 15:57:17 +0100 To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] undefined symbols On 12 Feb 2014, at 15:54, Attila Csipa q...@csipa.in.rs wrote: On 12/02/14 16:49, Andrey Kozhevnikov wrote: because there are no qt5 config for Qt0Feedback, but pkgconfig did the magic

Re: [SailfishDevel] Scroll Indicator

2014-02-14 Thread Andrey Kozhevnikov
there are no other scroll in sailfish silica. you need to make your own. or implement some fast section scroller like mine: https://github.com/CODeRUS/mitakuuluu/blob/master/persecute2/qml/FastScroll.qml if you have so long list it's good idea to separate it to some sections. if not you need

Re: [SailfishDevel] How can I deploy application without qml file

2014-02-17 Thread Andrey Kozhevnikov
you can set INSTALLS = without appending to existing contents and manually point to desktop (if present) and binary files On 17.02.2014 19:51, Thomas Perl wrote: On 2014-02-17 14:43, J-P Nurmi wrote: Not a bug but an (annoying) feature. :) You probably have CONFIG += sailfishapp in your .pro.

Re: [SailfishDevel] Puzzling application rejection...

2014-02-18 Thread Andrey Kozhevnikov
I see QA not testing applications, reading application name and description and pushing random buttons :D On 18.02.2014 19:28, Jonni Rainisto wrote: Maybe QA tester has misread RPM vs. RPN :-) From: devel-boun...@lists.sailfishos.org

Re: [SailfishDevel] Harbour reject because of too high power consumption

2014-02-18 Thread Andrey Kozhevnikov
Isn't better to fork jolla browser? :) On 19.02.2014 01:16, Mikael Hermansson wrote: when I did upload the tinywebbrowser(before I started on unnoficialtogetherapp) it was cause of webkit eating to much CPU when app is minimized. Wasn't this what they said for u too? AFAIK there is no

Re: [SailfishDevel] how can I translate the application name

2014-02-18 Thread Andrey Kozhevnikov
Wow! What a silly man? http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html On 19.02.2014 11:20, maledictusdema...@gmail.com wrote: You should not translate application name Wed Feb 19 2014 07:38:48 GMT+0300 (FET) получено от itviewer: Hi all, If I want my

Re: [SailfishDevel] how can I translate the application name

2014-02-18 Thread Andrey Kozhevnikov
Sorry, i dont understand why this man saying we shouldn't translate application names :D On 19.02.2014 12:54, Thomas Tanghus wrote: On Wednesday 19 February 2014 12:39 Andrey Kozhevnikov wrote: Wow! What a silly man? Please, even when answers are wrong, let's keep a decent tone here. http

Re: [SailfishDevel] Hidden information to ListView

2014-02-23 Thread Andrey Kozhevnikov
what the problem? You not forced to use all fields in any visual elements. You can use model.get(index).fieldname for getting any field from model On 23.02.2014 14:17, Jukka Heikkilä wrote: Hi Chris and others, yes I understand how to add more than one fields in the same append command. The

Re: [SailfishDevel] Sharing in Sailfish

2014-02-23 Thread Andrey Kozhevnikov
its in nemomobile transferengine plugins On 24.02.2014 01:49, Peter Pykäläinen wrote: Hi, how to use the sharing in a Sailfish application? I'm looking for similar what we had in Meego Harmattan. I guess it was called share-ui. Is there any way I can invoke the sharing functionality from my

Re: [SailfishDevel] how to get qml debug output to file

2014-02-23 Thread Andrey Kozhevnikov
...@jolla.com mailto:robin.burch...@jolla.com wrote: On 04 Feb 2014, at 22:37, Tero Siironen tero.siiro...@iki.fi mailto:tero.siiro...@iki.fi wrote: Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com kirjoitti 4.2.2014 kello 23.14: This is messages handler i'm

Re: [SailfishDevel] QML Format and Formatter objects info

2014-02-24 Thread Andrey Kozhevnikov
via plugins.qmltypes: Component { name: DeclarativeFormatter prototype: QObject exports: [ Formatter 1.0 ] Enum { name: FormatType values: { Timepoint: 0, TimepointRelative: 1,

Re: [SailfishDevel] uinput with maliit at sailfishapps

2014-02-24 Thread Andrey Kozhevnikov
I can suggest you to ask Jolla to implement system hwkb input method to disable vkb to appear, and fix android input. Thats 9000% better than hacking :) On 25.02.2014 03:43, Kimmo Lindholm wrote: Or something like that (Running this on Jolla (1.0.3.8) and it is related to the qwerty toh

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread Andrey Kozhevnikov
??? contextProperty should be set BEFORE loading QML source. On 25.02.2014 21:33, martin.gri...@gmail.com wrote: Hi, you should set the context property after loading the QML source. Then it ought to be available from QML. Martin Am Tue Feb 25 2014 15:06:39 GMT+0100 (CET) schrieb

Re: [SailfishDevel] Gui and Kernel app

2014-02-25 Thread Andrey Kozhevnikov
Sailfish is GNU Linux, not Android. Why you need two packages? On 26.02.2014 02:43, Randolph wrote: Hi there one question for sailfish. When a Qt app with gui and kernel are compiled to android, then android has two apk installers, one for gui and one for kernel. But both cannot communicate

Re: [SailfishDevel] Gui and Kernel app

2014-02-26 Thread Andrey Kozhevnikov
If you mean just Kernel + Gui development then no need in two packages. Combine them both. And no problem in SailfishOS to communicate between processes. You can use any favorite method. Everything works. On 26.02.2014 14:50, Kaj-Michael Lang wrote: On Tue, 2014-02-25 at 21:43 +0100, Randolph

Re: [SailfishDevel] HowTo package my resources (images/sounds/etc)

2014-02-27 Thread Andrey Kozhevnikov
res.files = Home/* res.path = /usr/share/mygame/resourcces INSTALLS += res On 28.02.2014 01:14, Iosif Hamlatzis wrote: ok thanks and if I am not making a Qt application but just a plain c/c++ application? Is there a way to define just the root of my assets folder? Let's say my tree is:

Re: [SailfishDevel] Some API and sailfish app development questions

2014-03-04 Thread Andrey Kozhevnikov
mlite5 is C++ library, meego MNotification class adaptation for SailfishOS On 04.03.2014 23:01, Oleg Linkin wrote: Can I use mlite from qml? May be you have some examples or you can point me to this example? В письме от 4 марта 2014 21:50:40 пользователь Андрей Кожевников написал: 4. why?

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

2014-03-05 Thread Andrey Kozhevnikov
well, i dont know other way than rpmbuild :) On 06.03.2014 03:13, Boris Pohler wrote: Hi, I wrote my first little program using python/pyotherside. I develop directly on the jolla-device (no sdk) and would like to build a rpm package to distribute to openrepos (and later to harbour, if python

Re: [SailfishDevel] QML Dialog / DialogHeader - how to disable accepted button by default?

2014-03-08 Thread Andrey Kozhevnikov
use Bindings, or set canAccept: false by default and change dialog.canAccept after something happened. On 08.03.2014 17:40, Ragnar Kurm wrote: Hello, I'm trying to make a dialog where accept action can be disabled or enabled. I set canAccept explicitly false, but it still appears as active,

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Andrey Kozhevnikov
/usr/share/appname is read only for applications $HOME/.local/share/appname is read and write On 09.03.2014 23:33, Iosif Hamlatzis wrote: When deploying a game/application where should its resources (images/sounds/settings files) be stored so that the game/application can have both read and

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Andrey Kozhevnikov
and the deployment fails. Is this another feature of the QtCreator IDE? And when I say feature I mean a bug, another thing that doesn't work like debugging on the emulator or the device from inside the IDE and I would have to resolve to command line again? On 9 March 2014 19:35, Andrey

Re: [SailfishDevel] slow app building

2014-03-10 Thread Andrey Kozhevnikov
i'm using build script using mb/mb2 + scp/(rsync + sftp). QtCreator just for coding :) On 11.03.2014 03:41, mikete...@gmail.com wrote: Hi All, first post here! I'm using the SailfishOS SDK to build apps and run them on a Jolla device. The whole building and deplying process takes about 35

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 4 (1.0.4.20)

2014-03-18 Thread Andrey Kozhevnikov
if you dont know what is openrepos/warehouse - you shouldnt worry :) On 18.03.2014 14:37, Erik Ridderby wrote: Hi, How can I see if I have openrepo enabled and how can I disable it? BR Erik Den den 17 mars 2014 klockan 20:05 skrev Bernd Wachter bernd.wach...@jolla.com: Bernd Wachter

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 4 (1.0.4.20)

2014-03-18 Thread Andrey Kozhevnikov
that no other unintentional repos is automagically added and I am now ready to update ;) BR Erik Den den 18 mars 2014 klockan 11:09 skrev Andrey Kozhevnikov coderusin...@gmail.com: if you dont know what is openrepos/warehouse - you shouldnt worry :) On 18.03.2014 14:37, Erik Ridderby wrote

Re: [SailfishDevel] How to get all applications installed on the phone?

2014-03-20 Thread Andrey Kozhevnikov
for sailfish apps you can use packagekit dbus api or rpm, for android no idea, sorry (reading /usr/share/applications/apkd-?) On 20.03.2014 12:28, itviewer wrote: Hi All, I want get all applications that installed on the phone,including Android applications and Sailfish applications 。 Does

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-20 Thread Andrey Kozhevnikov
you can make own C++ dbus helper for mce. its just nemomobile qml import not allowed On 20.03.2014 12:35, frances frederic wrote: hi all I've used dbus package to prevent jolla from sleeping using same code as /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml but it seems to be not allwed by

Re: [SailfishDevel] Multi-language app details on Harbour

2014-03-21 Thread Andrey Kozhevnikov
What language you want to add? On 22.03.2014 00:09, Lauri Nurmi wrote: Ahoy all, On the Edit app page at harbour.jolla.com, one can add a textual description about the app in multiple languages. But the only languages offered for adding are English and Finnish. Why is that? Also, is the

Re: [SailfishDevel] Getting SMS notifications

2014-03-21 Thread Andrey Kozhevnikov
SMSListener::SMSListener(QObject *parent) : QObject(parent) { QDBusConnection::systemBus().connect(, , org.ofono.MessageManager, IncomingMessage, this,

Re: [SailfishDevel] Why do I get binding loop error?

2014-03-24 Thread Andrey Kozhevnikov
flickable.contentHeight: column.height 24.03.2014 15:14, Luca Donaggio ?: I'm experiencing the same in a slightly different context (a SilicaListView with a ContextMenu dynamically created and on shown after a long press on each ListItem delegate). To me it seems related to the

Re: [SailfishDevel] android apk for sailfish os install

2014-03-24 Thread Andrey Kozhevnikov
you made my day, thank you Randolph! 24.03.2014 15:15, Randolph ?: Hi when will the app be released, that an apk installer on android will install sailfish os on Nexus 7 and Galaxy S 2 ? Is there any public source or test or wiki for that? Kind Regards Randolph

[SailfishDevel] How to make vCard

2014-03-27 Thread Andrey Kozhevnikov
How to generate vCard for contact? What is preferred way to do it (if many)? ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to make vCard

2014-03-27 Thread Andrey Kozhevnikov
Thanks, found it. QVersitWriter + QVersitContactExporter 28.03.2014 06:29, Ove Kåven пишет: Den 27. mars 2014 18:33, skrev Andrey Kozhevnikov: How to generate vCard for contact? What is preferred way to do it (if many)? If you're using QtContacts, then it's best to also use QtVersit

Re: [SailfishDevel] SMS for m2m communication

2014-03-29 Thread Andrey Kozhevnikov
you obliviously doesnt even know why exactly peoples having troubles when upgrading, wanna talk about it? :) It was caused because sailfish doesnt care about system packages with different versions placed in user repositories. No one os in the world have this problem. All modern os'es

Re: [SailfishDevel] SMS for m2m communication

2014-04-02 Thread Andrey Kozhevnikov
Sailfish have big capabilities. But most of questions you can get in this mailing lists based on Jolla Store (Harbour) publishing rules. 02.04.2014 21:43, Pasi Patama пишет: Have a look at the list archives, I remember posting in a thread that had exactly that topic. That was even way before

[SailfishDevel] How do debug QML?

2014-04-04 Thread Andrey Kozhevnikov
Is there any useful method for debugging QML? QtCreator can't start debugging, everytime says Debug failed. I can debug process with gdb locally, but how to debug QML? ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] app OrganizationName and harbour

2014-04-05 Thread Andrey Kozhevnikov
if appname/orgname is unset manually i'm getting those values by QStandardPaths: /home/nemo/.cache/$APPNAME/$APPNAME - for cache /home/nemo/.local/share/$APPNAME/$APPNAME - for data is it okay? 05.04.2014 21:57, Thomas Perl пишет: On 05 Apr 2014, at 17:27, Thomas Tanghus tho...@tanghus.net

Re: [SailfishDevel] Where is the source code for the Sailfish OS version of fingerterm (and other GPL applications)

2014-04-12 Thread Andrey Kozhevnikov
David, you wrong Mehdi, you should look carefully its in master branch: https://github.com/nemomobile/fingerterm/tree/master if you ever used fingerterm on jolla you should be noticed its not ported to silica components and using legacy meego components instead. 12.04.2014 20:15, David

Re: [SailfishDevel] Where is the source code for the Sailfish OS version of fingerterm (and other GPL applications)

2014-04-12 Thread Andrey Kozhevnikov
is there a Silica branch with the Meego components replaced with Silica components? Cheers, Mehdi On Sat, Apr 12, 2014 at 4:07 PM, Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com wrote: David, you wrong Mehdi, you should look carefully its in master

Re: [SailfishDevel] Reading photo library without QtDocGallery

2014-04-14 Thread Andrey Kozhevnikov
On Monday, April 14, 2014 at 9:16, Andrey Kozhevnikov wrote: QDir? :D 14.04.2014 05:21, Artem Marchenko ?: Hi All I am doing a photo-browsing related app and figured out that neither QtDocGallery, nor org.nemomobile.thumbnailer are not allowed imports anymore (I believe they were allowed

Re: [SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread Andrey Kozhevnikov
IMHO you should manage file permissions yourself before deploying? 16.04.2014 18:39, christopher.l...@thurweb.ch пишет: Hi All I have just installed the April SDK update, and have opened an existing app, and am trying to deploy to my Jolla. The app worked with the previous SDK release, and

Re: [SailfishDevel] SailfishOS SDK April update available tomorrow.

2014-04-17 Thread Andrey Kozhevnikov
Why you using Qt creator then? use mb/mb2 in mer sdk. 17.04.2014 12:47, Iosif Hamlatzis ?: Good morning to all Just updated my SDK with big disaster. Now it doesn't build or clean my project which used custom build/clean steps. In my game I don't need nor want to use Qt so I used the

Re: [SailfishDevel] Systems/Apps

2014-04-18 Thread Andrey Kozhevnikov
for Harbour its not allowed, because its executed with system privileges. for yourself you can hack /usr/share/jolla-settings/ put into entries/ json definitions file and put into pages/ your settings page 18.04.2014 22:52, Vincent B. пишет: Hi, Is there a way to configure homebrew apps from

[SailfishDevel] Mitakuuluu now full opensource application.

2014-04-20 Thread Andrey Kozhevnikov
Just announcing to mailing lists my recent Mitakuuluu update. Now you can fork it, build yourself, make patches and send merge requests. Contributions and ideas are welcome! Licensed under WTFPL, you can do whatever you want with sources, i'll be happy if any piece of my code will help you

Re: [SailfishDevel] SDK 1404 and translations

2014-04-22 Thread Andrey Kozhevnikov
you should create translations/harbour-yourproject-it.ts yourself. QtCreating not making translations for you, it just generates source translation and compiling existing translations. 22.04.2014 19:47, Luca Donaggio ?: Did I hit a bug with the newly added translations support? This two

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

2014-04-23 Thread Andrey Kozhevnikov
you can try to add INSTALLS -= qml somewhere after sailfishapp config line, or just rename folder name 23.04.2014 14:19, tw_bolek пишет: Thank you!!! Yes, QUrl(qrc:/myapp/main.qml) does the job!! Now, *PLEASE*, one more help request: what is the best way to EXCLUDE the qml folder from being

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

2014-04-23 Thread Andrey Kozhevnikov
show your full pro file 24.04.2014 00:39, tw_bolek пишет: Doesn't work :( INSTALLS -= qml doesn't seem to do anything, and renaming the qml folder results in an RPM build error - files not found Anything else, please? Gosh, it was so easy and obvious in Qt4.8 Thank you, Bolek you

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

2014-04-23 Thread Andrey Kozhevnikov
okay, then try this: desktop.files = $${TARGET}.desktop desktop.path = /usr/share/applications icon.files = $${TARGET}.png icon.path = /usr/share/icons/hicolor/86x86/apps INSTALLS = desktop icon 24.04.2014 00:56, tw_bolek пишет: show your full pro file Hey Andrey, here you are. Nothing

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

2014-04-23 Thread Andrey Kozhevnikov
did you made clean and removed build folder content? 24.04.2014 01:16, tw_bolek пишет: Doesn't work, either :(( The qml folder is still added to rpm. And while building the rpm I get messages about overriding commands for target 'install_desktop', ignoring old commands for target

Re: [SailfishDevel] System clipboard and QApplication

2014-04-24 Thread Andrey Kozhevnikov
use QGuiApplication or QCoreApplication. QApplication itself is deprecated. There is also dark side hack for using QML clipboard: TextEdit { id: clipboard visible: false function setClipboard(value) { text = value selectAll()

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-04-24 Thread Andrey Kozhevnikov
what are you talking about? payment support will be added to harbour when ready. there are no avoid plans 24.04.2014 17:05, Mikael Hermansson пишет: I think it would be very wrong strategy to avoid payment apps. But there probadly is more important stuff in the pipe from Jolla side to fix

<    1   2   3   4   5   >