Replies: 2 comments 2 replies
-
|
If you use non-vcpkg binaries for Qt, shouldn't you also use non-vcpkg binaries for Qt's dependencies? If you resolve the current build-time issue, you still have to ensure that the binaries interact well at runtime.
|
Beta Was this translation helpful? Give feedback.
-
|
I would suggest that you seek a solution in your project. I don't know how Qt interacts with CMAKE_MODULE_PATH. If Qt config prepends the location of Qt's
I didn't study the details for ffmpeg vs. Qt. But some vcpkg ports use a similar pattern via |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. In the project I'm working on we use Qt we install via official installer and some other libraries we install via vcpkg+cmake.
At this moment I'm working on updating Qt version from 6.8.0 to 6.10.1 and I faced a problem when my project doesn't build for iOS. The issue is that Qt provides own FindFFmpeg.cmake and it cannot properly find FFmpeg libraries. It fails in particular because it cannot find
libavutil.xcframework:The issue is that Qt carries ffmpeg itself and they install xcframework files. Here is the change: qt/qtmultimedia@7c44857
Not sure if this is correct but it seems to me it is not (considering that this is module cmake package and cmake doesn't provide a fallback solution for them).
Now what options I have to resolve the issue:
My question to you. Why vcpkg looks for its own ffmpeg installation as a last resort? In particular why here:
vcpkg/ports/ffmpeg/vcpkg-cmake-wrapper.cmake
Line 2 in 74e6536
vcokg_installed dir is appended and not prepended?
To me as a vcpkg user it would be more expected if vcpkg would look for its own installed packages at first. And then fallback to other options.
Beta Was this translation helpful? Give feedback.
All reactions