aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-03-11 15:25:11 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-03-11 15:25:11 +0100
commit094b8aa2bbb8b90dff9da199873cbc6b36549eb6 (patch)
treef7dea55e25ca4f9a0461c88a9c91953bb77336fc /CMakeLists.txt
parent920a1adeadef58eb04f2bf83af8fb8bc6c01a986 (diff)
downloadQtXpl2-094b8aa2bbb8b90dff9da199873cbc6b36549eb6.tar.gz
QtXpl2-094b8aa2bbb8b90dff9da199873cbc6b36549eb6.zip
Refactor: three XPL2 ports, EchoServer class, dark debug console, qmllint clean
- Xpl2Client: replace single port with commandPort/imagingPort/statusPort (9110/9111/9112) - Mock server: extract EchoServer class from lambda-based listenOn() - Demo: dark debug console matching BobinkQtOpcUa style, 2-column connection layout - Fix qmlls module resolution via IMPORT_PATH in qt_add_qml_module() - Add pragma ComponentBehavior: Bound, fix all qmllint warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e49cf1b..6562716 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,10 +10,9 @@ qt_standard_project_setup()
qt_policy(SET QTP0001 NEW)
# QML import path so Qt Creator / qmlls can resolve modules.
-list(APPEND QML_IMPORT_PATH "${PROJECT_BINARY_DIR}/qml")
set(QML_IMPORT_PATH
- "${QML_IMPORT_PATH}"
- CACHE STRING "" FORCE)
+ "${CMAKE_CURRENT_BINARY_DIR}/qml"
+ CACHE STRING "Path to locally built QML modules")
# Generate .qmlls.ini for QML language server
set(QT_QML_GENERATE_QMLLS_INI