scan the whole install folder for qml dependencies
ClosedPublic

Authored by mart on Jun 5 2017, 2:55 PM.

Details

Summary

set qml-root-path as the root install folder
of the application, as is used to scan for
import dependencies, and both qml files in share should be scanned
as well as other qml imports that may be installed in /lib

Test Plan

kirigami gallery deployment has again all the needed dependencies

Diff Detail

Repository
R240 Extra CMake Modules
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Jun 5 2017, 2:55 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptJun 5 2017, 2:55 PM
Restricted Application added subscribers: Build System, Frameworks. · View Herald Transcript
apol accepted this revision.Jun 5 2017, 2:58 PM
This revision is now accepted and ready to land.Jun 5 2017, 2:58 PM
This revision was automatically updated to reflect the committed changes.

I don't know if is related to this commit, but when compiling my application via kirigami with make create-* and uploading to my cellphone, a white screen appears.
Using adb to debug with logcat, this error took my attention: libatcore-gui.so: qrc:///main.qml:2 ((null)): qrc:///main.qml:2:1: module "QtQuick.Controls" plugin "qtquickcontrols2plugin" not found, and than searching about it, this site took my attention.
I don't know if it's a bug or related to this PR.