Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
-
Visual Studio on Windows
Description
NuGet have recently emerged as a "de facto" standard for managing 3rd party dependencies when building C++ applications with Visual Studio on Windows. It's simple to add NuGet dependencies to a C++ project from the Visual Studio IDE. It would be great if QMake could add support for NuGet when generating Visual Studio project files.
Configuration mechanism:
- The NuGet configuration is stored in a simple "packages.config" XML file side-by-side with the vcxproj-file. Also, the vcxproj-file imports some msbuild-targets from the unpacked NuGet packages.
Example patch file showing the effect of adding a NuGet dependency to a project attached.
Proposal:
- Add a mechanism to somehow specify NuGet dependencies with version numbers in the pro-files. Example: "NUGET_DEPS = boost/1.55 zlib/1.2.8"
- Extend qmake to generate Visual Studio project files with NuGet dependencies.
Attachments
Issue Links
- relates to
-
QTBUG-68816 Use Vcpkg to provide third-party libs for Qt builds
- Withdrawn