Re: [SailfishDevel] [Minutes] Sailfish Os open source community collaboration meeting on April 5th 2017 at 09:00 UTC

2017-04-05 Thread Lucien Xu
Hello everybody :), In this meeting you talked about whether using or not the Servo components in Gecko. Since Servo requires rust, you will probably be interested in a rust RPM package. I have made some in my private repo on OBS. https://build.merproject.org/project/show/home:sfietkonstanti

Re: [SailfishDevel] [Minutes] Sailfish OS Open Source Community Collaboration Meeting, 5th of September 2016

2016-09-07 Thread Lucien Xu
Hello, During the discussion, we never hard-committed to SELinux. Instead, we wanted to experiment a bit with it, and see if it suits our needs. SELinux was the first choice to consider because of Android using it. My goal is to just evaluate how it can be used in the context of SFOS, as a sa

Re: [SailfishDevel] Carousel of Pages

2015-12-01 Thread Lucien Xu
Or SlideshowView https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-slideshowview.html/ It is built on top of PathView, but is easier to use - Mail original - > De: "Andrey Kozhevnikov" > À: "Sailfish OS Developers" > Envoyé: Mardi 1 Décembre 2015 00:55:04 > O

Re: [SailfishDevel] QtContacts & jolla-contacts app

2015-10-28 Thread Lucien Xu
Hi Michal, Your application is writing to the unrpivileged contacts DB. This DB is "read only", as jolla-contacts sync the (privileged) DB to this one, without syncing back. That's why you see your contact, but it do not appear in jolla-contacts. Running with privileged group, and access to the

Re: [SailfishDevel] how can i "contain" text items properly?

2015-10-28 Thread Lucien Xu
Hello Alexander, I'm not sure to understand exactly what you need, but you might want to take a look at the "clip" property of the Item component (base of all graphical components in QtQuick) http://doc.qt.io/qt-5/qml-qtquick-item.html#clip-prop Regards, Lucien - Mail original -

Re: [SailfishDevel] Compiling and installing libsocialcache

2015-08-19 Thread Lucien Xu
Hello, The best would be to use package management tools to install the packages. Instead of using rpm -i , try using zypper . It will bring you the required dependencies. Also, please note that the Mer SDK virtual machine is a "host" OS. The targets used to build are hosted inside this OS.

Re: [SailfishDevel] compile error

2015-06-29 Thread Lucien Xu
So i hope to found some why that the are not packed into the > RPM file. > --- > Best regards! > Rudi Timmermans. > Op 26/06/15 om 09:06 schreef Lucien Xu: > > Hi Rudi, > > > There are plenty of doc scattered on the internet. The secret is to > > use QT_TR_N

Re: [SailfishDevel] compile error

2015-06-26 Thread Lucien Xu
Hi Rudi, There are plenty of doc scattered on the internet. The secret is to use QT_TR_NOOP in the ListElement because you are not allowed to script what's inside a ListElement. See for instance this bug report https://bugreports.qt.io/browse/QTBUG-11403. Especially this example given in th

Re: [SailfishDevel] Debug error

2015-06-15 Thread Lucien Xu
Hi Rudi: I guess that your FirstPage has noot been installed in your SDK. Is it listed in the .pro file ? Also, "Component . onCompleted : mainWindow . firstPage = firstPage" is buggy: you do not need to set your first page to itself. Regards, Lucien - Mail original - > De: "Rudi

Re: [SailfishDevel] GCompris

2015-04-23 Thread Lucien Xu
Hi Alex, Qt Quick Controls can be themed, and you can use Qt Quick components to do the theming of these controls. We have been doing this kind of theming work for Nemo [1]. However, doing this for Sailfish OS's Silica might require some effort, approval from Jolla etc. However, there is a s

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-17 Thread Lucien Xu
Hi François, I support this idea: Why don't you build a model that is built in two step during creation, first, build the 6 entries, then build the rest ? Regards, Lucien - Mail original - > De: "Michael Fuchs" > À: "Sailfish OS Developers" > Envoyé: Vendredi 17 Avril 2015 12:30:45 >

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-17 Thread Lucien Xu
Hi François, Can't you simply make the hard-coded entries dynamic too. Just add a column in the db saying that these entries are the hardcoded ones ? With this, you got only one query. And when doing db stuff, don't forget to use transactions. It can help speeding up stuff a lot. Regards, Luc

Re: [SailfishDevel] I want to port sailfish os to my Samsung phone

2015-04-15 Thread Lucien Xu
Hello Zaid, By checking the adaptation wiki page[1], I have seen that the GS3 seems to have a partial support. You can try it, but I won't recommand it except if you knows what you are doing and are willing to help the porters on XDA or IRC[2]. Regards, Lucien [1]: https://wiki.merproject

Re: [SailfishDevel] Accessing ListView model properties in section.delegate

2015-02-02 Thread Lucien Xu
Hello Alexander, This do not really make sense: Taking your example from Qt docs, in the medium category, there will be the Dog and Cat. In the "medium" section, you will have two different "name" properties, that are "Dog" and "Cat". What to pick to render name + size ? What would you like to

Re: [SailfishDevel] qtestlib isn't fetched anymore :/ Changed package name?

2015-01-28 Thread Lucien Xu
Hi Artem, Maybe you are missing a dependency to Qt5Test here ? https://github.com/amarchen/log4qt-demo-sailfish/blob/master/rpm/harbour-log4qtdemo.yaml#L44 Regards, Lucien - Mail original - De: "Artem Marchenko" À: devel@lists.sailfishos.org Envoyé: Mercredi 28 Janvier 2015 09:53:47 Obj

Re: [SailfishDevel] A kickoff meeting about SailfishOS, open source, collaboration, way forward @ 15 April, 15:00 UTC

2014-04-08 Thread Lucien XU
Hello, Comments inline. Le mardi 8 avril 2014 20:43:07 Ragnar Kurm a écrit : > Hello, > > I have few questions regarding the meeting: > > First, is there any info about if any Jolla people (who?) will be > attending or will there be only "other half" (the enthusiasts)? > I think it would be ni

Re: [SailfishDevel] A kickoff meeting about SailfishOS, open source, collaboration, way forward @ 15 April, 15:00 UTC

2014-04-06 Thread Lucien XU
Le samedi 5 avril 2014 20:33:58 Filip Kłębczyk a écrit : > I also hope that those decisive people/managers will stay this 1.5 hour > at least and listen carefully. +1 > > I'm also thinking about organizational side of the meeting. We need to > prepare how it should look like as it cannot be a

Re: [SailfishDevel] Supercession

2014-01-29 Thread Lucien XU
Le mercredi 29 janvier 2014 15:57:27 Chris Walker a écrit : > In trying to update a Qt4 app (written for an N900) to Qt5 I wanted to > find out what I should do in order to update something like this > === code > property QueryDialog deleteDialog > === end code > > I get an error 'QueryDia

Re: [SailfishDevel] Closing an application without killing the main loop

2013-12-12 Thread Lucien XU
Hello, I don't know what's the best way to do it, but here are some ideas. 1. Use aboutToQuit and block it with a QEventLoop ? It might not be enough and might leave the application cover open on the multitask grid, making it look not responding. 2. Launch a script / program when quitting

Re: [SailfishDevel] Sailfish OS API: changing home/lock screen wallpaper and running your app on schedule

2013-10-24 Thread Lucien XU
Wow, that's good news ! Still, I would prefer to wait for the public API instead of relying on this hack. Le jeudi 24 octobre 2013 11:53:59 Dmitry a écrit : > It do change color scheme. > > [image: Inline images 1] > > On 24 October 2013 10:18, Lucien XU wrote: > >

Re: [SailfishDevel] Sailfish OS API: changing home/lock screen wallpaper and running your app on schedule

2013-10-24 Thread Lucien XU
IMO the best way is not to use this kind of private stuff to change wallpapers. The best solution is to wait for final Jolla API, that should include the ambiance changing thing. Changing wallpapers using gconf will not change the color scheme, and setting a red tone wallpaper with a blue tone

Re: [SailfishDevel] MeeGo runtime support in Sailfish

2013-10-24 Thread Lucien XU
Hello Tone, What is the level of support of MeeGo that you want ? Usually, developers used Qt Quick to develop in the Nokia N9 and I don't know many devs using libmeegotouch. mlite have a set of helpful stuff, but is not really intended to be used for development of applications, better use S

Re: [SailfishDevel] Troubles with the SDK

2013-10-11 Thread Lucien XU
Le vendredi 11 octobre 2013 13:04:05 Luciano Montanaro a écrit : > Hi everybody, > I have been tinkering with the SDK to start porting my N9/N900 utility > to sailfishos, and I have hit a few stumbling blocks... > > - first one: the QtCreator has stopped building my work, it now answer > with "con

Re: [SailfishDevel] Sailfish User Interface: Tabs

2013-10-11 Thread Lucien XU
Hi Christopher ! It is a design decision not to have tabs in Sailfish. Depending on the role of your tabs, you can use a pulley or attached page. If you have an important page (like a main page) + several less important pages (help, settings), better use a pulley-menu[1] to access these pages.

Re: [SailfishDevel] SDK without VirtualBox

2013-09-16 Thread Lucien XU
Hello ! It is technically possible to use other virtualization software, but it is not supported. The installer checks if VBox is installed because it needs to configure VBox to add the new virtual machines. If you want, you can try with other virtualization softwares, but you have to install

Re: [SailfishDevel] DEFINES in .pro file: Changes require clean to take effect

2013-08-31 Thread Lucien XU
Hi Christopher Be sure to run qmake and _rebuild_ your project when you change the defines, because the change in pro file needs a recompilation in files containing the #ifdef macros. If you run qmake and rebuild, at least you are sure that you are running the files that are using the correct

Re: [SailfishDevel] replacement to QtMobility's GalleryModel?

2013-08-16 Thread Lucien XU
Le jeudi 15 août 2013 22:31:27 Mikael Hermansson a écrit : > I guess Qt mobility has kinda deprecated in Qt5 and some is merged in Qt5. > > But question is what is the replacement for DocumentGalleryModel? in Qt5 or > any similar SailfishOS/nemo API:s? > > also is there any GPS/NFC Qt API? > > S

Re: [SailfishDevel] SailfishOS application template

2013-08-09 Thread Lucien XU
Hello, Did you tried to create a new project with this SailfishOS SDK QtCreator ? In the "Application" tab of the project creation wizard, there should be "Sailfish OS application". Cheers, Lucien Le jeudi 8 août 2013 22:49:02 Helge Täubert a écrit : > Hello, > > I have installed the Sailfish

Re: [SailfishDevel] SearchField and focus

2013-08-09 Thread Lucien XU
sailfishos.org > > [devel-boun...@lists.sailfishos.org] on behalf of Martin Grimme > > [martin.gri...@gmail.com] > > Sent: 09 August 2013 02:06 > > To: Lucien XU > > Cc: devel@lists.sailfishos.org > > Subject: Re: [SailfishDevel] SearchField and focus > >

Re: [SailfishDevel] SearchField and focus

2013-08-08 Thread Lucien XU
Le jeudi 8 août 2013 17:10:26 Benoît HERVIER a écrit : > Hi, > > I'm trying to use SearchField to have a suspense ... a search > field for my list view. > So i try to filter in realtime ... and i notice that SearchField lose > focus > > Basically, i do a reset on the ListModel and append d

Re: [SailfishDevel] Alpha 2: passing simple properties from main.cpp to qml: A bug?

2013-08-04 Thread Lucien XU
Hello guys ! It might be useful to use qmlRegister**Type (uncreatable, singleton etc.) to expose C++ components to QML. But if you really want to use rootContext()- >setContextProperty, you have to be cautious. Actually, if you pass the qml file to the view before registering C++ components, th

[SailfishDevel] Bugfix for sailfishapplication.cpp

2013-08-02 Thread Lucien XU
(). Sailfish::setView was not searching for QML files in the /opt/sdk folder, making the application unable to launch if we selected rsync deployment method. Please find attached an attempt to fix the template. Cheers, Lucien XU#include #include #include #include #include #include #include

Re: [SailfishDevel] SailfishOS Package Manager Error

2013-08-02 Thread Lucien XU
Seems to be a regression indeed. Enter http://localhost:8080 in the address bar and it should work again. Le vendredi 2 août 2013 11:14:35 christopher.l...@thurweb.ch a écrit : > Hi Lucien > > I have both VMs up an running, and have been able to deploy a test > application. > > Any amount of

Re: [SailfishDevel] Starting Sailfish IDE

2013-08-02 Thread Lucien XU
What happen if you execute it directly ? /path/to/installed/SDK/bin/qtcreator ? Le jeudi 1 août 2013 21:27:57 Jordan Onuma a écrit : > Hi All, > > Sailfish IDE has been installed in Linux, but for some reason it won't > open. Not sure if applicable, but I've tried with and without VirtualBox > ru

[SailfishDevel] Bugs / feature requests

2013-08-02 Thread Lucien XU
Hello all ! First of all, congrats for this awesome SDK. Using Qt 5 is really better than Qt 4, with the so much missed JSON parser ! Having the settings app is also very nice to be able to have the global settings grid for applications (even if I did not yet searched in the docs how to use it)

Re: [SailfishDevel] SailfishOS Package Manager Error

2013-08-02 Thread Lucien XU
Hello Chris, Refresh the view by clicking n the Sailfish. It should give you the maintenance view back (if your MerSDK VM is launched) Cheers, Lucien Le vendredi 2 août 2013 08:15:33 christopher.l...@thurweb.ch a écrit : > Hi All > > On the new Qt5Alpha, If I press the SailfishOS Icon on the l

Re: [SailfishDevel] Wrong Qt version in package manager description?

2013-08-02 Thread Lucien XU
Hello :) I believe that the suffix gitXYZ means that it is a git snapshot after the 5.0.2 was released, so maybe a mixture between 5.0.2 and 5.1.0 (closer to 5.1.0). I think that you can suppose that you are working with 5.1.0 Cheers, Lucien Le vendredi 2 août 2013 02:24:05 Ketil Kvifte a écr

Re: [SailfishDevel] Building with the SDK without QtC

2013-07-27 Thread Lucien XU
Replying to myself, and anyone who is interested, I made a small script that automates that. https://github.com/SfietKonstantin/sailfishbuild/blob/master/sailfishbuild PR welcomed :) Le samedi 27 juillet 2013 20:28:23 Lucien XU a écrit : > Hello, > > I have asked the question in #S

[SailfishDevel] Building with the SDK without QtC

2013-07-27 Thread Lucien XU
Hello, I have asked the question in #SailfishOs, but it might be better to have it archived in the mailing list. We were talking about the advantages of vim vs QtCreator in JollaFr's channel, so I was wondering if there is a way to code for Sailfish with a vim / editor + terminal. The only p

Re: [SailfishDevel] Sailfish OS API: changing home/lock screen wallpaper and running your app on schedule

2013-07-22 Thread Lucien XU
Le lundi 22 juillet 2013 16:31:17 Artem Marchenko a écrit : > Hi Lucien > > Indeed the app itself is not super complex, it just depends on the > availability of two API bits: running app on schedule/event and changing > wallpaper, with wallpaper probably changeable via GConf > > I was thinking ab

Re: [SailfishDevel] Sailfish OS API: changing home/lock screen wallpaper and running your app on schedule

2013-07-18 Thread Lucien XU
Hello Artem ! I guess it is still a bit too early to talk about that, especially that the "ambiance" changing API do not exist. (My hack that you linked is just a hack, and do things in a really dirty way). About your application, it should be rather easy. You might create a daemon that is laun

Re: [SailfishDevel] Fwd: Harmattan Share-ui equivalent in MER / Sailfish?

2013-07-14 Thread Lucien XU
Hello ! I guess the best thing to do is to wait for SDK beta. Cheers, Lucien Le dimanche 14 juillet 2013 12:27:05 Tone Kastlunger a écrit : > Since share-ui is not provided in MER, > (see https://wiki.merproject.org/wiki/Architecture#Mer_Architecture) > the plan is to cross-compile it from MeeGo

Re: [SailfishDevel] opengl support in the sailfish emulator?

2013-07-09 Thread Lucien XU
Hello It should, but via mesa-llvmpipe. Don't know your needs though, as I have never done openGL in my life. Le mardi 9 juillet 2013 14:06:51 Wim de Vries a écrit : > Hi, > I have asked this question before, but got no answer. > Now the issue becomes more urgent for my project. > Trying again:

Re: [SailfishDevel] Group indicator

2013-06-22 Thread Lucien XU
My bad, it already exists, and is called "SectionHeader". It is not documented though. Le samedi 22 juin 2013 11:50:54 Lucien XU a écrit : > Hello > > Will Sailfish Silica include a default "group indicator" for ListViews ? > When I'm talking a

[SailfishDevel] Group indicator

2013-06-22 Thread Lucien XU
Hello Will Sailfish Silica include a default "group indicator" for ListViews ? When I'm talking about group indicators, I refer to the "section.deletgate" property of ListView, and the headers that helps grouping (for example) contacts that have the name that starts with the same letter. Cheers

Re: [SailfishDevel] New Sailfish SDK version released with Qt 5.0.2 support?

2013-06-16 Thread Lucien XU
Hello ! Maybe you also have Qt 5.0.2 installed, and Qt Creator wrongly detected the Qt 5.0.2 version of Qt as the default one to be used. Go to the "Projects" tab, and select a different Kit (like the Sailfish one) The version of Qt Creator shipped with Sailfish SDK supports development with Q

Re: [SailfishDevel] UnQLite database engine port to sailfish

2013-06-16 Thread Lucien XU
Hello ! IIRC UnQLite is not available in Sailfish, so you have two solutions. Either build it yourself and embed it to your application, or to use a replacement. Why not simply use sqlite or a QSettings ? If you describe your specific needs, maybe we can find a solution that is better suited

[SailfishDevel] Fwd: RE: Spinner

2013-06-13 Thread Lucien XU
} } Cheers, Joona From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Lucien XU [sfietkonstan...@free.fr] Sent: 13 June 2013 19:12 To: devel@lists.sailfishos.org Subject: [SailfishDevel] Spinner Hello ! I wanted to know if

[SailfishDevel] Spinner

2013-06-13 Thread Lucien XU
Hello ! I wanted to know if there is a "Spinner" type component for Sailfish. Something to indicate that there is a task in progress, but that we don't know the state of the task. I have found that "progress circle" in the components demo. But it seems to be tailored for tasks for which we kno

Re: [SailfishDevel] handle json data

2013-06-09 Thread Lucien XU
Hello ! Install qjson-devel (or something like that), and add CONFIG += link_pkgconfig PKGCONFIG += QJson in your pro file. And use #include Documentation for QJson is here: http://qjson.sourceforge.net/docs/ Cheers, Lucien Le vendredi 7 juin 2013 16:27:06 汪福东 a écrit : > How can I use QML

Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory

2013-06-04 Thread Lucien XU
Le mardi 4 juin 2013 16:15:50 Wim de Vries a écrit : > Even more strange > I have added QML/pages to qml.files in .pro > GroupBox comes up now, but the error message is still there. > > The loading page (SecondPage.qml) and the to-be loaded page > (GroupBox.qml) are in the same directory. > Why is

Re: [SailfishDevel] Pass data from MainPage into CoverPage

2013-06-03 Thread Lucien XU
Hello Mike, I don't think it is a good idea to alias someting that is in another component. Usually, you alias a property of a child component to expose it outside. But you can access the properties defined in appWindow from the cover page. Isn't that enough ? Cheers, Lucien Le lundi 3 juin

Re: [SailfishDevel] change Silica theme details

2013-06-02 Thread Lucien XU
Hello, You are not forced to use Silica to develop your application. You can, for example, use your custom components (based on QtQuick default components, like Rectangle or Text), to draw some of the UI. For example, you can draw a white background by doing Page { Rectangle {

Re: [SailfishDevel] Harmattan to SailfishOS Migration: Any Best Practices out there?

2013-04-09 Thread Lucien XU
Hello Chris, The article from Thomas Perl that you linked basically identify all the challenge of that kind of migration (that is also a problem for migration to eg BB10). If you are doing a "pure" Qt app, then the C++ / Qt code should be the same (maybe only adaptation in main). If you use Py

Re: [SailfishDevel] QML support of Multitouch

2013-03-13 Thread Lucien XU
Hello Seppo, Instead of subclassing QmlApplicationViewer, did you ever tried to just subclass a QDeclarativeView, and add the given code from your link to that subclass ? It should work. Cheers, Lucien Le mercredi 6 mars 2013 10:48:15 Seppo Tiainen a écrit : > What I have been missing most in

Re: [SailfishDevel] Menus in Long ListViews

2013-03-04 Thread Lucien XU
Hi Matthew, It is interesting that Silica*View and SilicaFlickable provides these functions. However, I'm more interested in a specific component, like (maybe), a glow in the bottom right corner that can be used to scroll on top when needed. This component that is always here should be used in

Re: [SailfishDevel] Menus in Long ListViews

2013-03-02 Thread Lucien XU
Hello, I think that when you want to add an entry to the contacts, you might not want to do that in the middle of the contact list ... However, I would like to have a fast scroll capability, or something to "go back on top", just in case that desire of creating a contact happened in the middle