aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/BuildDeps.cmake
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-25 16:11:53 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-25 18:08:28 +0100
commit7bb49eabdf8d86567660c8825892eb323fa6e674 (patch)
treebbcfb9f80fa8373dc61e63cafef30e8a664cedea /cmake/BuildDeps.cmake
parent9507f9779809bd077705d1ad54384f714b41c122 (diff)
downloadBobinkQtOpcUa-7bb49eabdf8d86567660c8825892eb323fa6e674.tar.gz
BobinkQtOpcUa-7bb49eabdf8d86567660c8825892eb323fa6e674.zip
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)
Diffstat (limited to 'cmake/BuildDeps.cmake')
-rw-r--r--cmake/BuildDeps.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/BuildDeps.cmake b/cmake/BuildDeps.cmake
index 83791a2..942ea1d 100644
--- a/cmake/BuildDeps.cmake
+++ b/cmake/BuildDeps.cmake
@@ -10,11 +10,13 @@
set(OPEN62541_SOURCE_DIR "${PROJECT_SOURCE_DIR}/deps/open62541")
set(OPEN62541_BUILD_DIR "${PROJECT_BINARY_DIR}/deps/open62541-build")
-set(OPEN62541_INSTALL_DIR "${PROJECT_BINARY_DIR}/deps/open62541-install"
+set(OPEN62541_INSTALL_DIR
+ "${PROJECT_BINARY_DIR}/deps/open62541-install"
CACHE INTERNAL "open62541 install prefix")
set(QTOPCUA_SOURCE_DIR "${PROJECT_SOURCE_DIR}/deps/qtopcua")
set(QTOPCUA_BUILD_DIR "${PROJECT_BINARY_DIR}/deps/qtopcua-build")
-set(QTOPCUA_INSTALL_DIR "${PROJECT_BINARY_DIR}/deps/qtopcua-install"
+set(QTOPCUA_INSTALL_DIR
+ "${PROJECT_BINARY_DIR}/deps/qtopcua-install"
CACHE INTERNAL "QtOpcUa install prefix")
# Verify submodules are initialized