Re: [SailfishDevel] Image scaling in Label with StyledText format
Hi, you can add an inline style sheet that uses the current theme colors for rich text. I'm doing the same in my Tidings app for the Silica-styled view of the article pages. Then stuff like links look fine. Cheers, Martin Am Di. Juli 5 11:01:47 2016 GMT+0200 schrieb Oleg Linkin: > There is a problem with RichText and sailfish style. Text which I use in > Label can use different colors which become unreadable on sailfish > background with RichText but stay readable with StyledText because of less > amount of available styled tags and attributes. > Or you think that I should ignore this problem? > > 2016-07-05 11:44 GMT+03:00 Кожевников Андрей Андреевич < > coderusin...@gmail.com>: > > > use RichText > > > > 05.07.2016 13:26, Oleg пишет: > > > >> Hello, developers. > >> I want to use Label with StyledText format. My text has images of > >> different size via img html tag and this tag very often has width > >> attribute. > >> I modify text and set width to screen size. > >> And the problems begin: if I use RichText format all are awesome and > >> image has proper width and height accordingly to this width. > >> But I need to use StyledText and when I set width - image doesn't scaled > >> to this width. If I set height too - it scaled better but I can't calculate > >> proper height of image and image takes mach space in Label. > >> Can you help me how I can show scaled images in StyledText format as in > >> RichText format? > >> > >> > > ___ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > -- Gesendet von meinem Jolla C ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to require an exact sailfish version in rpm?
Hi, depending on the used libraries, Harbour tries to detect the required OS version automatically. But you can also select it manually if Harbour's guess doesn't look good to you. Martin 2015-10-23 12:50 GMT+02:00, Adam Pigg: > You can also specify the is version in the harbour store listing. > > Sent from my BlackBerry 10 smartphone. > From: Andrey Kozhevnikov > Sent: Friday, 23 October 2015 11:48 AM > To: Sailfish OS Developers > Reply To: Andrey Kozhevnikov > Subject: Re: [SailfishDevel] How to require an exact sailfish version in > rpm? > > for Harbour you not allowed to do so, for education purposes you can depend > on sailfish-version package version :) > > -- Исходное сообщение -- > От: "Alexander Ladygin" > Кому: "Sailfish OS Developers" > Отправлено: 23.10.2015 15:46:33 > Тема: [SailfishDevel] How to require an exact sailfish version in rpm? > >> >> Hello there sailors. >> >> What should i put in .spec file to require a specific OS version? >> >> Alex. > > > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Shell command to enable/disable Developer mode
Hi, developer mode is not a switch, but the action of installing a few packages, or uninstalling them again. It could be done on the command line with pkcon as root. Just have to check which packages these are, as I don't remember. :) Martin 2015-07-07 21:26 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: ssh access disabling by clearing nemo password -- Исходное сообщение -- От: Alexander Ladygin fake...@gmail.com Кому: Sailfish OS Developers devel@lists.sailfishos.org Отправлено: 08.07.2015 0:20:03 Тема: Re: [SailfishDevel] Shell command to enable/disable Developer mode Thanks Jens, but i'm not talking about usb connection mode. I meant developer mode which can be enabled in settings to enable ssh access. Regards, Alexander Ladygin. On Tue, Jul 7, 2015 at 8:27 PM, jklingen sailfish-de...@jklingen.com wrote: Hi Alexander, you're looking for usb_moded_util. Try usb_moded_util -h it's pretty much self-explaining :) Best regards, Jens Am 07.07.2015 um 15:39 schrieb Alexander Ladygin: Hi there, fellow developers! I was wondering whether there is a shell command to enable/disable Developer mode? Thanks! Regards, Alexander Ladygin. ___ 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] Keeping background process running in Sailfish OS
Hi, 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: afaik it only closing propcesses with windows, no? No, it is the Linux OOM handler, which does not care or know about what a Wayland window is. If your daemon is invoked as a systemd service, you can adjust the OOMScore in the system .service file of the daemon, like this: [Service] ExecStart=/usr/sbin/mydaemon OOMScoreAdjust=-250 The lower the value the less likely the process will be selected by the OOM killer. However, if you want to remain harbour-compatible, you cannot run the daemon as a systemd service. In that case maybe you can write the score directly at runtime to /proc/your process pid/oom_score_adj but I did not test that solution. Martin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Keeping background process running in Sailfish OS
Am 3. Mai 2015, um 16:39, schrieb E.S. Rosenberg es.rosenberg+sailfishos@gmail.com: Well for one thing you have the extremely RAM hungry Android environment which they didn't have... On the other hand, the N900 and N9 could have become pretty unresponsive while swapping, up to the point that you were not able to answer the ringing phone in time. So the way Maemo and Harmattan did it with a crazy amount of swapping was certainly not better. Martin 2015-05-03 17:16 GMT+03:00 Taixzo tai...@gmail.com: I wonder why Sailfish OS does this while Harmattan and Maemo did not? They certainly didn't have more RAM to work with. Sunday, May 3, 2015 7:56 AM E.S. Rosenberg wrote: Also note that if you skew it too much in favor of yourself the system may end up killing genuinely important system processes instead of your daemon, no user will be happy about that 2015-05-03 14:43 GMT+03:00 Martin Grimme martin.gri...@gmail.com: Hi, 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: afaik it only closing propcesses with windows, no? No, it is the Linux OOM handler, which does not care or know about what a Wayland window is. If your daemon is invoked as a systemd service, you can adjust the OOMScore in the system .service file of the daemon, like this: [Service] ExecStart=/usr/sbin/mydaemon OOMScoreAdjust=-250 The lower the value the less likely the process will be selected by the OOM killer. However, if you want to remain harbour-compatible, you cannot run the daemon as a systemd service. In that case maybe you can write the score directly at runtime to /proc/your process pid/oom_score_adj but I did not test that solution. Martin ___ 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 -- Sent from Whiteout Mail - https://whiteout.io My PGP key: https://keys.whiteout.io/tai...@gmail.com ___ 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] Upcoming behavioural change with how graphics resources are handled.
Hi, Am Thu Oct 02 2014 08:56:53 GMT+0200 (CEST) schrieb Iosif Hamlatzis: Reading all these and previous similar changes I was wondering why other mobile platforms don't have this issue? If I'm not mistaken in no other mobile platform the developer has to take into account if his/her application goes into the background. Well, that's a considerably low price you have to pay for multitasking. The other platforms don't support multitasking for apps, only for services, and thus developers don't need to care because the app is acting dead / frozen / killed while not visible. SailfishOS is different in this regard as it employs desktop-class multitasking and the apps are truly running side by side instead of simulating the impression more or less well. Therefore, apps shouldn't eat all RAM alone and should free unneeded resources where applicable. 1 GB of RAM is not that much. Martin -- ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Platform icons
Hi, Am Mon Aug 04 2014 15:21:58 GMT+0200 (CEST) schrieb fasza2mob...@gmail.com: Hi all, Is there a way to see a list/dictionary of platform icons, such as image://theme/icon-[s/m/l]-iconname; Preferebly with the corresponding pictures, but a path in the OS will do just fine. One way would be to install Cargo Dock on your device or the emulator and (Developer mode enabled) navigate to /usr/share/themes/jolla-ambient/meegotouch/icons/ to see them all. Regards, Martin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] App rejected...
Hi, Am Mon Apr 28 2014 23:11:58 GMT+0200 (CEST) schrieb Peter Pykäläinen: Thank you for you response. Unfortunately no, since I need to show info on the cover. I think, for just showing info on the cover, giving the CPU sleep deprivation is overkill. You can make the timer's running property depend on Qt.application.active (app is not minimized and screen is not locked) and the Cover.Active signal of the CoverBackground element (Cover is visible and screen is not locked). I'm watching these two properties in Tidings, for example, to keep the elapsed time labels up to date. Martin -- Gesendet von meinem Jolla ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Is support for commercial apps a TABOO subject?
Hi, 2014-04-24 13:05 GMT+02:00, Mikael Hermansson m...@7b4.se: But about payment how to avoid pirate copying? Would Jolla be responsible if your work is pirated since SailfishOS has no copy protection because of its nature of open platform. Would endusers stop use Jolla if they start implement copyprotection or similar silly solutions? this is a valid point, and you basically answered the question yourself already. The bits and pieces for payment support are not there yet. But for the time being, I suppose no one would stop you from going the shareware way with unlocking features via a paid registration key directly from the author (cryptographically tied to the IMEI, for example). Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Exactly every second installation attempt fails with Failed to cache rpm database
Hi, Am Thu Apr 03 2014 00:26:39 GMT+0200 (CEST) schrieb Artem Marchenko: Exactly every second installation attempt to my device (from Qt Creator) fails with the Failed to cache rpm database error: Status: Resolving dependencies Status: Installing packages Status: Downloading packages Package: harbour-log4qtdemo-1.0-3.armv7hl Percentage: 50 … Package: harbour-log4qtdemo-test-1.0-3.armv7hl Percentage: 100 Status: Installing packages Results: Fatal error: Failed to cache rpm database (1). This looks like a rpm database corruption to me. You can try to follow the instructions from http://www.jollausers.com/2014/04/having-trouble-with-jolla-store-we-have-a-solution/ to fix it. I hope this helps, Martin -- Gesendet von meinem Jolla ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QML C++ Integration not working in Sailfish
Hi, you should set the context property after loading the QML source. Then it ought to be available from QML. Martin Am Tue Feb 25 2014 15:06:39 GMT+0100 (CET) schrieb antonio.cano.go...@ovi.com: Hi, I am trying to do a simple Sailfish aplication that uses a c++ library. I try to connect my qml code with the C++ code. First I create QObject extended library: #ifndef BLOOMFILTERS_H #define BLOOMFILTERS_H #include QObject #include svn/bloom-read-only/bloom_filter.hpp class Bloomfilters : public QObject { Q_OBJECT public: Q_INVOKABLE void generateFilterInvokable2() const ; Q_INVOKABLE void generateFilterInvokable(const QString cadenaK, const QString cadenaM) const ; explicit Bloomfilters(QObject *parent = 0); void generateFilter() ; Q_INVOKABLE void insertElement(const QString cadena) ; Q_INVOKABLE bool checkElement(const QString cadena) ; signals: public slots: private: bloom_parameters _parameters ; bloom_filter _filter; bool _filter_charged; QString _k; }; #endif // BLOOMFILTERS_H An I try to connect this with my sailfish application with the code: QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = SailfishApp::createView(); Bloomfilters * bloomfilters = new Bloomfilters(); view-rootContext()-setContextProperty(Bloomfilters, bloomfilters); view-setSource(SailfishApp::pathTo(qml/bloomfilter.qml)); view-showFullScreen(); return app-exec(); But this is not working. Someone have any idea about what am I doing wrong? Best Regards -- Gesendet von meinem Jolla ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QML C++ Integration not working in Sailfish
2014-02-25 16:39 GMT+01:00, Andrey Kozhevnikov coderusin...@gmail.com: ??? contextProperty should be set BEFORE loading QML source. You're right, sorry! I must have confused something. I shouldn't answer mails while on train. :) Martin On 25.02.2014 21:33, martin.gri...@gmail.com wrote: Hi, you should set the context property after loading the QML source. Then it ought to be available from QML. Martin Am Tue Feb 25 2014 15:06:39 GMT+0100 (CET) schrieb antonio.cano.go...@ovi.com: Hi, I am trying to do a simple Sailfish aplication that uses a c++ library. I try to connect my qml code with the C++ code. First I create QObject extended library: #ifndef BLOOMFILTERS_H #define BLOOMFILTERS_H #include QObject #include svn/bloom-read-only/bloom_filter.hpp class Bloomfilters : public QObject { Q_OBJECT public: Q_INVOKABLE void generateFilterInvokable2() const ; Q_INVOKABLE void generateFilterInvokable(const QString cadenaK, const QString cadenaM) const ; explicit Bloomfilters(QObject *parent = 0); void generateFilter() ; Q_INVOKABLE void insertElement(const QString cadena) ; Q_INVOKABLE bool checkElement(const QString cadena) ; signals: public slots: private: bloom_parameters _parameters ; bloom_filter _filter; bool _filter_charged; QString _k; }; #endif // BLOOMFILTERS_H An I try to connect this with my sailfish application with the code: QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = SailfishApp::createView(); Bloomfilters * bloomfilters = new Bloomfilters(); view-rootContext()-setContextProperty(Bloomfilters, bloomfilters); view-setSource(SailfishApp::pathTo(qml/bloomfilter.qml)); view-showFullScreen(); return app-exec(); But this is not working. Someone have any idea about what am I doing wrong? Best Regards ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] oauth authorization for application
Hi, the way I'm doing it in Cargo Dock for Dropbox is basically having the SilicaWebview watch the uri property and react to it in the onUriChanged signal handler, if the redirect_uri matches the one I'm expecting. Martin 2014-02-14 9:32 GMT+01:00, Oleg Linkin maledictusdema...@gmail.com: Hi, all I am developing client for getPocket.com service and I have problem with auth. After login service send auth status (grant permissions on not to application) via redirect_uri. How I should handle it or what sequence of actions in this case? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour compliant way to read contacts
2014-01-26, Gabriel Böhme m.gabrielboe...@googlemail.com: So Jolla get's punishment, because a user want's to use HIS Contacts, because they are fetched from 3rd party service, the user put HIS contacts?! - Wow strange. What makes you think that the contacts you sync from a 3rd party service are still YOUR contacts? Haven't you read the fine-print of the 3rd party service? Basically, whatever you upload, you give up your rights on it to the 3rd party service. ;) I'm not really surprised about such terms and conditions. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour
Hi 2014/1/21, kaa k...@iol.cz: [...] Crap [...] Bla, bla , bla .. FUD .. bla bla bla [...] LOL [...] bullshit [...] Howgh [...] Thank you for valuable feedback. :) IMHO, it makes sense to have both, Harbour and OpenRepos. You can compare those in their function to Maemo Extras and Maemo Extras Devel in the old N900 days. Everybody could upload to Extras Devel, but to get stuff into Extras, it had to pass a quarantine and a (IMHO slow and frustrating) QA phase. Only Extras was pre-enabled on sales devices, and even for this, Nokia had to be convinced first, that apps reaching Extras are ready for regular users. Harbour has rules (sane rules IMHO) and QA (much less frustrating and a lot faster than the community-volunteer-driven Maemo Extras QA) to attempt to make sure that apps - will install smoothly - will be compatible with future versions of the OS, where possible - will not break OS updates - don't compromise the system (well, it failed there, take the rpm installer in the Store, for instance) I didn't include security in this enumeration, because we all know that you cannot be 100% safe from malware, and OpenRepos may actually be safer in this regard, if the source is open. The Flashlight app that phoned home with usage statistics still was legally fine, though, even though phoning home is generally not well received. It stole no data, at least. OpenRepos OTOH imposes no rules and no QA on the apps. Therefore, users should be aware that apps - may not be installable or need more dependencies - may stop working with future OS updates - may even break OS updates (what happens in case of package conflicts?) - may compromise the system, as there are no limits Basically, the users are free to do what they want with their devices. But for legal reasons, the users must be informed about the consequences and accept that if they break something, they get to keep the pieces. The Developer Mode switch is this barrier. It is a barrier that regular users (who may not even tell what a package is and think of Linux as a laundry detergent) should not pass. OpenRepos clearly lies beyond this barrier. That's why Harbour and the Jolla Store are needed. If you want to ignore Harbour, then that's your choice, and maybe it's fine as your apps may be too advanced for the Average Joe, anyway. But if you want to target the Average Joe, too, then you won't get around to play by the rules of Harbour. It depends on who you want to reach. Fortunately, Harbour rules are not set in stone and you can help shape them for a better developer experience. Just my 2 cents, Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Applications Bug Tracking
Hi, 2014/1/19, Hannes Rantzsch hannes.rantz...@student.hpi.uni-potsdam.de: I was wondering if there is a bug tracking system for Jolla applications somewhere. You can use https://together.jolla.com for reporting bugs or suggestions. This is the official place where the Jolla developers look for feedback from the users. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Status menu?
Hi, just do something that requires an internet connection and Sailfish will popup a connection dialog. No need to go to the settings. Martin Am Fri Jan 17 2014 20:31:57 GMT+0100 (CET) schrieb Julius Loman: Yes, but we want to have shortcut to Connect to internet option in the pulley menu. :) Shortcut to WLAN doesn't really help. It just skips one menu level. Connect to internet should be definitely in the pulley menu on the lockscreen somewhere else quickly accessible. On Fri, Jan 17, 2014 at 08:28:10PM +0100, Oleksii Serdiuk conta...@oleksii.name wrote: On 17.01.2014 20:14, Marcin M. wrote: The settings have some wifi thing on the top, but it seems to be enable/disable auto-scanning, and I'd like to always connect myself, never automatically, no scanning in background... And the actual option is dug deep in the settings. There's a nice feature I accidentally found in Settings. Go to Settings - System settings and long tap WLAN. Context menu will slide out. Tap Add to favourites there. This will place an icon to the top of the main page of Settings app that will take you directly to WLAN page. -- With best regards, Oleksii Serdiuk ___ SailfishOS.org Devel mailing list -- [ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ] ___ SailfishOS.org Devel mailing list -- Gesendet von meinem Jolla ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Phone crashes with no mobile network available
Hi Chris, 2014/1/9, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: There is a comment indicating cell-tower as a cause in: https://together.jolla.com/question/7144/jolla-randomly-shuts-down/ Yes, I know, because I wrote this comment. ;) Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Phone crashes with no mobile network available
Well, I'm not using an avatar neither here nor there, so the sites pick some default. 2014/1/9, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: I half suspected that ... but you use a very different avatar over there... Zitat von Martin Grimme martin.gri...@gmail.com: Hi Chris, 2014/1/9, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: There is a comment indicating cell-tower as a cause in: https://together.jolla.com/question/7144/jolla-randomly-shuts-down/ Yes, I know, because I wrote this comment. ;) Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Zypper and PackageKit
Hi, 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com: afaik pakckagekit have easy queue management Yes, PackageKit can queue transactions, and it can be operated without root privileges (which zypper would require). Sailfish/Nemo uses zypper's libzypp as backend for PackageKit, however. AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)
Ouch, this looks like a partial update. Store was updated, but some sign in library was not. I wonder how this can happen. Can you check in Terminal what version of jolla-settings-accounts you have? Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: It'd appear that store authentication isn't working, as it's attempting to load the Sign In page, which then fails with the following errors: [W] unknown:383 - file:///usr/share/store-client/main.qml:383:9: Type SignInPage unavailable SignInPage { ^ [W] unknown:147 - file:///usr/share/store-client/pages/SignInPage.qml:147:13: Cannot assign to non-existent property onLegalDocumentsAccepted onLegalDocumentsAccepted: { If these are commented out in the SignInPage.qml it loads the store, but insists there aren't any accounts active. If you then try to sign in it complains that there's already an account set up on the device. So my guess would be that we just have to wait for Jolla store auth to be fixed (presumably the authentication server has died under the load). Cheers, Mike. On Fri, 2013-12-27 at 17:13 +0200, Kalle Lammenoja wrote: Yah, the download for os update started, but was stuck, so i rebooted, and now store crashes when i launch it :/ 2013/12/27 Luca Donaggio donag...@gmail.com I have exactly the same problem as Henry! First I got the Jolla app updates (not working as they probably depends from SailfishOS update) and now cannot download OS update. Could it be that all the sailors out there are trying to download the update at the same time? :-) On Fri, Dec 27, 2013 at 4:07 PM, Henry Kwong henrykw...@helsinkinet.fi wrote: I am currently on 1.0.1.12 but it is currently saying the update is to 1.0.1.10 Version 1.0.1-10.11.10.jolla and not 1.0.2.5 - doesnt sound right. The download is currently not working (it seems to have stopped after less than 10% download) I also have the same problem Kimmo mentioned with the 8 updates and related install errors. I had suspected that the app updates require 1.0.2.5 which is the reason the app-updates failed - but now it appears I cannot verify if that is true or not. Help! How can I update the system to 1.0.2.5? - Original Message - From: Kimmo Lindholm kimmo.lindh...@eke.fi To: Sailfish OS Developers devel@lists.sailfishos.org Sent: Saturday, 28 December, 2013 1:43:29 AM Subject: Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5) And store is completely stuck I can see 8 updates to jolla-* apps, but it gives error if trying to install. For some reason i first see app updates in store, but not yet the system update. Is this intention or a bug in update distribution system? Aren't the app's updated anyway when the system is updated? -kimmo we're releasing update2 today. The changelog can be found (and commented on) here: https://together.jolla.com/question/3612/release-notes-software-update-2-1025/ ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list -- Luca Donaggio ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)
You're right. Those apps should not be updatable before updating the OS. I think you can revive your store-client by updating the store-client package and then doing a pkill store-client. Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: On Fri, 2013-12-27 at 16:35 +0100, Martin Grimme wrote: Actually the other way round. jolla-settings-accounts was updated but store was not. Did you try to update a Jolla app before rebooting? Yes, a number of Jolla apps presented themselves as having updates available, so I allowed them to update. I currently have version 0.1.41-10.23.1.jolla of jolla-settings-accounts and version 0.2.28-10.22.1.jolla of store-client (with zypper showing 0.2.38-10.24.1.jolla available, but not updated to). If updates depend on a certain OS version shouldn't they be given a dependency that makes such updates impossible until that version has been installed? Cheers, Mike. Martin 2013/12/27, Martin Grimme martin.gri...@gmail.com: Ouch, this looks like a partial update. Store was updated, but some sign in library was not. I wonder how this can happen. Can you check in Terminal what version of jolla-settings-accounts you have? Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: It'd appear that store authentication isn't working, as it's attempting to load the Sign In page, which then fails with the following errors: [W] unknown:383 - file:///usr/share/store-client/main.qml:383:9: Type SignInPage unavailable SignInPage { ^ [W] unknown:147 - file:///usr/share/store-client/pages/SignInPage.qml:147:13: Cannot assign to non-existent property onLegalDocumentsAccepted onLegalDocumentsAccepted: { If these are commented out in the SignInPage.qml it loads the store, but insists there aren't any accounts active. If you then try to sign in it complains that there's already an account set up on the device. So my guess would be that we just have to wait for Jolla store auth to be fixed (presumably the authentication server has died under the load). Cheers, Mike. On Fri, 2013-12-27 at 17:13 +0200, Kalle Lammenoja wrote: Yah, the download for os update started, but was stuck, so i rebooted, and now store crashes when i launch it :/ 2013/12/27 Luca Donaggio donag...@gmail.com I have exactly the same problem as Henry! First I got the Jolla app updates (not working as they probably depends from SailfishOS update) and now cannot download OS update. Could it be that all the sailors out there are trying to download the update at the same time? :-) On Fri, Dec 27, 2013 at 4:07 PM, Henry Kwong henrykw...@helsinkinet.fi wrote: I am currently on 1.0.1.12 but it is currently saying the update is to 1.0.1.10 Version 1.0.1-10.11.10.jolla and not 1.0.2.5 - doesnt sound right. The download is currently not working (it seems to have stopped after less than 10% download) I also have the same problem Kimmo mentioned with the 8 updates and related install errors. I had suspected that the app updates require 1.0.2.5 which is the reason the app-updates failed - but now it appears I cannot verify if that is true or not. Help! How can I update the system to 1.0.2.5? - Original Message - From: Kimmo Lindholm kimmo.lindh...@eke.fi To: Sailfish OS Developers devel@lists.sailfishos.org Sent: Saturday, 28 December, 2013 1:43:29 AM Subject: Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5) And store is completely stuck I can see 8 updates to jolla-* apps, but it gives error if trying to install. For some reason i first see app updates in store, but not yet the system update. Is this intention or a bug in update distribution system? Aren't the app's updated anyway when the system is updated? -kimmo we're releasing update2 today. The changelog can be found (and commented on) here: https://together.jolla.com/question/3612/release-notes-software-update-2-1025/ ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list -- Luca Donaggio
Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)
Yes, if you run the store-client manually from command line, it lacks permission to access the keys. You can look up the complete line to invoke it in its .desktop file, though. This will provide it with the required privileges. Martin 2013/12/27, Mike Sheldon m...@mikeasoft.com: On Fri, 2013-12-27 at 16:01 +, Mike Sheldon wrote: On Fri, 2013-12-27 at 15:58 +, Mike Sheldon wrote: On Fri, 2013-12-27 at 16:44 +0100, Martin Grimme wrote: You're right. Those apps should not be updatable before updating the OS. I think you can revive your store-client by updating the store-client package and then doing a pkill store-client. Well, manually updating the store-client has got the store opening again, but only to the page saying that no accounts are currently set up, attempting to sign in from there just results in it complaining that an account already exists. Deleting the account and attempting to sign in again gets me the generic error Oops, problem with account creation. I'll leave this for now in case it's just down to the Jolla servers being hammered, if it still continues not to work I guess I'll have to reset the phone. Aha, managed to add my account again now. Looks like the store-client maybe gets some extra privileges when launched by the system, when running it from the command line for debugging it was producing these errors: SailfishKeyProvider_ini_read: unable to open file SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service SailfishKeyProvider_ini_write: unable to create writable ini directory But killing that and relaunching the store normally solved it :) Thanks, Mike. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] [Update] Changelog for SailfishOS update 2 (1.0.2.5)
You can force-check from Settings - About. This does a forced check already. Probably you don't see any update (I don't see one either) because the servers are jammed. If you updated Jolla E-Mail already today, I suggest you leave the store UI open, until you can do the OS update. Or you may risk not being able to start the store anymore. Martin 2013/12/27, Jonatan Walck jona...@walck.se: Bernd Wachter bernd.wach...@jolla.com wrote: Hi all, we're releasing update2 today. The changelog can be found (and commented on) here: https://together.jolla.com/question/3612/release-notes-software-update-2-1025/ Fantastic! Hopefully I can start using the built in email client now. Until now authentication hasn't worked with my smtp server. At the moment I can see the store updates but not the systems upgrade. All store upgrades except for android and clock went through even before the systems upgrade though. How does one force checking for the update from the shell? // jwalck ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] missing libc.so.6 on Jolla (again)
Hi, this happens if x86 binaries end up in the ARM package. Be sure to clean up your build environment first before building the package for ARM. Martin 2013/12/22, Wim de Vries wsvr...@xs4all.nl: Hi, After local install I get: [nemo@localhost ~]$ pkcon -v install-local checklists-1.0.1-1.armv7hl.rpm 17:23:20PackageKit Verbose debugging enabled (on console 1) 17:23:20PackageKit notify::connected 17:23:20PackageKit notify::connected 17:23:20PackageKit filter=(null), filters=0 17:23:20PackageKit adding state 0x41c93400 17:23:20PackageKit doing install files 17:23:20PackageKit role now install-files Installing files [=] Waiting in queue [ ] (0%) 17:23:20PackageKit emit transaction-list-changed [=] Starting [=] Resolving dependencies[ == ] 17:23:21 PackageKit remove state 0x41c93400 [=] Fatal error: nothing provides libc.so.6(GLIBC_2.0) needed by checklists-1.0.1-1.armv7hl All '#include's are Qt header files, no other. Seems to be a topic before, but I cannot see how it was solved. Thanks. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Harbour news
Hi, my question is similar, but not library-related. What about stock icons (those from /usr/share/theme/jolla-ambient/icons/ that you can use with image://theme/ URIs) ? I'm developing an app that for the Sailfish look feel would like to make heavy use of them. Are there restrictions? For now I'm only using icons coming from the jolla-ambient package. Is this fine, or am I required to ship my app completely with all icons, which would look out-of-place if the user changes the icon theme, though. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] State is persistent when I come back to a page, how to avoid this ?
Hi, 2013/12/18, Franck Routier (perso) a...@mecadu.org: As to understanding why the card state persists, do you have any pointer to readings that would enlighten me ?? It's a page stack, so the pages below the current page are still existing in memory (you should be aware of that if you stack lots of complex pages on top of each other). Therefore, the previous page does not get destroyed, thus remains in the state you left it. Only when pushing a page onto the page stack, the new page gets created with its original state. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] network statistics for sailfish
2013/12/16, W. Dobbe winfried.do...@xmsnet.nl: Probably that will be the end conclusion, but Android is also Linux, so how do the Android network monitor apps get their information? Does the android stack/Dalvik give extra hooks for network inspection ? Android is not Linux. Android is as much Linux as iOS is BSD. Android runs on top of a Linux kernel, but that's all Android and GNU/Linux have in common. Network inspection is probably exposed by the Android Java API. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Jolla Harbour and Jolla Store
Hi, 2013/11/6, 郭云鹤 guoyunhebr...@gmail.com: i think every app should be independent. apps' dependence caused many problems. I think the same. While having deps and libraries and everything is cool from a Linuxer's point of view, it will give a bad user experience and just cry for breaking things when updating the OS or other apps. You can either try to get the library into Nemo, or include it in your package or link to it statically. Those few kbytes wasted by this approach should be no real problem, but worth it, if it improves the user's experience and happiness with Sailfish devices. I remember people crying they could not update their N900 because of some library dependencies. Don't let this happen again. 1337 Linux h4x0rz in need of obscure libs and stuff will always find a workaround to fulfill their needs, e.g. with 3rd party repositories. :) Keep in mind that Sailfish wants to be attractive to regular users and user experience should be highly valued. My 2 cents, Martin 郭云鹤(Guo Yunhe) http://guoyunhe.me/ 在 2013-11-7 上午12:13,Marcin M. marmistrz...@gmail.com写道: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant upload some libraries, required as depends for my appliction? - does it acts as repository? On 06.11.2013 17:06, Karl Granström wrote: Ahoy all, Today we're launching Jolla Harbour [13]harbour.jolla.com, the portal for submitting applications to the Jolla Store. You can submit and manage your applications. Consumers will be able to install them directly from their Jolla phones. Here are some details about Jolla Harbour: Joining and logging into Jolla Harbour: Joining is free! You can create a Jolla account from the Jolla Harbour landing page ([14]harbour.jolla.com) or if you have pre-ordered your Jolla phone, you have everything you need to get started. To manage your account details, please visit [15]account.jolla.com. Support for Sailfish and Android™ applications: You can submit both Sailfish and Android™ applications to Jolla Harbour. The submission process is the same. Start with free applications: At launch, the Jolla Harbour and Jolla Store will support only free applications. We are working hard to enable payment solutions and we will keep you posted about these capabilities as they develop. Binary package naming: You will receive naming guidelines when you upload the binary package to Jolla Harbour. You
Re: [SailfishDevel] Jolla Harbour and Jolla Store
2013/11/6, Marcin M. marmistrz...@gmail.com: And somehow Debian and Ubuntu and ... do well it with real depends... Well, Ubuntu and Debian are both dead slow on package management, and the main reason for that is a fancy dependencies resolving system. Still, if you add some 3rd party repos to Debian or Ubuntu that try to replace some essential system packages with forked or newer versions, then I'm not sure if a OS upgrade would went well, or break some things, minor or major. Have you ever tried installing GNOME shell on Ubuntu back when GNOME 3 was released? I found it was best to reinstall Ubuntu after this experiment. And the last thing you'd want to have as a phone vendor is bricking user's phones on upgrades. You have to be careful what kind of system modifications to allow, and what not. You can do a lot of dangerous stuff with dependencies with rpm, so better not allow it in the first place (to regular users; I'm not talking about Linux geeks here). Martin -- Marcin 2013/11/6 Marcin M. marmistrz...@gmail.com If everything handled correctly (assuming no 3rd party lib updates) what bad can happen? -- Marcin 2013/11/6 Martin Grimme martin.gri...@gmail.com Hi, 2013/11/6, 郭云鹤 guoyunhebr...@gmail.com: i think every app should be independent. apps' dependence caused many problems. I think the same. While having deps and libraries and everything is cool from a Linuxer's point of view, it will give a bad user experience and just cry for breaking things when updating the OS or other apps. You can either try to get the library into Nemo, or include it in your package or link to it statically. Those few kbytes wasted by this approach should be no real problem, but worth it, if it improves the user's experience and happiness with Sailfish devices. I remember people crying they could not update their N900 because of some library dependencies. Don't let this happen again. 1337 Linux h4x0rz in need of obscure libs and stuff will always find a workaround to fulfill their needs, e.g. with 3rd party repositories. :) Keep in mind that Sailfish wants to be attractive to regular users and user experience should be highly valued. My 2 cents, Martin 郭云鹤(Guo Yunhe) http://guoyunhe.me/ 在 2013-11-7 上午12:13,Marcin M. marmistrz...@gmail.com写道: It's not a pity when it comes to libraries. It is when you create a modular app ;) - divided into packages. But if there was an in-app-purchase system, it wouldn't be so bad :) -- Marcin 2013/11/6 Mohammed Hassan mohammed.has...@jollamobile.com I don't see it as a pity. I see it as an opportunity for everyone to push their libraries and stuff to mer/nemo/sailfish. An advantage of SailfishOS is that everyone can contribute and have their own applications, libraries and tools there. Just my 0.02 Cheers, On Wed, Nov 06, 2013 at 05:06:58PM +0100, Marcin M. wrote: Hi, Thanks! Well, it's a pity ;( Regards, -- Marcin 2013/11/6 Jonni Rainisto [1]jonni.raini...@jolla.com Hi, AFAIK. Currently you can only depend on mer/nemomobile packages, you cannot depend on store packages. re, Jonni __ From: [2]devel-boun...@lists.sailfishos.org [[3]devel-boun...@lists.sailfishos.org] on behalf of Marcin M. [[4]marmistrz...@gmail.com] Sent: Wednesday, November 06, 2013 5:34 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov [5]coderusin...@gmail.com Good point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: [6]devel-boun...@lists.sailfishos.org [[7]devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [[8]jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: [9]devel-boun...@lists.sailfishos.org [[10]devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [[11]coderusin...@gmail.com] Sent: Wednesday, November 06, 2013 1:40 PM To: [12]devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store Please more information about Harbour: - it can accept only single files, means i cant
Re: [SailfishDevel] Alpha 2: passing simple properties from main.cpp to qml
Hi, you don't want to set the context property on the QmlApplicationViewer, which was dead Nokia code to target Symbian and Harmattan, anyway. QmlApplicationViewer was derived from QmlView, where it got the rootContext() method from. With Qt5, QmlView was renamed to QQuickView. And when using the functions from sailfishapplication.h, you get a QQuickView*, e.g.: QScopedPointerQQuickView view(Sailfish::createView(main.qml)); view-rootContext()-setContextProperty(platform, platformId); Martin 2013/8/4, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: Hi all What is the recommended way to pass simple c++ properties from the main.cpp to the QML part of a project using the Qt 5 Alpha? In the good old days of the first Alpha, I used to do this Harmattan style using QmlApplicationViewer viewer; viewer.rootContext()-setContextProperty(platform, platformId); This would make the c++ property platformId available to my qml code as the property platform. Now with Qt5 / Alpha 2 the QmlApplicationViewer is no longer created. The tutorial linked below suggests that the QmlApplicationViewer files could be ported to Qt5, so I guess I could grab these files from an old Harmattan project and do that. https://qt-project.org/doc/qt-5.0/qtdoc/portingqmlapp.html But somehow that feels like carting old baggage around. Is their a Sailfish native way of doing the same? Thanks Chris ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Building with the SDK without QtC
Hi, you can log into the Mer SDK VM via ssh as user mersdk and run sb2 /bin/bash to log into Scratchbox. There you can develop with vim on a terminal. There should also be some SDK magic available to deploy to the emulator as QtCreator is doing ssh into the Mer SDK VM as well, but I don't know the details for this. Martin 2013/7/27, Lucien XU sfietkonstan...@free.fr: 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 problem is about building and deploying to simulator, but that could be solved by some scripts, instead of clicking on the build / run button. But we don't know how QtC manage the builds itself. Anyone have more insights about it ? Cheers, Lucien ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Sailfish Screwy Easter Egg
Hi, you can also view the code of this demo by opening Sailfish Silica Component from the examples in Qt Creator. It goes a bit beyond what's documented in the Silica documentation, so it's quite useful. Martin 2013/6/2, christopher.l...@thurweb.ch christopher.l...@thurweb.ch: Hi All I am surprised this has not been mentioned before - maybe it is just so obvious ... Today I clicked by mistake somewhere in the Sailfish Emulator, and a clever little app opened demonstrating the use of Silica controls. After some head-scratching and experimentation, I realized that I had inadvertently opened this app by clicking on the Screw / Prop on the Emulator home screen. If you want to see the range of controls available, and now Jolla intend that we use them, click on that Screw ... mfg Chris ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Is it worth it to use the Sailfish namespace functions/functions defined in sailfishapplicatoin.cpp instead of creating a QML/QtQuick application the default way?
Hi, the MDeclarativeCache used by sailfishapplication.cpp is supposed to give you a boost at application startup. Besides that sailfishapplication.cpp contains a few more optimizations (e.g. rendering flags for the graphics view). Its purpose is about the same as the qmlapplicationviewer from Harmattan (which IMHO was bloated by handling Symbian and desktop support as well). You don't have to use sailfishapplication.cpp in your project and you could set the rendering optimization flags yourself on a QDeclarativeView. It's just easier to use the sailfishapplication.cpp. People who only want to code with QML/JavaScript can treat it as a black box and still get an application running. There are basically two ways of combining C++ objects with QML and both can be used with sailfishapplication.cpp as well. 1. qmlRegisterType Any QObject-based class can be exported to a QML namespace this way. After importing the namespace in QML, the objects can be used like normal QML elements. Instances of the objects are created in QML. Use qmlRegisterType before loading the main.qml into the QDeclarativeView. 2. view-rootContext()-setContextProperty QObjects instantiated in C++ code and primitive types can be made available to QML this way. This can be useful, if your app is mainly C++, and you just want to expose a facade for UI control to QML. For combining QML with C++, you should remember a few rules: * Any QObject can be exposed to QML. * QML element properties are implemented using the Q_PROPERTY macro in the C++ class header. * Any public slot can be invoked from QML. * Any public method declared with Q_INVOKABLE can be invoked from QML (internally, Q_INVOKABLE converts the method to a slot). * QML can connect to any signal of a QObject, e.g. use onMySignal in QML to connect to a signal called mySignal. * JavaScript function references (e.g. for callbacks) can be passed to C++ as a parameter of type QScriptValue. The QScriptValue object can be executed in C++ with its call method. * Arbitrary QObject based objects can be passed from QML to C++ as QVariant from which you can retrieve a QObject* and then cast to a specific type with qobject_cast. * A model for QML ListView (or SilicaListView) and similar elements can be quickly implemented by deriving from a QAbstractListModel and implementing the virtual methods rowCount and data. * Simple list models can be exposed to QML by returning a QStringList or QListQVariant. * Structs or hashtables can be exposed to QML by returning a QVariantMap. In QML you use the . notation to access the fields, e.g. myData.value. * Graphical QML elements can be implemented by deriving from QDeclarativeItem and implementing the virtual paint method. * Any C++ method invoked from QML should return quickly as it is blocking the UI thread. Martin ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] no c++ in Sailfish?
Hi, Qt Quick in general allows to be extended by C++ and interact with C++ code. So there's restriction of what you can do with it. Of course, if you don't need a GUI, you could do plain C++ as well. You could also write your GUI in C++ on Sailfish, but that's not the recommended way. Martin Wim de Vries schrieb am 14.04.13 22:48: Hi, My project is C++. It looks like Sailfish is only Qt Quick (new project only allows this option). Is C++ a no-go for sailfish? If not, how do I proceed. Thanks. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Cannot change SSH port in QtCreator for a device(?)
Hi Saija, great work on improving my instructions! Thanks! :) I'm glad that my instructions were helpful. At the point were you are editing the fstab file on Linux, the user text got invisible in your blog post, though. Cheers, Martin 2013/3/5, Saija Eteläniemi setel...@live.com: If someone finds it useful, I wrote a dummy version of the OSX guide for persons such as me, who are not very seasoned with VirtualBox: http://matrixxreloaded.wordpress.com/2013/03/05/how-to-install-sailfishos-sdk-on-osx-the-dummy-guide/ - Saija Lähetetty iPadista Saija Eteläniemi setel...@live.com kirjoitti 5.3.2013 kello 13.48: Actually I already tried many times to press yes when QtCreator offered to start the emulator, even though I knew it has no effect. It didn't make QtCreator satisfied with any of those attempts. Then a miracle happened, I tried again today, pressing yes multiple times, and trying out different combinations of commands (build, rebuild, deploy, run, debug), and suddenly it started working! Now I'm never gonna shut down any part of the setup to not break it again :D Thanks for the SDK, and the instructions for Mac, I'm a very happy camper :) - Saija Lähetetty iPadista martin.gri...@gmail.com kirjoitti 5.3.2013 kello 8.45: Hi, I have also seen thr message that the emulator was not running a couple of times. QtCreator asked me if I want it to start the emulator, so I said yes. That is a no-op anyway (since VBoxManage was replaced), but if it makes QtCreator happy... ;) Martin Saija Eteläniemi schrieb am 04.03.13 21:21: I got one step further. The reason why QtCreator didn't find the the simulator was that I forgot to give the VBoxManage script executable rights. Now I can connect to the device, and test says device successfully connected. If I actually try to deploy my project (default hello) on the device it says SailfishOS Emulator is not running, which is weird since the device test went fine. Tried to restart QtCreator several times, and also re-recorded the outputs of the VBoxManage commands, but no help there. Any tips to share, or should I start the rubberhose debugging now? :) - Saija Lähetetty iPadista Saija Eteläniemi setel...@live.com kirjoitti 4.3.2013 kello 21.33: Thanks, Silly me, back to the drawing board then. I'll save the VBoxManage outputs again, to make sure they are correct, and see if I manage to fix the problem. - Saija Lähetetty iPadista Martin Grimme setel...@live.com kirjoitti 4.3.2013 kello 21.23: Hi, the ports in use are and 2223 for ssh, and 1 up to 10019 (depends on how many are needed) for debugging. Port 65535 is not a valid port and should not be tunneled. QtCreator shows this port when it cannot query the virtual machine for port information for some reason. So if you see port 65536 in QtCreator, then something went wrong and that needs to found and fixed. Probably the recorded VBoxManage output is not found or not played back correctly. Unfortunately, it's not easy to debug this. I used strace on the QtCreator process a lot to find out where it failed and how to make QtCreator happy with fake data. Regards, Martin 2013/3/4, Saija Eteläniemi setel...@live.com: Hi, Is there any listings which ports are used by the SDK? I'm running the SDK from a Mac host using Martin's instructions, but have trouble getting QtCreator to connect the Simulator. I tunneled the ports mentioned in Martin's post, and added 65535, seen from the QtCreator device settings, but it seems to be not enough. The terminal I login in Linux to my Mac host, I get an output: channel 49: open failed: connect failed: Connection refused when I the Test button in Devices page on QtCreator. Any idea if I'm just missing a port from my tunneling, or having some other problem I should check out? - Saija #matrixx @setelani Lähetetty iPadista David Greaves setel...@live.com kirjoitti 4.3.2013 kello 11.35: Yes, and I'm afraid we don't have an easy workaround either. We'll fix it in QtCreator 'soon' and then you'll be able to compile your own version. I added it to known issues. David On 04/03/13 09:17, Rücker, Thomas wrote: Hi, known issue. see quote: On 26/02/13 17:09, David Greaves wrote: On 26/02/13 09:02, Rücker, Thomas wrote: Hi, I decided to try to connect to my N950 running Nemo from the QtCreator of the Sailfish SDK. The problem is that something constantly resets the ssh port to '65535'. In the Wizzard (if you go through Mer device) it works for the initial connection test if you specify 22, but will create an entry as seen in the attached screenshot. Thanks - yes, this looks like a bug. David ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel
Re: [SailfishDevel] Cannot change SSH port in QtCreator for a device(?)
Hi, the ports in use are and 2223 for ssh, and 1 up to 10019 (depends on how many are needed) for debugging. Port 65535 is not a valid port and should not be tunneled. QtCreator shows this port when it cannot query the virtual machine for port information for some reason. So if you see port 65536 in QtCreator, then something went wrong and that needs to found and fixed. Probably the recorded VBoxManage output is not found or not played back correctly. Unfortunately, it's not easy to debug this. I used strace on the QtCreator process a lot to find out where it failed and how to make QtCreator happy with fake data. Regards, Martin 2013/3/4, Saija Eteläniemi setel...@live.com: Hi, Is there any listings which ports are used by the SDK? I'm running the SDK from a Mac host using Martin's instructions, but have trouble getting QtCreator to connect the Simulator. I tunneled the ports mentioned in Martin's post, and added 65535, seen from the QtCreator device settings, but it seems to be not enough. The terminal I login in Linux to my Mac host, I get an output: channel 49: open failed: connect failed: Connection refused when I the Test button in Devices page on QtCreator. Any idea if I'm just missing a port from my tunneling, or having some other problem I should check out? - Saija #matrixx @setelani Lähetetty iPadista David Greaves david.grea...@jollamobile.com kirjoitti 4.3.2013 kello 11.35: Yes, and I'm afraid we don't have an easy workaround either. We'll fix it in QtCreator 'soon' and then you'll be able to compile your own version. I added it to known issues. David On 04/03/13 09:17, Rücker, Thomas wrote: Hi, known issue. see quote: On 26/02/13 17:09, David Greaves wrote: On 26/02/13 09:02, Rücker, Thomas wrote: Hi, I decided to try to connect to my N950 running Nemo from the QtCreator of the Sailfish SDK. The problem is that something constantly resets the ssh port to '65535'. In the Wizzard (if you go through Mer device) it works for the initial connection test if you specify 22, but will create an entry as seen in the attached screenshot. Thanks - yes, this looks like a bug. David ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list