Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45590

QMake support for NuGet dependencies

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • Build tools: qmake
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              forderud Fredrik Orderud
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes