Skip to content

Qt Creator: QML module not found  #25

Description

@AlessandroFato

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.

Activity

  1. jrbarron commented on Aug 28, 2019

    @jrbarron
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions