Re: [SailfishDevel] Jolla owner - day 1
I tried to check what was wrong with the contacts, but could not figure it out. As workaround, i did import most important contacts as vcf. Just few minutes ago, there were again contacts missing from the people app. I was fustrated, and started to write this email. Then wanted to check again was one of the vcf imported contacts missing... and now search did found them... and i did locate them from the aplhabetic list. wtf. Also if i look to the list, there is 7 entries starting with Jari but when i search, i can see only 3 of them and one another Jari. So, i claim that the people app showing names is doing something wrong. And then, i have one contact in google and in exchange with the same name. Exchange has phone number, but i can't see it in the phone - i can see only google email. -kimmo Lähettäjä: Kimmo Lindholm Lähetetty: 23. joulukuuta 2013 00:02 Vastaanottaja: Sailfish OS Developers Aihe: RE: [SailfishDevel] Jolla owner - day 1 I don't work at care :), it takes some time to reach me in case it's needed, my colleagues are very busy working there :) Good that they are busy :) do you have first and last name for those in the server side ? can be that they are under some category you don't expect in people app ? I expect to have them all in people app. ...now when the list is shorter I can see common thing in Outlook contacts side. strange thing. I did group contact list by Company, I can see two sections with heading Company: (None) [Just guessing what it could be in English, it says Yritys: (ei mitään)] Contacts in the first section are in people app, but contacts in second are not. Seems that all contacts in with some company name appears in the list. I test now to add company name to one of them and didn't help (or not yet sync'd). All my mailing lists are also in this second section. If I create new contact, it goes to this second section and does not appear into people app. (our exchange version 12.1 - this they did ask from care) -kimmo ___ SailfishOS.org Devel mailing list
[SailfishDevel] Developer mode: SSH config and devel-su
I would like to make a few changes to the login/auth setup for developer mode on my phone, to make it more similar to the other embedded devices I hack on. Does anyone see any problem with doing the following: 1) Put an authorized key in /home/nemo/.ssh and set PasswordAuthentication no in sshd_config. Remote SSH access would then require using the right key. 2) Set PermitRootLogin no in sshd_config. This disables direct SSH access to the root account (allowing me to safely do the following step). 3) Set a password on the root account and enable the account. 4) Use su - to gain root access instead of devel-su. 5) Disable devel-su altogether. The last two steps assume that devel-su does nothing that su does not, except ask for the nemo account password instead of the root password and that no important software (e.g. part of booting) uses devel-su. I must admit I do not like the fact that the developer mode password is displayed in the settings. I realise that anyone with physical access to the phone can get root access but I would prefer it to be a tiny bit harder than just looking at the password in the settings. If no one knows of any problems, I will give it a try in the next few days and report back. Graham ___ SailfishOS.org Devel mailing list
[SailfishDevel] Project tries to use spec file from another project
Hi I have now had the following strange behaviour a few times in QtCreator. I have 2 projects open in QtCreator. The first, abstractui, is a library on which the second landed25_QT5 depends. Most of my development is in landed25_QT5, but ever so often I need to make a change to abstractui. e.g. adding or changing a qml component, then I switch back to landed25_QT5 and continue development. In the case below I changed an existing abstractui qml component, switched back to landed25_QT5, and pressed the green button to build and deploy landed25_QT5 as an RPM package. However it complains that it cannot find the .spec file for abstractui: This is NOT the project that I am building! Note abstractui is not mentioned in landed25_QT5's .pro or .yaml file, I am still deploying abstractui manually via rsync. I am running the latest SDK, my development host is OSX, and the target is the MerSDK-SailfishOS-i486-x86 Emulator. Compile Output is below. Chris 12:24:34: Running steps for project landed25_QT5... 12:24:34: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake /Users/christopherlamb/QTProjects/landed/landed25_QT5/landed25_QT5/landed25_QT5.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug 12:24:35: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake exited normally. 12:24:35: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make make: Nothing to be done for `first'. 12:24:37: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make exited normally. 12:24:37: Emulator is already running. Nothing to do. 12:24:37: Deploying rpm package... 12:24:37: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy --pkcon Fatal: No spec file found in '/home/mersdk//SailfishProjects/abstractui/abstractui/rpm/' and couldn't make one from a yaml 12:24:37: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy exited with code 1. Error while building/deploying project landed25_QT5 (kit: MerSDK-SailfishOS-i486-x86) When executing step 'Rpm' 12:24:37: Elapsed time: 00:03. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Developer mode: SSH config and devel-su
On 28/12/13 11:20, Graham Cobb wrote: I would like to make a few changes to the login/auth setup for developer mode on my phone, to make it more similar to the other embedded devices I hack on. Does anyone see any problem with doing the following: 1) Put an authorized key in /home/nemo/.ssh and set PasswordAuthentication no in sshd_config. Remote SSH access would then require using the right key. I've proposed this internally as a toggle on dev-mode (or if I haven't I meant to). The only 'weakness' I think this introduces is that if you now choose a weaker password as a result then *if* someone gets access to the device they now have a way to enable brute-forcing... but I'll live with that since they can also copy an rpm with suid bash onto your device and install it with pkcon :) I'm not sure how future updates will handle manually changed config files but I think we should be OK. Note that the SDK does something similar and ssh'es in as nemo. It uses a password for the first-time key setup and thereafter just uses keys - so make sure you setup SDK access first for a simpler life. 2) Set PermitRootLogin no in sshd_config. This disables direct SSH access to the root account (allowing me to safely do the following step). I just add a key to root's authorized_keys. After all you've just disabled password based login and root has no passwd; this makes ssh from the desktop trivial and you can use passphrase/agents too. 3) Set a password on the root account and enable the account. You can do this but see answer to 5 and 2 4) Use su - to gain root access instead of devel-su. ditto 5) Disable devel-su altogether. The last two steps assume that devel-su does nothing that su does not, except ask for the nemo account password instead of the root password and that no important software (e.g. part of booting) uses devel-su. devel-su is only installed in developer mode. However it's presence is a really good indicator of developer mode and I'd be cautious of deleting it. I must admit I do not like the fact that the developer mode password is displayed in the settings. I realise that anyone with physical access to the phone can get root access but I would prefer it to be a tiny bit harder than just looking at the password in the settings. It is not displayed if you set it to a value of your choosing :) It may be easier to simply alias su to devel-su in your bashrc. You also then only need to remember one password. As a comment to other readers: sudo is available in mer-tools repo already. ssu ar mer-tools pkcon refresh pkcon search name sudo pkcon install sudo David If no one knows of any problems, I will give it a try in the next few days and report back. Graham ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Project tries to use spec file from another project
Hi I have been able to isolate this behaviour a bit more. It seems to happen if, having changed things in the library project abstractui, the current active file displayed in the QtCreator Editor pane belongs to abstracuti (e.g. the the qml file I just changed), even though the project I am now building / running is Landed25_QT5. If I have a landed25_QT5 file displayed (and abstractui files open but not displayed) then landed25_QT5 builds and runs normally. Chris Zitat von christopher.l...@thurweb.ch: Hi I have now had the following strange behaviour a few times in QtCreator. I have 2 projects open in QtCreator. The first, abstractui, is a library on which the second landed25_QT5 depends. Most of my development is in landed25_QT5, but ever so often I need to make a change to abstractui. e.g. adding or changing a qml component, then I switch back to landed25_QT5 and continue development. In the case below I changed an existing abstractui qml component, switched back to landed25_QT5, and pressed the green button to build and deploy landed25_QT5 as an RPM package. However it complains that it cannot find the .spec file for abstractui: This is NOT the project that I am building! Note abstractui is not mentioned in landed25_QT5's .pro or .yaml file, I am still deploying abstractui manually via rsync. I am running the latest SDK, my development host is OSX, and the target is the MerSDK-SailfishOS-i486-x86 Emulator. Compile Output is below. Chris 12:24:34: Running steps for project landed25_QT5... 12:24:34: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake /Users/christopherlamb/QTProjects/landed/landed25_QT5/landed25_QT5/landed25_QT5.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug 12:24:35: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake exited normally. 12:24:35: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make make: Nothing to be done for `first'. 12:24:37: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make exited normally. 12:24:37: Emulator is already running. Nothing to do. 12:24:37: Deploying rpm package... 12:24:37: Starting: /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy --pkcon Fatal: No spec file found in '/home/mersdk//SailfishProjects/abstractui/abstractui/rpm/' and couldn't make one from a yaml 12:24:37: The process /Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy exited with code 1. Error while building/deploying project landed25_QT5 (kit: MerSDK-SailfishOS-i486-x86) When executing step 'Rpm' 12:24:37: Elapsed time: 00:03. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Developer mode: SSH config and devel-su
On 28/12/13 12:01, David Greaves wrote: On 28/12/13 11:20, Graham Cobb wrote: I would like to make a few changes to the login/auth setup for developer mode on my phone, to make it more similar to the other embedded devices I hack on. ... I'm not sure how future updates will handle manually changed config files but I think we should be OK. Thanks for your response, David. It would be nice if my changes were preserved, of course, but at least these two particular changes will not lock me out if they do get reverted. Note that the SDK does something similar and ssh'es in as nemo. It uses a password for the first-time key setup and thereafter just uses keys - so make sure you setup SDK access first for a simpler life. Ah, thanks for that warning. 2) Set PermitRootLogin no in sshd_config. This disables direct SSH access to the root account (allowing me to safely do the following step). I just add a key to root's authorized_keys. That certainly works, but it is just not the way I have any of my other systems set up. I always disable root access and do everything via an unpriv'd login and su. So I don't plan to do that. 5) Disable devel-su altogether. ... devel-su is only installed in developer mode. However it's presence is a really good indicator of developer mode and I'd be cautious of deleting it. My plan had been to remove the setuid bit. But now plan to leave it untouched. I must admit I do not like the fact that the developer mode password is displayed in the settings. I realise that anyone with physical access to the phone can get root access but I would prefer it to be a tiny bit harder than just looking at the password in the settings. It is not displayed if you set it to a value of your choosing :) Hmm. I had tried that before sending the post!! But I obviously did something wrong as it is now working as you describe (and as I had expected, to be honest). It may be easier to simply alias su to devel-su in your bashrc. Yes. I will probably do something like that instead of steps 3-5 from my original mail. Thanks again. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour: Allow more libraries to link against
I agree on atleast libcrypto support should be in the core OS. Don't know about qmf and its stability etc... But I have requested for libcrypto before and some say libcrypto is still not API/ABI stable, so could be a reason to not include it in the core and instead static link it in our apps. But that leads to problem when linking this with yet another thirdparty like your case :-/ But when talk about encryption. I just found out that openpgp commandline tools is not there anymore not even in the repository :( I remember this was in the repository in emulator before but now gone? PGP is something I think should be in sailfishos and installed from beginning? As commandline tool and possible to execute pgp tools from any application that want to use it... PGP support in mail app is one of the reason to include it from start ;) I don't want to be to much offtopic but summary is: There should be a discussion on the crypto package that should be in the harbour and the unit in general. I know that some of these encryption methods are not allowed certain countries and so on ... Regards Mikael On Friday 27 December 2013 17.48.55 Ruediger Gad wrote: Hi, two of my apps (MeePasswords and Q To-Do) are being rejected because they are linked against libraries that are not allowed. I read the according FAQ at https://harbour.jolla.com/faq and understand your motivation for being so restrictive. However, I'd love to add these apps to Harbour and I think that the libs as well as their API are pretty much stable and should be suited for addition to the whitelist of allowed libs. The relevant libraries are: - libqmfclient5.so.1 - libssl.so.10 - libcrypto.so.10 It would be great if these could be added to the allowed libraries to link against. Some explanation what I use these libs for: libqmfclient5.so.1: Both of my apps offer a synchronization feature that uses IMAP for synchronising files between different devices. For this, I use the IMAP/e-mail API as provided by QMF. libssl.so.10 libcrypto.so.10 MeePasswords uses cryptography to encrypt data. For this it uses qca-qt5 which links against said libs. I know that there is qca-qt5 already in nemo:devel:mw (I actually filed the PR to enable packaging of the qt5 version) but it is not supported for Harbour apps yet. I also requested the addition of qca-qt5 to the allowed libs some time ago. As work-around I ship qca-qt5 with my app and thus need to link against said libs in the meantime. I hope this is the right channel to address this request to. If not, please redirect me in the appropriate direction. Thanks and best regards, Ruediger -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically initialisation of a ListModel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, answering my own question: the call init() must be in the Component.onCompleted of the ListModel component itself, not in the GridView. Thansk, Franck Le 28/12/2013 15:03, Franck Routier (perso) a écrit : Hi, I want to dynamically create a ListModel to be used in my page. I have tried adding a init() method on my ListModel, and to call init() on Component.onCompleted in my view, but this does not seem to work... Here are some code snippets: CardSetModel.qml: import QtQuick 2.0 ListModel { id: cardSetModel function init() { var values = [0,1,2] for (i=0; i values.length; i++) { append({val:values[i]}) } } } And the page where I try to use it: import QtQuick 2.0 import Sailfish.Silica 1.0 Page { id: page property CardSetModel myModel: CardSetModel{} SilicaGridView { id: gridView model: myModel delegate: Rectagle {} Component.onCompleted: { model.init() } } } But init() is never called... How can I dynamically initialize my model (possibly with some parameters) and use it in my page ? Thanks in advance for your tips, Reagrds, Franck ___ SailfishOS.org Devel mailing list -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSvt0AAAoJEGEvoAir78RoBB4H/2PbFU5pZI4ZHx9zf6GzYp1G Ynmcz4n+uOy/MlkePhyPc3IJuMQ3YivrZkxr1RJuCnSWBlN5g+Ug6FvVBJ9Ew/LP fwgoTqGNgbakMhNv5x/DN4iOG+a2/rCL4rFCuWwVW5dL2QScRIBA7cn36UXwb2WS SCkAbUyVeL1yjGzlJoEodJIiTLgFFsWlNsVEhSGRmf3ss4hKgeiujxFM3vqixQbV Q24kJkKVMsIPOnhnCb79lUaj/eSPDjmesj5hUypMxe4l5eYmAVpckN83Cn+N7lOn FC0PladOr7B+2VlKlwyKzS2YjWazD7Fkc5p2xdGi+dvfHzA1tjv9cK8RjvIY6P8= =UPsn -END PGP SIGNATURE- ___ SailfishOS.org Devel mailing list
[SailfishDevel] Boosted process (pid=721) was terminated due to signal 11
Hi All My application quits unexpectedly during startup, apparently due to signal 11. This seems to be caused by turning the GPS on, as the error occurs immediately after the app does that. I experience this on the Emulator, so it maybe down to the Emulator not having a real GPS. (my Jolla phone is currently in transit between Vantaa and Zurich according to Fedex). I will create a throwaway demo with just GPS to prove / disprove if the error is caused by GPS activate (or just bad timing). Googling for Signal 11 has revealed little. I have come across some references to this error on Android related to memory leaks. journalctl output is below: Chris Dec 28 18:22:57 SailfishEmul landed25_QT5[721]: [D] onStatusChanged:59 - MainPage: turning GPS on ... Dec 28 18:22:57 SailfishEmul landed25_QT5[721]: [D] onGPS:36 - turning GPS on Dec 28 18:22:57 SailfishEmul mapplauncherd[594]: Boosted process (pid=721) was terminated due to signal 11 Dec 28 18:22:57 SailfishEmul invoker[751]: error: Can't send signal 11 to application [721]: No such process ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour: Allow more libraries to link against
Hi, thanks for the reply. It's good to know that this is the right channel and that you are listening. :) Unfortunately, I discovered two more libs some other apps I may try to port would rely on: - libsndfile - qt5-qtconnectivity-qtbluetooth Those are the package names and not the actual library names but I hope that's sufficient. Both seem also to be available already for SailfishOS. libsndfile is even already installed on my Jolla by default. I don't want to sound demanding but I am really motivated to push apps to Harbour and those are the libs I would need to link against. Best regards, Ruediger PS: In some cases statically linking or shipping a lib with an app might solve the issue. However, it feels kind of wrong to do this when a lib is available anyhow. And there may be other cases in which you end up in a long dependency chain such that these workarounds are not practical. Furthermore, to me as a developer, adding such workarounds is an additional overhead and takes time I'd prefer to invest somewhere else, like actually improving an app or writing/porting a new one. Please do not mistake me, I don't want to sound rude but just want to explain my situation. PPS: As people start to develop more apps now (hopefully ;)), I assume that even more people will come up with requests for libs to link against. Would it make sense to have a more centralized place to discuss this or to collect requests? I mean to have a place for devs as well as for you to quickly see which libs had already been requested and to possible vote for libs. E.g., would it make sense to use together.jolla.com for this and maybe add a tag like #harbour-lib-request or something? On 12/27/2013 06:04 PM, Reto Zingg wrote: Hi, On 27.12.2013 18:48, Ruediger Gad wrote: I hope this is the right channel to address this request to. If not, please redirect me in the appropriate direction. for once a nice request and not just ranting :-) this is the right channel. We heard you and will look into it, but I can't promise any time frame when will finally decide whenever we will allow it or not. br Reto ___ SailfishOS.org Devel mailing list -- http://ruedigergad.com ___ SailfishOS.org Devel mailing list
[SailfishDevel] How to handle app settings?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I didn't find any reference to the way application settings are to be handled in SailfishOS. Does this apply http://developer.nokia.com/Community/Wiki/How-to_create_a_persistent_settings_database_in_Qt_Quick_%28QML%29 ? Or this http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Best_practices_for_application_development_Storing_and_managing_application_settings.html ? Or is there a new way of doing in Qt5, or a way specific to Sailfish ? What is the right way to handle settings in my applicaiton ? I probably did not look at the right palce, so any pointer would be welcome. Regards, Franck -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSvwcNAAoJEGEvoAir78RobkkIAKpXnbn1yuQ/75mBXuu0e73J mqpNIwcyMzjF5Zp8XOQWqrNzIXFyoIPDMWgTPZgcoMGOc67+vd6rn7WWEQACt+r+ du3nEsvHGcxkOKCD8/mFcJ80ts7+NYZGzZCOMJiuvD2XNifZxQHbE8EIMif4a5Ud eWalkR0XfnVOWD53RafoReuxcnambwF1TpZ0iaceJAX134uBCRbMUvX+pw1rVO+n Dsg5o7DHCBteFkMPo+TGXK1GVzs4/se2cQPBF++ZUuvXBRwVUtw0I37bDZoCNTu/ 7G0XNkxTi4z3dlEYiYhWqHHUZV0OBpyc1bR+LvtItb2+7bsY3VAb2TCb5RjSL0k= =XvB7 -END PGP SIGNATURE- ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to handle app settings?
I did it like this with QSettings, it works. I don't know is it the correct way... (comments anyone?) introduce me in main() QCoreApplication::setOrganizationDomain(diibadaaba); QCoreApplication::setOrganizationName(diibadaaba ); QCoreApplication::setApplicationName(badbreath); QCoreApplication::setApplicationVersion(0.1-1); read QSettings settings; m_mySetting = settings.value(mySetting, ).toString(); write QSettings settings; settings.setValue(mySetting, m_mySetting); -kimmo ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to handle app settings?
Hi there I believe somebody was posting to IRC a link to a QML wrapper for QSettings done as a part of some nemo project. If you want something QML that works, I use this pure QML LocalStorage approach for the last couple of years fine - https://github.com/amarchen/Wikipedia/blob/master/src/qml/components/DbDictionary.qml Nowadays I would have started with wrapping QSettings though (and pull requests to Wikipedia for changing LocalStorage use into QSettings wrapper are welcome :)) Best regards, Artem. On Sat, Dec 28, 2013 at 7:45 PM, Kimmo Lindholm kimmo.lindh...@eke.fiwrote: I did it like this with QSettings, it works. I don't know is it the correct way... (comments anyone?) introduce me in main() QCoreApplication::setOrganizationDomain(diibadaaba); QCoreApplication::setOrganizationName(diibadaaba ); QCoreApplication::setApplicationName(badbreath); QCoreApplication::setApplicationVersion(0.1-1); read QSettings settings; m_mySetting = settings.value(mySetting, ).toString(); write QSettings settings; settings.setValue(mySetting, m_mySetting); -kimmo ___ SailfishOS.org Devel mailing list -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to handle app settings?
I use a QML-enabled QSettings wrapper created by Nokia at some point. Here’s the download link: https://dl.dropboxusercontent.com/u/10015284/qml_settings/settings.cpp and https://dl.dropboxusercontent.com/u/10015284/qml_settings/settings.h Put those into your project, then register it in your main.cpp (or PROJECTNAME.cpp) like this: Settings settings; //create the root context and set the context properties QQmlContext *rootContext = view-rootContext(); //register our c++ modules for usage in QML rootContext-setContextProperty(settings, settings); Now you have a ”settings” object available everywhere in your QML/JS. Usage: Save an object: settings.setSetting(”name”, value); Read a saved object: settings.setting(”name”); Works like a charm ;) //b0bben On 28 Dec 2013, at 19:06, Artem Marchenko artem.marche...@gmail.com wrote: Hi there I believe somebody was posting to IRC a link to a QML wrapper for QSettings done as a part of some nemo project. If you want something QML that works, I use this pure QML LocalStorage approach for the last couple of years fine - https://github.com/amarchen/Wikipedia/blob/master/src/qml/components/DbDictionary.qml Nowadays I would have started with wrapping QSettings though (and pull requests to Wikipedia for changing LocalStorage use into QSettings wrapper are welcome :)) Best regards, Artem. On Sat, Dec 28, 2013 at 7:45 PM, Kimmo Lindholm kimmo.lindh...@eke.fi wrote: I did it like this with QSettings, it works. I don't know is it the correct way... (comments anyone?) introduce me in main() QCoreApplication::setOrganizationDomain(diibadaaba); QCoreApplication::setOrganizationName(diibadaaba ); QCoreApplication::setApplicationName(badbreath); QCoreApplication::setApplicationVersion(0.1-1); read QSettings settings; m_mySetting = settings.value(mySetting, ).toString(); write QSettings settings; settings.setValue(mySetting, m_mySetting); -kimmo ___ SailfishOS.org Devel mailing list -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Are Jolla core apps opensource ?
I would lean towards licensing of included libraries like xt9. On 12/26/2013 06:35 PM, Tone Kastlunger wrote: Current closed source might have other reasons rather than salary; - competitive advantage? - API completeness? etc main point should be discussion on clarification on how, if and when these closed sources will be made available. On Wed, Dec 25, 2013 at 11:25 PM, a.gra...@gmail.com mailto:a.gra...@gmail.com a.gra...@gmail.com mailto:a.gra...@gmail.com wrote: The two things are not related at all :) Even Linux, that is 100% opensource, has hundred of people paid to contribute to it full time. I know that the comparison is a bit unfair, but it's just to explain that it can be normal to be paid to develop something that is opensource. Can Jolla afford to rely completely on the community? They can't, at this stage. They pay employees to develop some apps. This doesn't mean these apps can't be opensourced for this reason. So probably there is a different reason that only Jolla can explain. Cheers. On 25 December 2013 22:17, Andrey Kozhevnikov coderusin...@gmail.com mailto:coderusin...@gmail.com wrote: I think there are persons in Jolla who receive a salary for developing because of that Jolla Core is not opensource (yet?) On 26.12.2013 03:05, Vincent B. wrote: I'm not sure about it, since I'm unable to find the sources for Jolla core apps such as the app clock. I'd like to add the ability to select a timer's duration at the second precision level. Thanks in advance, Vincent ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list -- Andrea Grandi - Software Engineer / Qt Ambassador / Nokia Developer Champion website: http://www.andreagrandi.it ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] Statically link python
Hi all ! As you probably know dynamic linking to python isn t yet allowed in harbour. So, maybe someone can point me to some docs for including a static libs in package in SDK (this will also help me for an other project). Thanks a lot -- Benoît HERVIER - http://khertan.net ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Statically link python
29.12.2013 00:17, Benoit: Hi all ! As you probably know dynamic linking to python isn t yet allowed in harbour. So, maybe someone can point me to some docs for including a static libs in package in SDK (this will also help me for an other project). Thanks a lot Or maybe just bundle all the relevant Python SOs stdlib modules in the package ? Setting LD_LIBRARY_PATH PYTHONPATH co in a startup script should do the trick. :) ___ SailfishOS.org Devel mailing list