8000 Add "missing qmldir" error message · Issue #2 · canonic/canonic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add "missing qmldir" error message #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account 88DF related emails.

Already on GitHub? Sign in to your account

Open
ollie-dawes opened this issue Aug 17, 2022 · 0 comments
Open

Add "missing qmldir" error message #2

ollie-dawes opened this issue Aug 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ollie-dawes
Copy link
Contributor

Most developers expect custom types to load automatically so long as they are uploaded to the same network directory (which is how qml works locally) however importing qml files over the network has an additional restriction for remotely loaded content. We should have a more useful error message if a type is not found to prompt the developer to add a qmldir file if they are missing one to make this more obvious.

remotely-located-directories: https://doc.qt.io/qt-6/qtqml-syntax-directoryimports.html#remotely-located-directories

Alternatively, maybe Qt will remove this restriction some day.

@ollie-dawes ollie-dawes added the enhancement New feature or request label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant
0