Re: [SailfishDevel] How to use Insomniac?
Look at kitchentimer.pro file, do not blindly append random lines. -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 25.09.2015 20:21:31 Тема: Re: [SailfishDevel] How to use Insomniac? Oops, I thought it was working because all the folders and stuff were there at the IDE, but then building failed. I used the debugger and found out it need some other files from kitchentimer/src/. I copied all the files and replaced kitchentimer with simplestopwatch. Now it builds, but the app is just plain white. Could someone help? I updated the source code to https://github.com/jollailija/simplestopwatch/ please make a pull request. Andrey Kozhevnikov kirjoitti pe syyskuuta 25 17:34:17 2015 GMT+0300: You probably did not converted project to subdirs. Check kitchentimer.pro file -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 25.09.2015 19:21:36 Тема: [SailfishDevel] How to use Insomniac? >Hello, > >I tried to import Insomniac to my Simple Stopwatch by copying the files >from https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac >to simplestopwatch/src/insomniac, replacing kitchentimer in the files >with simplestopwatch and finally using 'Add Existing Files...' in the >IDE (plus writing 'import harbour.simplestopwatch.insomniac 1.0' to the >QML file). Well, it doesn't work, building the project fails. How do I >correctly import the plugin to my project? > >-- >Lähetetty Jollastani >___ >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.or -- Lähetetty Jollastani ___ 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] Event view notifications app name
Hello list, since Sailfish OS 1.1.9.28, notifications are grouped by the notificating application on the event view. I do not use MNotificationGroup. The "header" for my notifications is the name of my app's executable, what is not really nice. Is there a way to set this name? In the sources of mlite it seems to me, that it generally useses the app's executable name via QFileInfo(QCoreApplication::arguments()[0]).fileName() [0] Best greetings Matthias [0] https://github.com/nemomobile/mlite/blob/master/src/mnotification.cpp#L281 -- Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. (Friedrich Schiller - Die Räuber) Und der Buschfunk spielt gerade "Lieblingsstück" von "Crash Casino". www.buschmann23.de GPG-Key: 0x614C3258 GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258 signature.asc Description: This is a digitally signed message part. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
You probably did not converted project to subdirs. Check kitchentimer.pro file -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 25.09.2015 19:21:36 Тема: [SailfishDevel] How to use Insomniac? Hello, I tried to import Insomniac to my Simple Stopwatch by copying the files from https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac to simplestopwatch/src/insomniac, replacing kitchentimer in the files with simplestopwatch and finally using 'Add Existing Files...' in the IDE (plus writing 'import harbour.simplestopwatch.insomniac 1.0' to the QML file). Well, it doesn't work, building the project fails. How do I correctly import the plugin to my project? -- Lähetetty Jollastani ___ 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] How to use Insomniac?
Maybe I am just too tired, but I don't understand what I should be looking for in the kitchentimer.pro file. I'll look at it more tomorrow Andrey Kozhevnikov kirjoitti pe syyskuuta 25 18:43:42 2015 GMT+0300: > Look at kitchentimer.pro file, do not blindly append random lines. > > -- Исходное сообщение -- > От: jollail...@gmail.com > Кому: devel@lists.sailfishos.org > Отправлено: 25.09.2015 20:21:31 > Тема: Re: [SailfishDevel] How to use Insomniac? > > >Oops, I thought it was working because all the folders and stuff were > >there at the IDE, but then building failed. I used the debugger and > >found out it need some other files from kitchentimer/src/. I copied all > >the files and replaced kitchentimer with simplestopwatch. Now it > >builds, but the app is just plain white. Could someone help? I updated > >the source code to https://github.com/jollailija/simplestopwatch/ > >please make a pull request. > > > >Andrey Kozhevnikov kirjoitti pe syyskuuta 25 17:34:17 2015 GMT+0300: > >> You probably did not converted project to subdirs. Check > >> kitchentimer.pro file > >> > >> -- Исходное сообщение -- > >> От: jollail...@gmail.com > >> Кому: devel@lists.sailfishos.org > >> Отправлено: 25.09.2015 19:21:36 > >> Тема: [SailfishDevel] How to use Insomniac? > >> > >> >Hello, > >> > > >> >I tried to import Insomniac to my Simple Stopwatch by copying the > >>files > >> >from > >>https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac > >> >to simplestopwatch/src/insomniac, replacing kitchentimer in the > >>files > >> >with simplestopwatch and finally using 'Add Existing Files...' in > >>the > >> >IDE (plus writing 'import harbour.simplestopwatch.insomniac 1.0' to > >>the > >> >QML file). Well, it doesn't work, building the project fails. How > >>do I > >> >correctly import the plugin to my project? > >> > > >> >-- > >> >Lähetetty Jollastani > >> >___ > >> >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.or > > > >-- > >Lähetetty Jollastani > >___ > >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.or -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
Oops, I thought it was working because all the folders and stuff were there at the IDE, but then building failed. I used the debugger and found out it need some other files from kitchentimer/src/. I copied all the files and replaced kitchentimer with simplestopwatch. Now it builds, but the app is just plain white. Could someone help? I updated the source code to https://github.com/jollailija/simplestopwatch/ please make a pull request. Andrey Kozhevnikov kirjoitti pe syyskuuta 25 17:34:17 2015 GMT+0300: > You probably did not converted project to subdirs. Check > kitchentimer.pro file > > -- Исходное сообщение -- > От: jollail...@gmail.com > Кому: devel@lists.sailfishos.org > Отправлено: 25.09.2015 19:21:36 > Тема: [SailfishDevel] How to use Insomniac? > > >Hello, > > > >I tried to import Insomniac to my Simple Stopwatch by copying the files > >from https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac > >to simplestopwatch/src/insomniac, replacing kitchentimer in the files > >with simplestopwatch and finally using 'Add Existing Files...' in the > >IDE (plus writing 'import harbour.simplestopwatch.insomniac 1.0' to the > >QML file). Well, it doesn't work, building the project fails. How do I > >correctly import the plugin to my project? > > > >-- > >Lähetetty Jollastani > >___ > >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.or -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Emulator problems
Same happened to me; Win 7 and VB 4.3.22 On Fri, Sep 25, 2015 at 3:09 PM,wrote: > Hi, > > I updated to the new SDK version (by removing the old one). When I open > Tools>Mer>Emulator mode... I get a little window labeled as 'Change > Emulator Mode'. However I am unable to change the parameters as they are > greyed out. The text at the top reads 'This emulator does not support > multiple devise models'. How to fix? > > Fresh SDK install on Windows 7 (location is E:\SailfishOS), I tried > Virtual Box 4.1, 4.3 and 5.0.4 > > -- > Lähetetty Jollastani > ___ > 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] req_display_blanking_pause seems not to work.
On Thursday, September 24, 2015 05:44:48 PM Andrew Penkrat wrote: > But screen keeps going blank after I call > cpptools.setBlankingMode(false) from QML (tested on Sailfish OS > 1.1.9.28). What can be the problem? Hi, The most obvious one is: You need to periodically repeat the req_display_blanking_pause call - as a kind of proof that the app is still alive. The maximum repeat delay is 60 seconds, but to be on the safe side a bit shorter value should be used - something like 45-55 seconds. Other thing to watch out is: blanking pause period ends if display turns off and/or lockscreen gets activated. And while in this state also new requests are ignored. Simo ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Problem installing lipstick-qt5-tools to get notification tool
pkcon refresh pkcon install lipstick-qt5-tools for notifications look at https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/ to make it work while locked you need this: https://github.com/nemomobile/nemo-keepalive -- Исходное сообщение -- От: "Gurvan Kervern"Кому: devel@lists.sailfishos.org Отправлено: 25.09.2015 0:49:44 Тема: [SailfishDevel] Problem installing lipstick-qt5-tools to get notification tool Hi, I hope I'm posting on the right list, if not please excuse me :) I want to make a small notification tool for myself using bash/Python/Perl. This page mentions an already existing tool which seems interesting : https://together.jolla.com/question/78054/how-to-check-notifications-via-command-line/ . Unfortunately I can't install lipstick-qt5-tools, I get this error : Resolving dependencies Fatal error: lipstick-qt5-tools-0.27.20.5-1.61.3.armv7hl requires libdsme_dbus_if.so.0.2.0, but this requirement cannot be provided If I search these libraries, I get : Installed libdsme-0.64.1-1.5.1.armv7hlDSME dsmesock dynamic library Available libdsme-0.63.2-1.4.2.armv7hlDSME dsmesock dynamic library Unfortunately the installed package provides the 3.0 version : [root@Jolla ~]# find / -name 'libdsme_dbus_if*' find: /home/nemo/android_storage/.aptoide/icons: Interrupted system call /usr/lib/libdsme_dbus_if.so.0.3.0 /usr/lib/libdsme_dbus_if.so.0 /opt/alien/usr/lib/libdsme_dbus_if.so.0.3.0 /opt/alien/usr/lib/libdsme_dbus_if.so.0 What should I do? 1) Install libdsme-0.63.2-1.4.2.armv7hl? (coudl it break existing applications?) 2) make a symbolic link to a libdsme_dbus_if.so.0.2.0 from the existing libdsme_dbus_if.so.0.3.0? (doesn't seem very clean...) 3) Something else? Otherwise, if someone found a good documentation on how to send yourself/a user notifications (sound, SMS, etc...) without making a full-feldged c++ Jolla application, I would be interested. I made a little tool sending me SMS a while ago, but it didn't work very well as it didn't send them while phone was locked and/or if the screen had gone black. I was using dbus-send : dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"etc... Regards, Gurvan ___ 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] Emulator problems
Hi, I updated to the new SDK version (by removing the old one). When I open Tools>Mer>Emulator mode... I get a little window labeled as 'Change Emulator Mode'. However I am unable to change the parameters as they are greyed out. The text at the top reads 'This emulator does not support multiple devise models'. How to fix? Fresh SDK install on Windows 7 (location is E:\SailfishOS), I tried Virtual Box 4.1, 4.3 and 5.0.4 -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Emulator and multimedia components
I'm trying to get a basic port available of my radio app for the tablet, using the tablet emulation mode. The emulator image seems to default to missing most of gstreamer and qt multimedia packages. I've done all my previous testing/development on the phone and on there I could assume that everything needed was installed. And I seem to remember that I was not supposed to list any such rpm dependencies. How is it now, do I now need to specify all specific dependencies or not ? -- Kaj-Michael Lang___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Emulator and multimedia components
You should always specify all extra you have in CONFIG and LINK_PKGCONFIG to BuildRequires and Requires in spec/yaml -- Исходное сообщение -- От: "Kaj-Michael Lang"Кому: devel@lists.sailfishos.org Отправлено: 25.09.2015 17:59:23 Тема: [SailfishDevel] Emulator and multimedia components I'm trying to get a basic port available of my radio app for the tablet, using the tablet emulation mode. The emulator image seems to default to missing most of gstreamer and qt multimedia packages. I've done all my previous testing/development on the phone and on there I could assume that everything needed was installed. And I seem to remember that I was not supposed to list any such rpm dependencies. How is it now, do I now need to specify all specific dependencies or not ? -- Kaj-Michael Lang ___ 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] SDK problem
On 25.09.2015 12:08, Дмитрий Лукьянов wrote: I just installed new SailfishOS SDK 1509 for Windows and have some problems. Firstly, I can not compile any project (also new created) for Jolla Phone or Emulator both. I have console log like on first screenshot. In the build log it says that it fails because of an opening parenthesis. You should not install the SDK in a path that has shell metacharacters in them (in this case the problem is the directory name "Qt (for Sailfish)". Try reinstalling the SDK to a different path, such as "qt_sailfish". ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] How to use Insomniac?
Hello, I tried to import Insomniac to my Simple Stopwatch by copying the files from https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac to simplestopwatch/src/insomniac, replacing kitchentimer in the files with simplestopwatch and finally using 'Add Existing Files...' in the IDE (plus writing 'import harbour.simplestopwatch.insomniac 1.0' to the QML file). Well, it doesn't work, building the project fails. How do I correctly import the plugin to my project? -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org