Qt5-QtLocation for harbour apps

asked 2019-08-19 21:48:48 +0300

Alfonso gravatar image

Five years ago (!!) I developed a C++/Qml GPS logging app but I couldn't ship it in Jolla store (harbour) because the Qt5-QtLocation library was not an allowed dependency. My yaml file is still using:

PkgConfigBR:
  - sailfishapp >= 1.0.9
  - Qt5Core
  - Qt5Qml
  - Qt5Quick
  - Qt5Positioning

Requires:
  - qt5-qtlocation >= 5.2

It has been successfully running from SailfishOS 1.1 to 3.1.0.11 across Jolla 1 and Xperia X, but even the latest Sailfish SDK 2.2.4 doesn't allow that dependency yet (SailfishOS 3.1 still ships the so-called "experimental" QtLocation 5.2.2), while the SDK compile messages do not help:

Requires
========
ERROR [qt5-qtlocation] Dependency not allowed
INFO [harbour-gpstuff] Please see our FAQ here: https://harbour.jolla.com/faq#2.6.0 how to use '__provides_exclude_from' and '__requires_exclude' .spec file to avoid that
FAILED

Will one day Qt5-QtLocation be allowed?

edit retag flag offensive close delete

Comments

The reason was that this API was experimental at that time. It is public, stable API of Qt meanwhile. Everything needed to allow it in store would be verifying that the 5.6 API is still present in current Qt releases, e.g. upwards compatible. Then this ban could IMHO easily be lifted.

Dakon ( 2020-01-02 23:17:35 +0300 )edit