Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile
Hi, On Wed, 11 Nov 2015 16:20:11 Alexander Ladygin wrote: > I probably didn't make myself clear =( > 1) wifi is turned on > 2) app is launched, i can download files with QNAM > 3) app is still launched, i turn off the wifi (mobile network activated) > 4) i can no longer download any files. No network errors, but QNAM's reply > returns empty files Does the reply emit the finished() signal? I ask because I would expect the reply to either finish with an error or hang attempting to use the previous connection. You could try using tcpdump or strace to check what QNAM is actually doing at the socket level. It might give more of a clue as to what is going wrong. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile
Hi, On Tue, 10 Nov 2015 11:07:51 Alexander Ladygin wrote: > but how exactly can i make disconnect? All the network requests i send with > QNetworkAccessManager after switching to mobile are returned with errors =( What errors are being returned? Are you explicitly setting a network configuration or relying on QNAM default behaviour? What online state is QNAM reporting when the errors occur? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Bluetooth service discovery not working since 1.1.2.16
Hi, On Thu, 5 Mar 2015 16:19:01 Richard Rondu wrote: I have fixed Qt Bluetooth like you described and it's working, a new rpm is under way. It's in my fork on github for those interested : https://github.com/lainwir3d/qtconnectivity/commit/5f42edc7ce404db1a9fe95087 bf6c0866df40771 Thanks again for the help ! A patch similar to this should be submitted upstream. This patch has has some issues, blocking calls such as waitForFinished() should not be used. Instead QBluetoothServiceDiscoveryAgentPrivate::start() should be changed to call FindDevice() instead of CreateDevice(). CreateDevice() should only be called from the on finished handler for FindDevice() if the device could not be found. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app
Hi, On Sat, 17 Jan 2015 12:29:06 Harald Schmitt wrote: After updating to the latest sdk (SailfishOSSDK-Beta-1412-Qt5-linux-64-offline.run) the bib did not build alltough I added the required library (bluez-libs-devel) and synced the target within qt creator it did not sucessfully do the qtCompileTest(bluez) After numerous tries I added the line CONFIG+=recheck with this qt does not cache the qtCompileTest results. This did the trick and after one build I could remove the line again and even after qtcreator restart it builds correctly. Strange!!! To rerun the compile tests you can remove the .qmake.cache file from your build directory. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app
On Mon, 15 Dec 2014 17:53:34 Harald Schmitt wrote: Am 15.12.2014 um 13:35 schrieb Harald Schmitt: Am 11.12.2014 um 17:45 schrieb Harald Schmitt: Am 10.12.2014 um 18:24 schrieb Richard Rondu: Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I have to update it. Nevertheless It should work with standard bluetooth, I haven't tried with BLE though. Other part of QtConnectivity that are not QtBluetooth haven't been tried either (NFC and so on). I even think I have even disabled the build. Nevertheless, here are the relevant part of the .yaml file and the .pro file I use for Parrot ZIK 2.0 Manager in harbour that ship with this backport. You have to build QtBluetooth backport separately with the sailfish sdk, then put the .so file(s) in a lib subdirectory inside your project. thanks that got me started. I hope I can dedicate enough time to bring a Xiaomi MiBand app to the harbour. While building qtconnectivity with the sdk I get the following message Project MESSAGE: Unsupported Bluetooth platform, will not build a working QtBluetooth library. Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers. qtHaveModule(dbus) returns false. Do you have any idea? I made a mistake, actually config_bluez returns false and qtHaveModule(dbus) returns true. But still I don't know why. Try to determine why the BlueZ config test failed. You can manually try to build the config test project in qtconnectivity/config.tests/bluez. It uses pkgconfig to find the required headers and libraries. Ensure that the required development packages are installed. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app
On Wed, 10 Dec 2014 18:24:50 Richard Rondu wrote: Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I have to update it. Nevertheless It should work with standard bluetooth, I haven't tried with BLE though. Other part of QtConnectivity that are not QtBluetooth haven't been tried either (NFC and so on). I even think I have even disabled the build. There is no Linux backend implemented in the Qt NFC library. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] GPS sensor
Hi, On Sun, 27 Apr 2014 13:07:37 Chris Walker wrote: Is it possible to disable the onboard GPS sensor and use a bluetooth unit instead? If I look at the location side of the phone, it doesn't offer that option whereas the Nokia N900 does. Is it possible to do it via some code perhaps? In case you're wondering why I might want to do such a thing, the answer is heat. The phone seems to run much warmer when using Android code and I have installed Sygic maps. I had those on the N900 and liked their operation but that phone also ran very hot and would lose comms from the inbuilt GPS when it did so. Hence I'd like to avoid the same problem this time around. Sailfish OS uses Geoclue1 positioning stack. It is possible to add the necessary components to provide an external Bluetooth GPS source. I suggest looking into gpsd and the geoclue-gpsd provider. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Issue with GPS refresh interval
Hi, On Fri, 21 Mar 2014 13:57:56 dcali...@free.fr wrote: It seems to me (correct me if I'm wrong) that since the last software update (1.0.4.20), the GPS refresh interval set with setUpdateInterval() (see http://qt-project.org/doc/qt-5/qgeopositioninfosource.html), is not honored anymore. The GPS fires its callback with a period of 1 s always, whatever the value set for updateInterval (I'm testing with setUpdateInterval(3000), but other values are not working neither). The value returned by .updateInterval() accessor is valid (and different than 1000) by the way. I know that this part of Qt is not officialy in SailfishOS yet, but I would like to report a bug, if it actually exists, for it to be corrected in whatever future official inclusion in Sailfish. Thank you for this report. It was caused by a change to Qt Positioning that wasn't meant to go out as part of 1.0.4.20. Once the rest of the logical change (changes to other packages) is in this regression will disappear. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Inhibit PageStack back gestures on Map widget
Hi, On Sun, 16 Feb 2014 18:29:55 Tigre-Bleu wrote: I have a Pagestack where a page is displaying a map with QtLocation Map {} element. I can pan the map to the top/bottom/right but if I try to pan to the left, the OS thinks it is a swipe back and pop the page out. I would expect that the Map {} element intercepts all mouse events when gesture.enabled = true but it appears that it is not the case. This looks like a bug in the Qt Location Map type. It should be calling QQuickItem::setKeepMouseGrab() once a gesture is detected to prevent any input event filters defined in parent items (such as the PageStack) from getting those events. Can you create a bug in the Qt bug tracker: http://bugreports.qt-project.org/ How is it possible to inhibit this behaviour on the map widget, and to keep the behaviour on the rest of the Page? I guess I'm not the first one to have this question but I cannot find any example. Perhaps you are :) The Jolla Sailfish Maps application requires the user to switch to split view before moving back through the page stack. This essentially bypasses this issue. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
Hi, On Sat, 1 Feb 2014 10:37:59 christopher.l...@thurweb.ch wrote: A slight correction to my previous post I think that the high number of Sats in View shown on the Jolla means that it is showing both GPS and Glonass Satellites, and thus gives a figure almost double of that I was used to from the Nokia N9 and classic GPS devices. Comparing various devices I get the following readings: Sats in use / Sats in View / Device / Technology 6 / 9 / Nokia N9 / GPS only 5 / 20 / Jolla / GPS and Glonass 15 / 21 / Samusung Galaxy Note 3 / GPS and Glonass 9 / Garmin GPSmap 60CSx / GPS only So the Sats in View figure of the Jolla is plausible. Interestingly the Jolla's Sats In Use figure - at least in the tests on my terrace this morning - is consistently lower than that displayed by the other devices. I show 15 for the Galaxy above, but have seen readings of 18 and 19. What are the satellite identification numbers for these satellites. Satellites 65 to 88 are GLONASS. Others are GPS. Does this match your hypothesis? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Segmentation fault: No such file or directory.
Hi, I replied to a duplicate email off list. On Fri, 24 Jan 2014 12:22:25 Sylvain B. wrote: I did more tests today in the subway with a limited connectivity and it was actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace suggest, it has something to do with the caching operation.Now that I have a better 3G connectivity, I can reproduce it more often but not as often than yesterday in Wifi. It never occurs at the first attempt, I'd say I have to try between 2 and 10 times, it depends, while in Wifi it was almost always crashing at the first attempt. When not panning the Map, it occurs less frequently, but I am not sure how frequently. I will make more tests this WE. But If I simply push/pop/push/pop/... the Map without panning it, it never crashes. Thanks for the information. And why the only available docs are on developer.ubuntu.com? Qt Positioning and Qt Location are not currently supported APIs in SailfishOS. Once they are their documentation will be available with the rest of the SailfishOS developer documentation. Qt Positioning documentation is available as part of the Qt 5.2 docs at qt- project.org/doc. Qt Location has not been officially released yet. Once it is it will be documented there as well. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Segmentation fault: No such file or directory.
Hi, On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote: I am facing some segfaults so I've decided to install GDB and the debug packages of some Qt5 libs on my phone (Hope that won't cause issues with future Sailfish updates?). But this does not help me, since they apparently aren't coming from my code. For the first, I have a back button on a Map. If I start a flick and I press the back button while the Map is still flicking, it crashes. But it also crashes sometimes when the flick has finished so I can't simply test that flick is finished before doing the pagestack.pop(): Program received signal SIGSEGV, Segmentation fault. QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 2727tools/qstring.cpp: No such file or directory. (gdb) backtrace #0 QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 #1 0x40089bf0 in QGeoTileCache::~QGeoTileCache (this=0x400a750c, __in_chrg=optimized out) at maps/qgeotilecache.cpp:202 #2 0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0, __in_chrg=optimized out) at maps/qgeotilecache.cpp:208 #3 0x4007ad98 in QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate (this=0x2a2b6b10, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:328 #4 0x4007aefc in QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine (this=0x2a4d5a68, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:68 #5 0x47ca43b0 in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #6 0x47ca43fc in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #7 0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:190 #8 QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:96 #9 0x4007a244 in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:97 Thank you for reporting this. I have created a bug for it in our bug tracking system. Does the crash happen every time when popping the pagestack while the Map is still panning? How frequently does it happen when not panning the Map? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtWebKit QWebView
Hi, On Mon, 20 Jan 2014 23:27:02 Hannes Rantzsch wrote: I'm trying to get the content of a website. Since SilicaWebView doesn't seem to provide this, I want to write a C++ class that does. QWebView from QtWebKit should be able to do this (this example is actually perfect: http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitwidgets-domtraversal-e xample.html). However, I cannot include QWebView (no such file [...]) and including QtWebKit/QtWebKit does not give me the QWebView either. I did add QT += webkit to my .pro-file. What am I missing? QWebPage is in WebKit widgets. QT += webkitwidgets But widgets aren't supported. If you don't need to display the web page, you can use QWebFrame and follow the example you linked to from there. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] GPS initially shows old location
Hi, On Fri, 17 Jan 2014 17:09:37 christopher.l...@thurweb.ch wrote: Is it possible that the Jolla GPS / GPS Software stack initially shows the last location acquired? This is the behaviour I am observing. At the moment I am sitting in an office building, which has poor GPS reception, yet my app immediately shows GPS Coordinates. By peaking I can see that the GPS icon is flashing, and thus no fix has been acquired. Having checked the GPS coordinates with Google Earth, the coords are actually for a location several kilometers away - in the middle of a set of railway tracks that I travel along to and from work. As I do lots of mobile development on the train, this is a plausible location for where the Jolla last got a fix. By comparison the same app running on my old Nokia N9 gets NaN from the GPS for longitude and lattitude until it gets a fix. I can then translate this into a user friendly text on the GUI No valid position yet, and stop the user from proceeding further into the app until a true fix is acquired. If my understanding of the behaviour of the Jolla GPS is correct, is there anyway I can stop it giving me the old fix? It is important to my app that the coords shown are as accurate as possible, otherwise a recovery party / rescue helicopter may be mis-directed. This is a feature in Qt Positioning. Only the coordinates and timestamp are saved. Use the timestamp to check if the location data is old. The accuracy values of the position will be NaN. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
Hi, On Sat, 11 Jan 2014 18:08:25 christopher.l...@thurweb.ch wrote: I have added a QML PositionSource element to the FirstPage of the default HelloSailors new project, and call the start() method from Component.onCompleted (see code snippet below mail). When running on the Emulator I get no error: When running on a real Jolla I get the following error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' I have the GPS enabled, I have used the maps app and agreed to the licence there. This is a problem with the Qt Geoclue positioning plugin, it fails to register the data type. I have submitted a fix upstream [1]. In the meantime you can work around it in you application by calling qRegisterMetaTypeQGeoPositionInfo(); prior to creating a position info source. [1] https://codereview.qt-project.org/75256 Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
Hi, On Sun, 12 Jan 2014 15:15:13 Marcel wrote: I'm trying to get satellite information using QGeoSatelliteInfoSource, but I cannot create a default source. Is it not implemented in Sailfish? I know that Sailfish is using Geoclue, and there is a commit in Qt for supporting the Geoclue Satellite interface: https://qt.gitorious.org/qt/qtlocation/commit/e09d297894a8b4ff9b06317169b5a9 eb97aa7162 Is this missing in the Sailfish-Qt-packages? Is the satellite interface missing in the Sailfish-Geoclue? Is it another problem? Can I access the satellite information in another way? Unfortunately, due to a build configuration issue, the satellite interface is not available in the current released version. The issue has already been fixed and will be released with a future update. Another small partly related problem I found then using the GPS is the following: If you use QGeoPositionInfoSource the VerticalAccuracy and the HorizontalAccuracy are always the same, is this normal behaviour? This is expected behaviour. Only a single accuracy figure is given by the hardware and is used as both the vertical and horizontal accuracy. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
Hi, On Mon, 13 Jan 2014 08:01:43 christopher.l...@thurweb.ch wrote: Zitat von Aaron McCarthy aaron.mccar...@jolla.com: Hi, Unfortunately, due to a build configuration issue, the satellite interface is not available in the current released version. The issue has already been fixed and will be released with a future update. Thanks for the confirmation that this is not yet working and that a fix is in the works. Just out of interest of how thinks work, could you provide a more detailed explanation of what is missing / broken? I am guessing a geoclue provider, but may be way-off. Just a missing BuildRequires in the rpm spec file for Qt Location. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] GPS not turned off if app exits without stopping the GPS
Hi, On Mon, 13 Jan 2014 08:11:05 christopher.l...@thurweb.ch wrote: I will call this a behaviour for the moment. Yesterday I noticed that if an app that uses the GPS exits without stopping the GPS, then the GPS remains running on the Jolla. How did you confirm this? Presence of the Location icon on the lock screen? I compared this to my Nokia N9. On that device if an app using the GPS exits (e.g. the user closes it), then the GPS stops soon after that app has exited (even if the app does not explicitly shut the GPS down). On the N9 this even works with multiple apps open using the GPS. In this test, when the last GPS-consuming app exits, the GPS shuts down. This is expected to work. Both the Geoclue master and the provider processes monitor DBus disconnections and will clean up any associated interfaces. The provider processes will then close 30 seconds after there are no more connections. How to test that geoclue-master is working: Run /usr/lib/qt5/bin/qdbus org.freedesktop.Geoclue.Master | grep '/org/freedesktop/Geoclue/Master/client' | wc -l to see how many processes have started positioning. Run the above command, expect 0 Run sailfish-maps Run the above command, expect 1 pkill -9 sailfish-maps Run the above command, expect 0 It is harder to test this functionality in the providers as the number of connections are not readily available. Can you check whether there are any client interfaces exported by geoclue- master with the above command. Also what geoclue processes are running (ps aux | grep geoclue). Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
Hi, On Mon, 13 Jan 2014 07:55:32 christopher.l...@thurweb.ch wrote: Thanks for this. I am glad to hear a fix is underway. I was about to play around with solution like the one you suggest until others in this mailing list provided me with demo code that indicates that despite the error, the PositionSource element seems to work! If so, is this actually a ghost error that we can ignore for the moment? It is a real error, but it does not affect the core functionality of the PositionSource. It can be ignored for the moment. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Android emulator running in UTC time and others
Hi, On Sat, 21 Dec 2013 12:33:40 Dag Nygren wrote: When setting proxy for a WiFi connection you can set the http:// proxy ok, but going forward trying to set the https:// the field will clear after entering the first . in the proxy host name This is a known bug that has already been fixed internally. The fix will be released with a future update. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] No map overlay objects shown if zoomLevel 3
Hi, On Tue, 26 Nov 2013 08:21:52 tw_bolek wrote: You are not doing anything wrong. As you discovered items are only visible when the map zoom level is greater than 3. Between zoom levels 2 and 3 the opacity is ramped down linearly and is 0 below a zoom level of 2. See https://bugreports.qt-project.org/browse/QTBUG-25393 for details on why this was implemented. Thank you very much. But does it mean that I cannot show any objects in zoomLevel 1? Are there no workarounds for this? Let's say that I need to show a full cruise of a ship between two distant continents - I want to show it over the whole world map visible at once, i.e. zoom level 1, so that the user does not have to scroll the map all around to see the whole route... Zoom level 3 where the items become visible is of no use - it only fits a very small part of the what I need to show at once... Everything worked so well in Qt4.8/QtMobility.location 1.2 Unfortunately from the looks of the implementation there is no work around for this. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type
Hi, On Thu, 21 Nov 2013 08:43:11 tw_bolek wrote: BTW. Do you perhaps now the URL of the site where one can register to get the API key to use Nokia Maps plugin? If I try to use it without any key it says to go to https://api.developer.nokia.com but that URL just redirects to the main Nokia Developer page. I can't find the right place to register... Try developer.here.com. Sign in or create an account. The click on the Get Started link at the top of the page. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type
On Wed, 20 Nov 2013 10:52:29 christopher.l...@thurweb.ch wrote: Having had a closer look at the Positioning sources, I think positioning.cpp is missing a line like: qmlRegisterTypeQDeclarativeCoordinate (uri, major, minor, Coordinate); Where would be the best place to report this as a bug? That is not a bug. There is no such class QDeclarativeCoordinate. Coordinates in QML are no longer QObject derived types (as they were in Qt Mobility), instead they are value types. See http://doc-snapshot.qt-project.org/qt5-stable/coordinate.html for documentation on how to use this type in QML. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type
Hi, On Wed, 20 Nov 2013 07:52:14 tw_bolek wrote: What a mess... It looks that it must have been moved from QtLocation to QtPositioning only recently. The positioning class were split out into a separate library to allow using them in console applications without pulling in a lot of GUI dependencies. Only the positioning library is being released with Qt 5.2. Non of the maps, routing, places, and geocoding related classes have been officially released by the Qt Project. It seems to be only in QtPositioning 5.2. That's why it wasn't recognized despite importing both QtLocation 5.0 and QtPositioning 5.0 That is true, however, what is included in SailfishOS/Mer is very close to 5.2 even though it declares itself as 5.1. import QtPositioning 5.0 and import QtLocation 5.0 should work. Where and how can I install QtPositioning 5.2 from? The one I have installed is 5.0. Trying to import QtPositioning 5.2 returns: QtPositioning version 5.2 is not installed ... The RPM package you will need for development are qt5-qtpositioning-devel and qt5-qtlocation-devel. At runtime you will need qt5-qtdeclarative-import-positioning and qt5- qtdeclarative-import-location, qt5-qtpositioning, qt5-qtlocation, plus whatever positioning/geoservices plugins your application requires. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type
Hi, On Wed, 20 Nov 2013 08:02:38 tw_bolek wrote: P.S. I've just tried to update with zypper, but it shows that QtPositioning 5.1.0 is installed and it is the highest available version, no update is available Does it mean that I cannot use the Coordinate element in a Sailfish OS application for now? Please see my reply in the other thread. The Qt Location and Qt Positioning packages are reported as version 5.1.0 but they include something very close to what will be in 5.2 upstream. There was no Qt Positioning library prior to Qt 5.2. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QTLocation not part of QT5, what to do?
Hi, On Thu, 8 Aug 2013 08:59:23 AM christopher.l...@thurweb.ch wrote: rpm -ql qt5-qtlocation will list the files included in the package. gives me: [root@SailfishEmul QtLocation]# rpm -ql qt5-qtlocation /usr/lib/libQt5Location.so.5 /usr/lib/libQt5Location.so.5.2 /usr/lib/libQt5Location.so.5.2.0 I guess from the version numbers that these are from Qt 5.2 The 5.2 version number is a result of the fact that an official version of Qt Location has not yet been released. The packaged version is a reasonably recent snapshot from the upstream dev branch. Note that since Qt Location has not been released yet its API is not yet frozen. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list