Skip to content

js-files loaded with Qt.include cannot be instrumented #1

@mutaphysis

Description

@mutaphysis

When js-files are instrumented, a .import for the coverage plugin is inserted at the top. Due to QTBUG-32275 (https://bugreports.qt-project.org/browse/QTBUG-32275), files containing an .import statement cannot be loaded with Qt.include.

Use .import for loading JS files instead.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions