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/qtcharts | |
Diffstat (limited to 'vcpkg/ports/qtcharts')
| -rw-r--r-- | vcpkg/ports/qtcharts/portfile.cmake | 17 | ||||
| -rw-r--r-- | vcpkg/ports/qtcharts/vcpkg.json | 37 |
2 files changed, 54 insertions, 0 deletions
diff --git a/vcpkg/ports/qtcharts/portfile.cmake b/vcpkg/ports/qtcharts/portfile.cmake new file mode 100644 index 0000000..0f5be8a --- /dev/null +++ b/vcpkg/ports/qtcharts/portfile.cmake @@ -0,0 +1,17 @@ +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 +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} + CONFIGURE_OPTIONS_RELEASE + CONFIGURE_OPTIONS_DEBUG + ) diff --git a/vcpkg/ports/qtcharts/vcpkg.json b/vcpkg/ports/qtcharts/vcpkg.json new file mode 100644 index 0000000..de9d7ec --- /dev/null +++ b/vcpkg/ports/qtcharts/vcpkg.json @@ -0,0 +1,37 @@ +{ + "name": "qtcharts", + "version": "6.9.1", + "description": "The Qt Charts module provides a set of easy-to-use chart components. It uses the Qt Graphics View Framework to integrate charts with modern user interfaces.", + "homepage": "https://www.qt.io/", + "license": null, + "dependencies": [ + { + "name": "qtbase", + "default-features": false, + "features": [ + "gui", + "widgets" + ] + } + ], + "features": { + "designer": { + "description": "Build Designer plugin", + "dependencies": [ + { + "name": "qttools", + "default-features": false + } + ] + }, + "qml": { + "description": "Build QML imports", + "dependencies": [ + { + "name": "qtdeclarative", + "default-features": false + } + ] + } + } +} |