Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QMLLS: QML Module not found even in most basic example
Forum Updated to NodeBB v4.3 + New Features

QMLLS: QML Module not found even in most basic example

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 269 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mewo
    wrote on last edited by Mewo
    #1

    I try to find the problem with linting. It cost me dozens of ours already in various projects to get linting working and it drives me crazy.

    I have this minimum working example. It includes a Main.qml importing a Module and using the Type defined in it inside Type.qml.
    qmlls is configured in QtCreator like this:
    5e5f6c09-06da-46da-92c1-c8da884aaf8b-image.png.
    .qmlls.ini in imports/Module includes the following:

    [General]
    buildDir=/home/mewes/Projekte/MWEQmlImports/build/Desktop_Qt_6_8_1-Debug/imports
    no-cmake-calls=false
    docDir=/home/mewes/Qt/Docs/Qt-6.8.1
    importPaths=
    

    I use Qt 6.8.1.

    I get the usual "Failed to import Module. Are your import paths set up properly?"
    What am I doing wrong?
    I reset the code model already.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved