Replies: 1 comment
-
Try removing vcpkg/ports/qt5-base/portfile.cmake Line 120 in 05bcc5f |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to build qt5-base with some of vendor (built in 3rd party libs) dependencies like freetype, harfbuzz and so on.
I modified portfile.cmake, and commented out this piece:
Then I also commented lines like, which search path to specific lib which I don't need and want use built in qt5-base itself:
find_library(FREETYPE_RELEASE NAMES freetype PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
Then in vcpkg.json of qt5-base port I remove corespondent dependencies.
And when I try to install through
vcpkg install qt5-base:x86-windows-static
, I get errors like:And:
Here the link for full error log: https://pastebin.com/1R73YRSK
To build, I use:
OS: Windows 10 Pro x64
IDE: VS 2019
So, how can I build qt5-base with built in libs like: zlib, freetype, harfbuzz-ng, libjpeg, libpng, double-conversion, sqlite, pcre2, without using vcpkg ports?
Beta Was this translation helpful? Give feedback.
All reactions