diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtwebchannel | |
Diffstat (limited to 'vcpkg/ports/qtwebchannel')
| -rw-r--r-- | vcpkg/ports/qtwebchannel/portfile.cmake | 19 | ||||
| -rw-r--r-- | vcpkg/ports/qtwebchannel/vcpkg.json | 24 |
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/qtwebchannel/portfile.cmake b/vcpkg/ports/qtwebchannel/portfile.cmake new file mode 100644 index 0000000..18f9512 --- /dev/null +++ b/vcpkg/ports/qtwebchannel/portfile.cmake @@ -0,0 +1,19 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES) + + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS +FEATURES + "qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick +INVERTED_FEATURES + "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick + "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Qml +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} + CONFIGURE_OPTIONS_RELEASE + CONFIGURE_OPTIONS_DEBUG + ) diff --git a/vcpkg/ports/qtwebchannel/vcpkg.json b/vcpkg/ports/qtwebchannel/vcpkg.json new file mode 100644 index 0000000..89fc682 --- /dev/null +++ b/vcpkg/ports/qtwebchannel/vcpkg.json @@ -0,0 +1,24 @@ +{ + "name": "qtwebchannel", + "version": "6.9.1", + "description": "Qt WebChannel enables peer-to-peer communication between a server (QML/C++ application) and a client (HTML/JavaScript or QML application).", + "homepage": "https://www.qt.io/", + "license": null, + "dependencies": [ + { + "name": "qtbase", + "default-features": false + } + ], + "features": { + "qml": { + "description": "Build QML imports", + "dependencies": [ + { + "name": "qtdeclarative", + "default-features": false + } + ] + } + } +} |