QMLLS: QML Module not found even in most basic example
-
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 aModule
and using theType
defined in it insideType.qml
.
qmlls is configured in QtCreator like this:
.
.qmlls.ini
inimports/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.