S
S
Sant Ferrand2021-05-11 20:48:13
Qt
Sant Ferrand, 2021-05-11 20:48:13

Why is vcpkg not recognizing a qt project in Visual Studio?

I have Qt installed in Visual Studio (according to this instruction https://api-2d3d-cad.com/c-qt/ )
I need to add a couple of third-party libraries, and I usually used vcpkg for this before.
But in Qt projects in Vs, libraries via vcpkg are not recognized.

I tried to install qt in vcpkg itself, but it gives me an error

Error: Building package icu:x64-windows failed with: BUILD_FAILED


Tried to insert the integration into the project via NuGet
PS D:\src\vcpkg> .\vcpkg integrate project
Created nupkg: D:\src\vcpkg\scripts\buildsystems\vcpkg.D.src.vcpkg.1.0.0.nupkg

With a project open, go to Tools->NuGet Package Manager->Package Manager Console and paste:
    Install-Package vcpkg.D.src.vcpkg -Source "D:/src/vcpkg/scripts/buildsystems"

does not work I've been suffering for a

month now.
Is there a solution to the problem, without the hassle of "magic" dependencies (which I already have nightmares about)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question