Re: [SailfishDevel] Request for modern C++ compiler in the SailfishOS SDK
Hi, I agree. It would be good to have an up to date version of gcc, and also support for clang is welcome (better diagnostics, faster compile times and full c++11 conformance). Actually Apple has fully replaced gcc to clang in Xcode 5. I have asked about this from the developer-care but never got any answer. br Mikko Lähetetty iPadista Putze Sven sailfish...@hardcodes.de kirjoitti 30.12.2013 kello 22.45: Hi there, yes the subject is quite a bit provocative :-) When I get it right there is a gcc4.6.4 on the MerSDK virtual machine. An up-to-date version of gcc should be something around 4.8. Usually I am not part of the I must always have the latest version race but with reference to compilers this would be *really* nice to have. Just think of full C++11 support. And as you just mentioned it(*), are there any plans regarding clang as compiler? This thingy produces far better error messages than gcc. BR. Sven P.S.: this is not meant as a rant! (*) I had a clown for breakfast, sorry. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Request for modern C++ compiler in the SailfishOS SDK
On 31/12/13 10:34, Mikko Leppänen wrote: Hi, I agree. It would be good to have an up to date version of gcc, and also support for clang is welcome (better diagnostics, faster compile times and full c++11 conformance). Actually Apple has fully replaced gcc to clang in Xcode 5. I have asked about this from the developer-care but never got any answer. We're working hard on GCC 4.8 these days. You can see in-progress work at http://build.merproject.org project mer-core:i486:devel. There's some struggles on the MIPS port. /Carsten br Mikko Lähetetty iPadista Putze Sven sailfish...@hardcodes.de kirjoitti 30.12.2013 kello 22.45: Hi there, yes the subject is quite a bit provocative :-) When I get it right there is a gcc4.6.4 on the MerSDK virtual machine. An up-to-date version of gcc should be something around 4.8. Usually I am not part of the I must always have the latest version race but with reference to compilers this would be *really* nice to have. Just think of full C++11 support. And as you just mentioned it(*), are there any plans regarding clang as compiler? This thingy produces far better error messages than gcc. BR. Sven P.S.: this is not meant as a rant! (*) I had a clown for breakfast, sorry. ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Cannot activate Developer mode
Op dinsdag 31 december 2013 07:16:36 schreef christopher.l...@thurweb.ch: Hi David Zitat von David Greaves david.grea...@jolla.com: Having 2 Chris-es in the thread is a touch confusing but I think you have dev mode working. It confuses me as well, and I am one of the Chrises - hence this new thread! 1) Dev mode: Unfortunately I don't have dev mode working. It just spins a while trying to install the developer tools, then gives up without any error reported. 2) Harbour: I can get into the Harbour and see apps, but when I try to install, it get the same try and install for a bit, then give up without any error reported behavour. 3) Updates: Attempting to update from 1.0.0.5 tells me I have the latest update installed. I suspect that all 3 issues may have the same root cause (all are trying and failing to install stuff). have you tried re-registering as x@sales let that fail, and then re-register with your jolla account? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Problem with QQmlListProperty
Thanks, Janne - I've spent hours trying to get that working. :) Happy new year! Regards, Markus 31 dec 2013 kl. 05:35 skrev Janne Kokko jmkok...@gmail.com: Remove static keyword and put correct scope for the methods in cpp file: 2013/12/29 Markus Svensson markus.svens...@me.com: Hi guys, ... static void append(QQmlListPropertyNote *property, Note* value) { NoteList *list = (NoteList*) property; list-addNote(value); } = void NoteList::append(QQmlListPropertyNote *property, Note* value) { NoteList *list = (NoteList*) property; list-addNote(value); } Keep the static keyword in h file though. -- Janne ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Cannot activate Developer mode
On Tue, 31 Dec 2013 07:16:36 +0100 christopher.l...@thurweb.ch wrote: Hi David Zitat von David Greaves david.grea...@jolla.com: Having 2 Chris-es in the thread is a touch confusing but I think you have dev mode working. It confuses me as well, and I am one of the Chrises - hence this new thread! I'll be CDW (UK) then ;-) 1) Dev mode: Unfortunately I don't have dev mode working. It just spins a while trying to install the developer tools, then gives up without any error reported. 2) Harbour: I can get into the Harbour and see apps, but when I try to install, it get the same try and install for a bit, then give up without any error reported behavour. 3) Updates: Attempting to update from 1.0.0.5 tells me I have the latest update installed. I had that issue all over Christmas. Being of little patience, I reset the phone back to factory defaults and from there, it then did the updates and I'm now on 1.0.2.5. I have also just followed the link in your previous mail to enable dev mode and that's gone straight through. I suspect that all 3 issues may have the same root cause (all are trying and failing to install stuff). I have had an issue on the Emulator where pkcon gets Empty Reply from server (requiring echo nameserver 8.8.8.8 /etc/resolv.conf), so I wonder if the real device has the same problem? I didn't need to do that Having reset the phone, it then came up with different screens requesting different details (I can't remember what they were now, I just remember thinking that I wasn't asked those details the first time round) and this time it was successful so unless you have something on the phone already that you don't want to lose, you could resort to resetting it. Chris CDW (UK). ___ SailfishOS.org Devel mailing list
[SailfishDevel] No inbox?
I have installed the email app on the phone and have finally managed to send an email to another of my email addresses. I then replied to it and I can see that mail in the inbox on my PC. But there is no inbox on the phone. There's just Outbox, Deleted items, Sent and Drafts. That can't be right, can it? ___ SailfishOS.org Devel mailing list
[SailfishDevel] How to use QtTest?
Hi there, I am still in the process of how to organize projects in such a way that I want to make sure that they don't turn out as a maintenance nightmare and I can add other platforms in future. One topic of this is building the business logic as a library and create a test project for it. So far so good. Now I have tried to use QtTest and got an underlined error using #include QtTest in a header file. The corresponding CONFIG += qtestlib in the .PRO file leads to an unknown module(s) in QT error. Ok, the module is not part of the SDK, just install it in the Mer SDM virtual machine. But there is a module called qt5test installed, yet missing any header files. There is a qt5test-devel package. That brings header files but sounds more like I want to develop inside a qt library. Right now I don't see the wood for the trees, can someone show me a direction? :-) Thanks, BR. Sven P.S.: Writing separate business logic and tests for it seems to be interesting in general: why would I want to run it on the phone (emulator) the whole time? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to use QtTest?
in a header file. The corresponding CONFIG += qtestlib Actually it is CONFIG += testlib but documented as qtestlib in one of the help files. But the problem remains the same. BR. Sven ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Cannot activate Developer mode
Hi David and co. Some progress, though I don't understand how. This evening I was about to reset my jolla, as advised by al13n, when I noticed that the very top screen was Developer Tools, and that miracle of miracles these had successfully installed, and showed the WLAN and USB ip numbers. So developer mode now works, and I can ssh via WLAN. Also about product now shows an update available!! The strange thing is, I have no idea how these 2 things came to pass. I rebooted the device at least twice during the day, and did try several times to get the Jolla to connect to our corporate Visitors' WLAN hotspot - unsuccessfully I thought. But maybe it did connect and was able to achieve these 2 tasks Perhaps we should put it down to magic. Having got so far, it raises the question, can I get further? Can I download apps from the store, and even do a system update? Sadly neither of those seem to work on my home network. In another thread I saw some advice for Harbour problems: [root@localhost nemo]# ssu domain sales Changing domain from sales to sales [root@localhost nemo]# ssu flavour release Changing flavour from release to release [root@localhost nemo]# ssu ur [root@localhost nemo]# pkcon refresh Refreshing cache [=] Waiting in queue [=] Waiting for authentication[=] Waiting in queue [=] Starting [=] Refreshing software list [=] Fatal error: Timeout exceeded when accessing 'https://download.jollamobile.com/pj:/hw:/android:/common:/release/latest_armv7hl/repodata/repomd.xml?credentials=store'. Doing [root@localhost nemo]# echo nameserver 8.8.8.8 /etc/resolv.conf which helps on the Emulator when I get the empty reply from server error does not help here, if I repeat the above steps I still get. Fatal error: Timeout exceeded when accessing 'https://download.jollamobile.com/pj:/hw:/android:/common:/release/latest_armv7hl/repodata/repomd.xml?credentials=store'. Your suggestion below for the system update gives the same error. Note: I am currently on my home network. As a control check, my N9 is able to install apps from the Nokia Store. A happy new year to all. Chris Zitat von David Greaves david.grea...@jolla.com: devel-su # enter password and then, as root ssu domain sales ssu release 1.0.2.5 ssu ur pkcon refresh now go to Settings-System Settings-About product and pull down to check for updates HTH David ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?
Yes it does. But long story short, Python WILL BE supported in Sailfish one way or the other, that much I can promise. Sailfish/Mer basically is Fedora mobile which means that just about anything that works on Fedora will work on Sailfish too. Jolla might not support Python but there will be third party support if that's the case. And I have no problem with that as Jolla have around fifty devs or something so if they only support C++ in Harbour it's basically a matter of resources. But today there is Openrepos that supports PyQt. And if you don't like GPLv3 there is also Pyotherside which is a QML plugin so that is not the same thing as PyQt but still could work for most apps. https://wiki.merproject.org/wiki/Sailfish/Python_Development Happy new year all! Jens On Fri, Dec 27, 2013 at 2:19 AM, Martin Kolman martin.kol...@gmail.comwrote: 26.12.2013 23:34, Mikael Hermansson: Its not my opinion it's a fact why should a new platform depend on deprecated libs or language versions when we know it very soon will disappear even from upstream projects? And dists? Its only leads to maintanance hell. And when it disappear developers and endusers gets angry because apps not work. AFAIK Jolla don't recommend python2 even if it still exists in MeR or the repos it may very well dissapear sooner or later. So if you really want PyQT you better depend on python3 because that IS the future. I think PyQt5 supports Python 3 and can be built against it just fine. ___ SailfishOS.org Devel mailing list
[SailfishDevel] How to activate GPS on device
Hello, Now that I received my device, I can test Mæp for real. That's great. It's an app that uses the GPS. If Jolla's map app is running the GPS is activated and my application can use it also (I use QtPositioning in C++, the QGeoPositioningInfoSource class), it works well. But if the map app is not runing, my app is not seeing any GPS capability. So my question, what is the way on the device to activate the GPS (and deactivate it when not necessary anymore) ? I thought that it was possible through the GPS entry of the setting app, but it seems not. Is there a way to do it through C++ like on Maemo 5 ? Thanks and happy new year ! Damien. ___ SailfishOS.org Devel mailing list