Re: [SailfishDevel] Building Qt Messaging Framework (QMF)
Yep, the key was to use the correct repo ("messagingframework" rather than "qmf") as suggested by Pekka. /Erik Den 2016-12-27 kl. 17:37, skrev dcali...@free.fr: > Hello, > > À Mardi 27 décembre 2016, Erik Lundin a écrit : >> which seems to be the place where the interesting things happen. >> Specifically I would like to run the unit tests. However, QMF doesn't >> seem to be as easy to build as most other packages in mer-core. > I compiled it out of the box in the SDK some months ago from > messagingframework repository. The QMF spec file is in rpm/qmf-qt5.spec. > > The project is divided into two main parts under src, the library and the > server, the server relying on the library itself. > > If you want more information, you may ask here, I've worked a lot in > QMailMessage.cpp. > > Damien. > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Building Qt Messaging Framework (QMF)
Thanks, Pekka, that worked. Is it possible to remove the "qmf" repo to avoid confusion for others? /Erik Den 2016-12-27 kl. 16:15, skrev Pekka Vuorela: > On ti, 2016-12-27 at 14:36 +0100, Erik Lundin wrote: >> Hi all, >> >> In my attempts to examine a problem with an incorrectly interpreted >> email address, I'm trying to build Qt Messaging Framework (QMF) [1] >> [1] https://git.merproject.org/mer-core/qmf > > This could work better: > https://git.merproject.org/mer-core/messagingframework > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Building Qt Messaging Framework (QMF)
Hi all, In my attempts to examine a problem with an incorrectly interpreted email address, I'm trying to build Qt Messaging Framework (QMF) [1] which seems to be the place where the interesting things happen. Specifically I would like to run the unit tests. However, QMF doesn't seem to be as easy to build as most other packages in mer-core. Since there is no rpm folder in the repo, I assume that the project is a so called "dumb package" [2], so I installed dependencies manually and ran rpmbuild --define "_topdir `pwd`" --define "_sourcedir `pwd`" -bb *.spec in the platform SDK, and it compiled for a while but finally failed with In file included from statusmonitor.cpp:52:0: statusmonitor.h: In constructor '{anonymous}::Q_QGS_StatusMonitorInstance::innerFunction()::Holder::Holder()': statusmonitor.h:110:5: error: 'StatusMonitor::StatusMonitor()' is private StatusMonitor(); ^ Shouldn't stuff in the mer-core repos build without compiler errors? Am I missing something? /Erik [1] https://git.merproject.org/mer-core/qmf [2] https://sailfishos.org/wiki/Building_packages#Dumb_packages ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] sudo doesn't work in platform SDK
Thanks, Andrew, that was the problem! I had it installed in a folder in my home directory, which is on an ecryptfs file system. When using the default (/srv) instead, it seems to work. This should be added to "Known Issues" in the article on the wiki. /Erik Den 2016-12-23 kl. 21:11, skrev Andrew Branson: > Hi, > > Where's your sdk installed? I had a problem when I tried to install it in my > home. It was an encrypted home which was mounted with nosetuid, which > overrode the setuid flag on the sudo binary. > > Hope that helps, > > Andrew > > On Friday, 23 December 2016, Erik Lundin wrote: >> Hello, >> >> I'm trying to get going with the platform SDK, following >> https://sailfishos.org/wiki/Platform_SDK_Installation, but sudo doesn't >> seem to work. This is what I get when entering the SDK environment: >> >> erik@zix:~/dev$ sfossdk >> [sudo] password for erik: >> Mounting system directories... >> Mounting / as /parentroot >> Mounting home directory: /home/erik >> Entering chroot as erik >> su: ignoring --preserve-environment, it's mutually exclusive with --login >> Last login: Sun Dec 18 21:35:58 UTC 2016 on pts/1 >> PlatformSDK erik@zix:~/dev$ sudo ssu ar sdk >> sudo: effective uid is not 0, is sudo installed setuid root? >> >> sudo has the setuid flag, so I don't understand what the problem is. >> >> PlatformSDK erik@zix:~/dev$ ls -l /usr/bin/sudo >> -rwsr-xr-x 1 root root 123288 Aug 14 2013 /usr/bin/sudo >> >> OS: Linux Mint 17.3. >> >> /Erik >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] sudo doesn't work in platform SDK
Hello, I'm trying to get going with the platform SDK, following https://sailfishos.org/wiki/Platform_SDK_Installation, but sudo doesn't seem to work. This is what I get when entering the SDK environment: erik@zix:~/dev$ sfossdk [sudo] password for erik: Mounting system directories... Mounting / as /parentroot Mounting home directory: /home/erik Entering chroot as erik su: ignoring --preserve-environment, it's mutually exclusive with --login Last login: Sun Dec 18 21:35:58 UTC 2016 on pts/1 PlatformSDK erik@zix:~/dev$ sudo ssu ar sdk sudo: effective uid is not 0, is sudo installed setuid root? sudo has the setuid flag, so I don't understand what the problem is. PlatformSDK erik@zix:~/dev$ ls -l /usr/bin/sudo -rwsr-xr-x 1 root root 123288 Aug 14 2013 /usr/bin/sudo OS: Linux Mint 17.3. /Erik ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!
Den 2016-05-30 kl. 19:53, skrev Michal Hrusecky: one more question, are dimensions known? Would like to start looking for some case :-) Height: 142 mm Width: 72 mm Thickness: 9.6 mm Shamelessly copied from https://jolla.com/jollac/ (expand "View full specs") :) /Erik ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Select multiple values in combobox
That seems to be closer to what I had in mind. Thanks! /Erik Den 2016-02-22 kl. 23:00, skrev Kimmo Lindholm: Something like this? http://kimmoli.com/tauhkaa/2016035612.png Dialog https://github.com/kimmoli/maira/blob/master/qml/components/MultiItemPicker.qml is called from this https://github.com/kimmoli/maira/blob/master/qml/fields/MultiSelectField.qml ListModel items contains stuff that is passed to the dialog. It is created on Component.onCompleted, you'll need to tune that for your needs. indexes array contains selected ListModel indexes. Also, what you do when dialog is accepted, is up to you. -kimmo -Original Message- From: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Erik Lundin Sent: 22. helmikuuta 2016 22:51 To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Select multiple values in combobox Thanks. I may try that solution, though it feels like it should be possible to make some kind of list view where you can press items to toggle highlight of them. /Erik Den 2016-02-22 kl. 04:24, skrev Andrey Kozhevnikov: Yes, i did following for my application: https://github.com/CODeRUS/powermenu2/blob/master/gui/qmls/pages/ConfigurationPage.qml#L163 -- Исходное сообщение -- От: "Erik Lundin" <e...@lists.lun.nu> Кому: devel@lists.sailfishos.org Отправлено: 22.02.2016 2:49:38 Тема: [SailfishDevel] Select multiple values in combobox Is it possible make a QML combobox accept multiple selected values? I have tried to look in both the Silica documentation [1] and the Qt documentation [2] but haven't found and answer. Maybe a listview can do it? /Erik [1] https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-combobox.html/ [2] http://doc.qt.io/qt-5/qml-qtquick-controls-combobox.html ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Select multiple values in combobox
Thanks. I may try that solution, though it feels like it should be possible to make some kind of list view where you can press items to toggle highlight of them. /Erik Den 2016-02-22 kl. 04:24, skrev Andrey Kozhevnikov: Yes, i did following for my application: https://github.com/CODeRUS/powermenu2/blob/master/gui/qmls/pages/ConfigurationPage.qml#L163 -- Исходное сообщение -- От: "Erik Lundin" <e...@lists.lun.nu> Кому: devel@lists.sailfishos.org Отправлено: 22.02.2016 2:49:38 Тема: [SailfishDevel] Select multiple values in combobox Is it possible make a QML combobox accept multiple selected values? I have tried to look in both the Silica documentation [1] and the Qt documentation [2] but haven't found and answer. Maybe a listview can do it? /Erik [1] https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-combobox.html/ [2] http://doc.qt.io/qt-5/qml-qtquick-controls-combobox.html ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Select multiple values in combobox
Is it possible make a QML combobox accept multiple selected values? I have tried to look in both the Silica documentation [1] and the Qt documentation [2] but haven't found and answer. Maybe a listview can do it? /Erik [1] https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-combobox.html/ [2] http://doc.qt.io/qt-5/qml-qtquick-controls-combobox.html ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Push Service for Sailfish OS
Den 2016-02-01 kl. 19:58, skrev george b: The only missing thing is a working push service to get a real user experience with a messaging application. Does anyone know something about that? I didn't find any good resources about this topic on the internet. There exists a question about that at TJC [1]. One idea, described at [2], seems to be to use an MQTT based service. Not much seems to have happened the last years though. I'm not involved in any of this myself but thought I could share what I have seen, since I also think it would be nice with some push service for SFOS. /Erik [1] https://together.jolla.com/question/9724/push-notifications/ [2] https://wiki.merproject.org/wiki/Middleware/PushNotifications ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] was Acceptable Behaviour.. -- Forum
2014-05-24 12:56, christopher.l...@thurweb.ch skrev: My suggestion is that rather than splitting into multiple mailing lists, which does not really cure anything, you replace the mailing lists with a forum. I agree it would be crazy to have both. Now since a forum is suggested, I cannot resist to propose my favourite way of finding and sharing developer experience: a QA site (think Stack Overflow). Even if there is together.jolla.com, I haven't yet seen many concrete Sailfish development topics discussed there. Compared to forums and mailing lists, QA sites have the built-in advantage of distilling the best answers to be easily found instead of being buried in endless threads. Best regards, Erik ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] When does Jolla give us an API?
Hi, 2014-02-03 16:29, Putze Sven skrev: What does a developer need to write quality apps? An API and a documentation of such. I would like to add best practices and experience sharing, which is exactly what StackOverflow provides me as a developer in other projects. In my opinion is a place for QA a good way to share experience that takes a long time to gain. I'm not sure yet how this is best done for Sailfish development - launch a QA site targeted at Sailfish developers , use StackOverflow, use together.jolla.com, or something else? This is also asked as a question at together.jolla.com: https://together.jolla.com/question/26003/sailfish-app-developer-qa/ Regards, Erik ___ SailfishOS.org Devel mailing list