Closed ghost closed 7 years ago
Does the problem still exists when you load qml files through resource system?
Not really a problem, a feature. Adding paths means cleaner QML which is independent of the file structure of the project.
@orbifx Can we close this?
I think so. We have the function now. If there is a problem we can reopen or start new issue.
http://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path
It would be nice to provide functions for adding paths for importing custom modules.
In the meantime a work-around is to set the
QML2_IMPORT_PATH
environment variable