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

QMake support for NuGet dependencies

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Build tools: qmake
    • None
    • Visual Studio on Windows

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes