aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qt5-doc
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/qt5-doc
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/qt5-doc')
-rw-r--r--vcpkg/ports/qt5-doc/portfile.cmake14
-rw-r--r--vcpkg/ports/qt5-doc/vcpkg.json22
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-doc/portfile.cmake b/vcpkg/ports/qt5-doc/portfile.cmake
new file mode 100644
index 0000000..d161872
--- /dev/null
+++ b/vcpkg/ports/qt5-doc/portfile.cmake
@@ -0,0 +1,14 @@
+set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
+set(VCPKG_BUILD_TYPE release)
+
+include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
+qt_submodule_installation()
+
+if(NOT QT_UPDATE_VERSION)
+ vcpkg_build_qmake(TARGETS docs SKIP_MAKEFILES BUILD_LOGNAME docs)
+ qt_fix_makefile_install("${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/")
+ vcpkg_build_qmake(TARGETS install_docs SKIP_MAKEFILES BUILD_LOGNAME install-docs)
+ if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/share/qt5/doc/qtdoc.qch")
+ message(FATAL_ERROR "Failed to install qtdoc.qch.")
+ endif()
+endif()
diff --git a/vcpkg/ports/qt5-doc/vcpkg.json b/vcpkg/ports/qt5-doc/vcpkg.json
new file mode 100644
index 0000000..c59f113
--- /dev/null
+++ b/vcpkg/ports/qt5-doc/vcpkg.json
@@ -0,0 +1,22 @@
+{
+ "name": "qt5-doc",
+ "version": "5.15.18",
+ "description": "The Qt documentation.",
+ "license": null,
+ "supports": "native",
+ "dependencies": [
+ {
+ "name": "qt5-base",
+ "default-features": false
+ },
+ "qt5-declarative",
+ "qt5-quickcontrols2",
+ {
+ "name": "qt5-tools",
+ "default-features": false,
+ "features": [
+ "qdoc"
+ ]
+ }
+ ]
+}