From 7bb49eabdf8d86567660c8825892eb323fa6e674 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 25 Feb 2026 16:11:53 +0100 Subject: Add .qmlformat.ini, qmlls support, and format QML files - Enable QT_QML_GENERATE_QMLLS_INI for QML Language Server support - Add IMPORT_PATH to demo's qt_add_qml_module so .qmlls.ini includes the local build QML directory alongside the Qt system path - Add editor setup section to README with qmlls and qmlformat guidance - Add QML formatting section to French guide - Reformat demo QML files with .qmlformat.ini (line wrapping at 80 cols) --- demo/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'demo/CMakeLists.txt') diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index d2158cb..dd208e8 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -8,7 +8,9 @@ qt_add_qml_module( 1.0 QML_FILES Main.qml - NodePage.qml) + NodePage.qml + IMPORT_PATH + "${PROJECT_BINARY_DIR}/qml") # Executable goes to bin/ to avoid clashing with the QML module directory set_target_properties(BobinkDemo PROPERTIES RUNTIME_OUTPUT_DIRECTORY -- cgit v1.2.3