[Qt-creator] QML LS on/off - QtC 14.0.1 - Qt 6.8 Beta3

Christian Kandeler christian.kandeler at qt.io
Mon Aug 19 10:52:09 CEST 2024


On 8/16/24 1:45 PM, ekke wrote:
> Now the qmlls is default with QtC 14.0.1 and Qt 6.8 Beta 3
>
> this is great for my projects ported to CMake and using QML_ELEMENT, 
> QML_SINGLETON ... qt_add_qml_module...
>
> ATM most of my projects are still on QMake using qmlRegisterType and 
> other old stuff. waiting for a fix coming in Beta4 to be able to start 
> porting and modernizing.
>
> In QtC Preferences QtQuick -> QML/JS Editing -> QML LS is turned on 
> and works great for my CMake projects,
>
> but in my old QMake projects Imports aren't recognized. I can go to 
> Preferences and switch QML LS 'Turn on' to OFF and it works.
>
> Have not found a way to do this per project.
>
> Or should I install a 2nd instance of QtC where qmlls is switched off ?
>
> what's recommended ?

I'd recommend creating a task asking for this setting to be available 
per project.

In the meantime, I suppose using different settings paths is a pragmatic 
workaround.


Christian



More information about the Qt-creator mailing list