Skip to content
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 related emails.

Already on GitHub? Sign in to your account

Qt Creator: QML module not found #25

Open
AlessandroFato opened this issue Aug 28, 2019 · 1 comment
Open

Qt Creator: QML module not found #25

AlessandroFato opened this issue Aug 28, 2019 · 1 comment

Comments

@AlessandroFato
Copy link

I tried to both install the library with and without qpm but Qt Creator is not able to find the singleton types and autocompletion is not active.
Is it a known issue? How could we solve it?

I think it is a real pity, as the library is very useful and very well coded.

@jrbarron
Copy link
Collaborator

@AlessandroFato My Qt is a bit rusty these days so my answer might be outdated, but as for the autocomplete I'm not sure that works since I think Qt Creator requires some type of meta file which might be missing.

As for the imports not working, I assume you have included the relevant .pri file in your .pro file and that you have added the right import to your QML file? I think more recent versions of Qt require that all QML types have lower case names so you might want to try Http.request instead of what is in the documentation.

If you can attach a small example that reproduces the issue, I'll try to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants