(SActivitySequencer): qml import path is not properly defined
Summary
Application using ::uiActivitiesQt::editor::SActivitySequencer
can not be packaged, the qml import path used by this service point to the conan folder. (see SActivitySequencer.cpp l.165)
Steps to reproduce
Try to package an application using ::uiActivitiesQt::editor::SActivitySequencer
(ExActivities).
What is the current bug behavior?
Application does not work on a non-dev computer.
What is the expected correct behavior?
Application is properly packaged and the installed software works properly.
Possible fixes
Replace in SActivitySequencer.cpp l.165
engine->addImportPath(QML_IMPORT_PATH);
by
QDir path("./qml");
if (path.exists())
{
m_engine->addImportPath("./qml");
}
else
{
m_engine->addImportPath(QML_IMPORT_PATH);
}