Additional QML imports for developers?

asked 2017-07-05 09:53:15 +0300

dysko gravatar image

updated 2017-07-05 11:15:39 +0300

I'd like to ask about status & ETA about the following QML imports, ie. what's their current status (stability, maturity, etc) and when are we going to be able to use them in the harbour.

import QtDocGallery 5.0
import Sailfish.Pickers 1.0
import QtQuick.Dialogs 1.2

It seems to me that there's a LOT of functionality which is not available without these APIs and this is a serious impairment to harbour apps. That's why I'm interested.

There is much more that could should be allowed ...

edit retag flag offensive close delete

Comments

It seems that QtQuick 2.0 and Sailfish.Silica 1.0 ARE allowed for use in harbour; see the link below for clarification,

https://harbour.jolla.com/faq (scroll to QML API to see more and link included below),

https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/harbour-qa/allowed_qmlimports.conf

Spam Hunter ( 2017-07-05 11:08:18 +0300 )edit
1

Sorry my copy & paste mistake. Issue is with other things like File Picker, Folder Selector, System Share Dialog... We need it to create usable apps... Also we need interface for showing #nonJolla apps in Share Dialog

dysko ( 2017-07-05 11:17:55 +0300 )edit

No worries. Having looked inside a few files, for example; Jolla gallery, I can find QtDocGallery 5.0 (GalleryItemPickerPage.qml) in use, so I'd assume that it is okay for inclusion by 3rd parties and is considered stable by Jolla.

Also, I can find numerous uses of Sailfish.Pickers, but only in Sailfish apps, again, I'm assuming (the mother of all f**k ups) that as Jolla is actively using these files, that we can as well......or is it one rule for us and different rules for them?, I don't know.

Most of the apps on my device are from Openrepos, but searching the entire device, only leaves one import module not found; 'import QtQuick.Dialogs 1.2'.

Spam Hunter ( 2017-07-05 11:36:32 +0300 )edit
4

The Sailfish.Pickers will be allowed in a coming version, see the accepted PR to allow this in harbour.

Damien Caliste ( 2017-07-05 11:50:18 +0300 )edit
1

There is indeed one rule for them and a different rule for us, which is very logical because Jolla can check and control the things they use in their apps but not the things we build and that could be all sorts of dangerous functionality... The fact that most apps are not available in Harbour has a lot to do with allowed libraries, because why would you use openrepos when you can use harbour?

rgrnetalk ( 2017-07-05 13:24:55 +0300 )edit