Am 19.08.24 um 10:52 schrieb Christian Kandeler via Qt-creator:
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

opened https://bugreports.qt.io/browse/QTCREATORBUG-31473

ekke

--
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to