aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtserialbus
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtserialbus
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/qtserialbus')
-rw-r--r--vcpkg/ports/qtserialbus/portfile.cmake18
-rw-r--r--vcpkg/ports/qtserialbus/vcpkg.json25
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/qtserialbus/portfile.cmake b/vcpkg/ports/qtserialbus/portfile.cmake
new file mode 100644
index 0000000..b69e37c
--- /dev/null
+++ b/vcpkg/ports/qtserialbus/portfile.cmake
@@ -0,0 +1,18 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+ set(TOOL_NAMES
+ canbusutil
+ )
+
+# Probably not worth the time to make it features:
+# qt_configure_add_summary_entry(ARGS "socketcan") # only unix
+# qt_configure_add_summary_entry(ARGS "socketcan_fd") # only unix
+# qt_configure_add_summary_entry(ARGS "modbus-serialport")
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ TOOL_NAMES ${TOOL_NAMES}
+ CONFIGURE_OPTIONS
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/vcpkg/ports/qtserialbus/vcpkg.json b/vcpkg/ports/qtserialbus/vcpkg.json
new file mode 100644
index 0000000..d60a172
--- /dev/null
+++ b/vcpkg/ports/qtserialbus/vcpkg.json
@@ -0,0 +1,25 @@
+{
+ "name": "qtserialbus",
+ "version": "6.9.1",
+ "description": "The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, and others.",
+ "homepage": "https://www.qt.io/",
+ "license": null,
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "network"
+ ]
+ },
+ {
+ "name": "qtserialbus",
+ "host": true,
+ "default-features": false
+ },
+ {
+ "name": "qtserialport",
+ "default-features": false
+ }
+ ]
+}