From 35309337aacac2eac7d7215e526bddcf7647b8cf Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 11 Mar 2026 11:02:24 +0100 Subject: Initial project setup: Qt 6.10.2 TCP client library for Alchemie XPL2 protocol - Static library (src/) with QML singleton Xpl2Client for TCP communication - Qt Quick demo app (demo/) with connection UI, command input, and response log --- src/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..3339013 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,17 @@ +qt_add_library(QtXpl2 STATIC) + +qt_add_qml_module( + QtXpl2 + URI + Xpl2 + VERSION + 1.0 + SOURCES + Xpl2Client.h + Xpl2Client.cpp + OUTPUT_DIRECTORY + "${PROJECT_BINARY_DIR}/qml/Xpl2") + +target_compile_features(QtXpl2 PRIVATE cxx_std_17) + +target_link_libraries(QtXpl2 PRIVATE Qt6::Core Qt6::Network Qt6::Quick) -- cgit v1.2.3