Replies: 2 comments 3 replies
-
Simply use empty overlays for the Qt ports. or use a customized triplet with per port customization and set |
Beta Was this translation helpful? Give feedback.
-
If you want to generally use particular alternative ports in your projects, you should look into registries, not overlay ports. A Note that Qt comes with bundled third-party libraries. You may get into a versioning and ODR issues if vcpkg and Qt provide different builds of libraries. There will also be a different pace on security updates. So be careful with mixing. |
Beta Was this translation helpful? Give feedback.
-
With Qt builds, it's common for people to have installed it via the online installer.
It works perfectly fine to use the online installer Qt in parallel with vcpkg libraries ... except when there is a rival Qt installed in vcpkg.
Then vcpk always prefers the vcpkg version over my manual installation, even when I try to force it by prepending the path to the manual installation to CMAKE_PREFIX_PATH or setting an explicit PATHS argument to find_package:
How can I force vcpkg to ignore its internal package and use my online installation instead?
Beta Was this translation helpful? Give feedback.
All reactions