We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Allow importing Sailfish.Silica.private

asked 2018-08-17 23:08:25 +0300

Calin H. gravatar image

Hi there,

I would like to use in my app some Sailfish.Silica.private components like it is done in https://github.com/sailfishos/sailfish-browser/blob/master/src/pages/BrowserPage.qml, but the rpm validation gives me the error that is not allowed because I already have the import of Sailfish.Silica and it seems that simple import of Sailfish.Silica is not enough for the private components. Has anyone a solution to this issue?

Thanks!

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2018-08-18 15:27:21 +0300

I included them in the past and circumvented Jolla Harbour QA without any issue. The trick is to copy the private QML files to your project without explicity using the Sailfish.Silica.private import.

You can find the QML files here https://github.com/CODeRUS/better-sailfishos-qmltypes

This isn't ideal but works fine and is Harbour compatible (RPM validator)

edit flag offensive delete publish link more

Comments

1

Thank you very much! It worked!

Calin H. ( 2018-08-18 20:08:54 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2018-08-17 23:08:25 +0300

Seen: 410 times

Last updated: Aug 18 '18