Re: [SailfishDevel] Connman OpenVPN

2014-01-05 Thread AL13N
Op zondag 5 januari 2014 01:59:29 schreef Matthias Fulz: Hi, I'm working on a OpenVPN client for my Jolla, but it seems that connman is bugging around here: this is the comman which will be used by connman: openvpn --remote olz.dyndns.org --ca /home/nemo/OpenVPN/ca.crt --cert

Re: [SailfishDevel] Check for OS in .PRO file

2014-01-05 Thread Oleksii Serdiuk
I use similar approach, but I do qmake CONFIG+=sailfish and then I can check for it in the .pro file like this: sailfish { DEFINES += Q_OS_SAILFISH ... } Looks shorter and cleaner to me :-) On 03.01.2014 12:21, Timur Kristóf wrote: Hi, What Thomas said makes sense, I just want to

Re: [SailfishDevel] Undocumented Silica components

2014-01-05 Thread Oleksii Serdiuk
They're not documented because they might not be ready for prime time yet or their API might still change. So I'd be careful using them. On 03.01.2014 12:26, Timur Kristóf wrote: Hi Luciano, My guess is that since those components are part of Silica and their imports are allowed in the

Re: [SailfishDevel] ContextMenu with repeater

2014-01-05 Thread Oleksii Serdiuk
Did you try using `model.index` 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

Re: [SailfishDevel] ContextMenu with repeater

2014-01-05 Thread Andrey Kozhevnikov
I solved it. If context menu length 6 it becomes dialog, and after choosing dialog item fired only onItemChanged signal, not onIndexChanged. With short combobox everything fine :) You can mark it as found bug ;) On 05.01.2014 18:15, Oleksii Serdiuk wrote: Did you try using `model.index`

[SailfishDevel] SDK / Deploy / Problem with subprojects

2014-01-05 Thread Putze Sven
Hi there, let's assume I've got an umbrella project file myApp.pro which is in some BaseDir: TEMPLATE = subdirs SUBDIRS = myAppLogic myAppSFOS CONFIG += ordered myAppSFOS.depends = myAppLogic There are 2 subprojects, first there is myAppLogic which builds a library, second is myAppSFOS which

Re: [SailfishDevel] Qt Creator Yaml file editor loses new entries

2014-01-05 Thread Putze Sven
Hi, IMHO the .yaml file is (partly) rewritten if something changes in your .pro file, could this be your problem here? BR. Sven On 29.12.2013, at 17:48, christopher.l...@thurweb.ch wrote: Hi All If add a new dependency to the a projects .yaml file via the QtCreator yaml file editor,

[SailfishDevel] Is pragmatically taking a screenshot possible?

2014-01-05 Thread James Mugford
Hi folks, Is it technically possible to create an app that can take a screenshot of the home screen or device viewport? It is for the purpose of creating something technologically similar to a water screen saver. It is possible in rooted Android phones, via the NDK, with

Re: [SailfishDevel] SDK / Deploy / Problem with subprojects

2014-01-05 Thread AL13N
Op zondag 5 januari 2014 14:10:22 schreef Putze Sven: Hi there, let's assume I've got an umbrella project file myApp.pro which is in some BaseDir: TEMPLATE = subdirs SUBDIRS = myAppLogic myAppSFOS CONFIG += ordered myAppSFOS.depends = myAppLogic There are 2 subprojects, first there

Re: [SailfishDevel] Qt Creator Yaml file editor loses new entries

2014-01-05 Thread christopher . lamb
Hi Sven I am not sure. The vanishing happens as soon as I hit command S (to save the changes). Chris Zitat von Putze Sven sailfish...@hardcodes.de: Hi, IMHO the .yaml file is (partly) rewritten if something changes in your .pro file, could this be your problem here? BR. Sven On

[SailfishDevel] File not found errors while generating rpms: how can I fix them?

2014-01-05 Thread a.gra...@gmail.com
Hi, After having transformed my app, because I started it with the template that was shipping with the first version of the SDK, to use the new template, I think there are still some things to be fixed in .pro or .yaml When I try to deploy my app using Deploy as RPM package I get these errors:

[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

[SailfishDevel] Creating advanced keyboard layouts with custom input handlers

2014-01-05 Thread Arvid Fahlström Myrman
Hi, I've been trying to experiment with creating more advanced keyboard layouts than ones who simply map one key to one character---more along the lines of the Chinese pinyin layout. To that end, I've been investigating the relevant QML files located in /usr/share/maliit/plugins/com/jolla/,

Re: [SailfishDevel] No inbox?

2014-01-05 Thread Chris Walker
On Thu, 2 Jan 2014 11:18:45 + Chris Walker cdw_noki...@the-walker-household.co.uk wrote: On Thu, 02 Jan 2014 12:50:08 +0200 Jonni Nakari jo...@egarden.fi wrote: On 02.01.2014 12:23, Chris Walker wrote: As I appear to be the only one with this problem, it's plainly not something

Re: [SailfishDevel] File not found errors while generating rpms: how can I fix them?

2014-01-05 Thread Alejandro Exojo
El Sunday 05 January 2014, a.gra...@gmail.com escribió: - https://github.com/andreagrandi/sailsoma/blob/newtemplate/rpm/harbour-sails oma.yaml - https://github.com/andreagrandi/sailsoma/blob/newtemplate/harbour-sailsoma. pro Have you fixed that already? Because those URLs are 404 now. You

Re: [SailfishDevel] File not found errors while generating rpms: how can I fix them?

2014-01-05 Thread a.gra...@gmail.com
Hi, yes I deleted the branch because another person on #sailfishos suggested me how to fix the problem. I merged the branch with master and deleted the branch. You can find the whole source code here https://github.com/andreagrandi/sailsoma but to be quick it was a matter of putting all the qml

Re: [SailfishDevel] Connman OpenVPN

2014-01-05 Thread Matthias Fulz
On Sunday 05 January 2014 01:59:29 Matthias Fulz wrote: Hi, I'm working on a OpenVPN client for my Jolla, but it seems that connman is bugging around here: this is the comman which will be used by connman: openvpn --remote olz.dyndns.org --ca /home/nemo/OpenVPN/ca.crt --cert

Re: [SailfishDevel] ContextMenu with repeater

2014-01-05 Thread Thomas Tanghus
I've noticed that if the model changes you can't depend on index except if you cache it, so something like this *should* work: onClicked: { var idx = index; console.log(selected: + modelData) console.log(selected: + idx) } On Friday 03 January 2014 21:21 Andrey Kozhevnikov wrote:

[SailfishDevel] AAC support

2014-01-05 Thread Damien Tardy-Panis
Hi all, I've been testing a bit different music file/stream formats on the phone Everything seems fine for flac/ogg/mp3, however I got some problems with AAC format I've tried several AAC/AAC-HE samples: - some found on the Internet - some converted from my collection - some streaming links

Re: [SailfishDevel] AAC support

2014-01-05 Thread Thomas Tanghus
On Monday 06 January 2014 00:46 Damien Tardy-Panis wrote: Hi all, I've been testing a bit different music file/stream formats on the phone Everything seems fine for flac/ogg/mp3, however I got some problems with AAC format I've tried several AAC/AAC-HE samples: - some found on the

Re: [SailfishDevel] Is pragmatically taking a screenshot possible?

2014-01-05 Thread David Greaves
It certainly does; there are 2 screenshot apps in the Harbour - check in 'utils' section David (Author of 'screenshot' ... with an update in QA right now) On 06/01/14 00:48, James Mugford wrote: Great, this sounds hopeful. Do you know if there are there any permission issues surrounding

Re: [SailfishDevel] Undocumented Silica components

2014-01-05 Thread Martin Jones
Hi, As a general rule, if it’s not documented then it isn’t public API. The GlassItem API hasn’t been reviewed for public use. It will probably change and is not safe for use. The busy property of PullDownMenu is documented, but the docs have not been updated in the SDK. OpacityRampEffect has

Re: [SailfishDevel] Is pragmatically taking a screenshot possible?

2014-01-05 Thread Thomas Tanghus
On Monday 06 January 2014 00:48 James Mugford wrote: Great, this sounds hopeful. Do you know if there are there any permission issues surrounding this? I doubt so. As mentioned in https://together.jolla.com/question/9670/api-security-model/ the current security model is QA, Unix permissions

Re: [SailfishDevel] Is pragmatically taking a screenshot possible?

2014-01-05 Thread Filip Kłębczyk
Hi James, you can also look at source code of my screenshot taking app: https://github.com/fk-lx/SailshotMe Regards, Filip ___ SailfishOS.org Devel mailing list