Hi All
In an attempt to track down the source of this problem, and possibly
even solve it, I have created a throwaway demo posted to Github under:
https://github.com/sailfishapps/ThrowawayDemos/tree/master/Kaputt/PositionSourceDemo
The demo is basically a standard Sailfish new project, with a QML
PositionSource element added to FirstPage, and the start() method
called in a Component.onCompleted on that Page.
To actually get into the nitty-gritty of the code where the problem is
likely to be, I have also copied in C++ code from QtPositioning. I am
not sure if this identical to the code used in the Sailfish build of
Positioning, but it is probably close enough. This "in-line"
PositionSource element is imported by "import PositionSource 5.2"
Switching between the standard import and the in-line import is by
comment in / out the import statement(s).
Of course, the problem may not be in the code at all, maybe I am
missing some essential package or plugin on my Jolla ..
Grüsse
Chris
Zitat von christopher.l...@thurweb.ch:
Hi Alejandro
My understanding is that although the version is quotes as 5.1, it
is actually a "not quite finished" 5.2
In the target there is a 5.2.0 subdirectory:
/Users/christopherlamb/SailfishOS/mersdk/targets/SailfishOS-armv7hl/usr/include/qt5/QtPositioning/5.2.0
import QtPositioning 5.2, import QtPositioning 5.1, and import
QtPositioning 5.0 all give me the same error.
Whereas something like "import QtPositioning 5.7" gives module
"QtPositioning version 5.7 is not installed"
Chris
Zitat von "Alejandro Exojo" <s...@badopi.org>:
El Saturday 11 January 2014, christopher.l...@thurweb.ch escribió:
import QtPositioning 5.2
Isn't 5.1 the newest available?
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list