Skip to content

qmlclass.py::add_import: dynamically get import qualifier

Matej Starc requested to merge work/sporknife/AddImport into master

do get the import qualifier with a hardcoded index but check the "as" keyword index instead. This fixes errors when we do not specify an import version (ex. "import Qt5Compat.GraphicalEffects").

MR: 19

Signed-off-by: Matej Starc matej.starc@protonmail.com

Edited by Matej Starc

Merge request reports