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-svg | |
Diffstat (limited to 'vcpkg/ports/qt5-svg')
| -rw-r--r-- | vcpkg/ports/qt5-svg/portfile.cmake | 5 | ||||
| -rw-r--r-- | vcpkg/ports/qt5-svg/static_svg_link_fix.patch | 24 | ||||
| -rw-r--r-- | vcpkg/ports/qt5-svg/vcpkg.json | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-svg/portfile.cmake b/vcpkg/ports/qt5-svg/portfile.cmake new file mode 100644 index 0000000..b61e8c5 --- /dev/null +++ b/vcpkg/ports/qt5-svg/portfile.cmake @@ -0,0 +1,5 @@ +include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake) +qt_submodule_installation( + PATCHES + "static_svg_link_fix.patch" +) diff --git a/vcpkg/ports/qt5-svg/static_svg_link_fix.patch b/vcpkg/ports/qt5-svg/static_svg_link_fix.patch new file mode 100644 index 0000000..c6d21e8 --- /dev/null +++ b/vcpkg/ports/qt5-svg/static_svg_link_fix.patch @@ -0,0 +1,24 @@ +diff --git a/src/plugins/iconengines/svgiconengine/svgiconengine.pro b/src/plugins/iconengines/svgiconengine/svgiconengine.pro +index bfc739fa8..c0df08194 100644 +--- a/src/plugins/iconengines/svgiconengine/svgiconengine.pro ++++ b/src/plugins/iconengines/svgiconengine/svgiconengine.pro +@@ -8,6 +8,6 @@ OTHER_FILES += qsvgiconengine-nocompress.json + QT += svg core-private gui-private + + PLUGIN_TYPE = iconengines +-PLUGIN_EXTENDS = svg ++PLUGIN_EXTENDS = gui + PLUGIN_CLASS_NAME = QSvgIconPlugin + load(qt_plugin) +diff --git a/src/plugins/imageformats/svg/svg.pro b/src/plugins/imageformats/svg/svg.pro +index 9db6a9ab0..dcfc4b555 100644 +--- a/src/plugins/imageformats/svg/svg.pro ++++ b/src/plugins/imageformats/svg/svg.pro +@@ -6,6 +6,6 @@ SOURCES += main.cpp \ + QT += svg + + PLUGIN_TYPE = imageformats +-PLUGIN_EXTENDS = svg ++PLUGIN_EXTENDS = gui + PLUGIN_CLASS_NAME = QSvgPlugin + load(qt_plugin) diff --git a/vcpkg/ports/qt5-svg/vcpkg.json b/vcpkg/ports/qt5-svg/vcpkg.json new file mode 100644 index 0000000..2787013 --- /dev/null +++ b/vcpkg/ports/qt5-svg/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "qt5-svg", + "version": "5.15.18", + "description": "Qt SVG provides classes for rendering and displaying SVG drawings in widgets and on other paint devices.", + "license": null, + "dependencies": [ + { + "name": "qt5-base", + "default-features": false + } + ] +} |