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/qt5-winextras | |
Diffstat (limited to 'vcpkg/ports/qt5-winextras')
| -rw-r--r-- | vcpkg/ports/qt5-winextras/patches/require_quick.patch | 12 | ||||
| -rw-r--r-- | vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch | 12 | ||||
| -rw-r--r-- | vcpkg/ports/qt5-winextras/portfile.cmake | 12 | ||||
| -rw-r--r-- | vcpkg/ports/qt5-winextras/vcpkg.json | 22 |
4 files changed, 58 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-winextras/patches/require_quick.patch b/vcpkg/ports/qt5-winextras/patches/require_quick.patch new file mode 100644 index 0000000..471fa5a --- /dev/null +++ b/vcpkg/ports/qt5-winextras/patches/require_quick.patch @@ -0,0 +1,12 @@ +diff --git a/src/src.pro b/src/src.pro +index fceeb21..8a242d0 100644 +--- a/src/src.pro ++++ b/src/src.pro +@@ -2,6 +2,7 @@ win32 { + TEMPLATE = subdirs + CONFIG += ordered + SUBDIRS += winextras ++ SUBDIRS += imports + } else { + # fake project for creating the documentation + TEMPLATE = aux diff --git a/vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch b/vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch new file mode 100644 index 0000000..98f652d --- /dev/null +++ b/vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch @@ -0,0 +1,12 @@ +diff --git a/src/src.pro b/src/src.pro +index fceeb21..7e4835b 100644 +--- a/src/src.pro ++++ b/src/src.pro +@@ -2,7 +2,6 @@ win32 { + TEMPLATE = subdirs + CONFIG += ordered + SUBDIRS += winextras +- qtHaveModule(quick): SUBDIRS += imports + } else { + # fake project for creating the documentation + TEMPLATE = aux diff --git a/vcpkg/ports/qt5-winextras/portfile.cmake b/vcpkg/ports/qt5-winextras/portfile.cmake new file mode 100644 index 0000000..3f9ff8c --- /dev/null +++ b/vcpkg/ports/qt5-winextras/portfile.cmake @@ -0,0 +1,12 @@ +include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake") + +vcpkg_list(SET _patches + "patches/unrequire_quick.patch" +) +if("declarative" IN_LIST FEATURES) + list(APPEND _patches + "patches/require_quick.patch" + ) +endif() + +qt_submodule_installation(PATCHES ${_patches}) diff --git a/vcpkg/ports/qt5-winextras/vcpkg.json b/vcpkg/ports/qt5-winextras/vcpkg.json new file mode 100644 index 0000000..2bd57f4 --- /dev/null +++ b/vcpkg/ports/qt5-winextras/vcpkg.json @@ -0,0 +1,22 @@ +{ + "name": "qt5-winextras", + "version": "5.15.18", + "description": "Qt Windows Extras provide classes and functions that enable you to use miscellaneous Windows-specific functions. For example, you can convert Qt objects to Windows object handles and manipulate DWM glass frames.", + "license": null, + "supports": "windows", + "dependencies": [ + "atlmfc", + { + "name": "qt5-base", + "default-features": false + } + ], + "features": { + "declarative": { + "description": "Build Qt Quick imports", + "dependencies": [ + "qt5-declarative" + ] + } + } +} |