Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1089

Debug Information/Library simultaneous deployment

    XMLWordPrintable

Details

    • 2bc9373d7b4bf54ecac4c9ea63453d549b2a0dad

    Description

      It is impossible to use both "debuginfo" and "dynamiclibrary" on a Rule input.

      Example :

          Rule {
              inputs: ['dynamiclibrary','debuginfo']
              Artifact {
                  filePath: product.installDir+"/"+input.fileName
              }
              prepare: {
                  var cmd = new JavaScriptCommand();
                  cmd.sourceFile = input.filePath
                  cmd.targetFile = output.filePath
                  cmd.description = "Copying '" + cmd.sourceFile + "' to '" + cmd.targetFile + "'.";
                  cmd.highlight = "codegen";
                  cmd.sourceCode = function() {
                      File.copy(sourceFile, targetFile);
                  }
                  return(cmd)
              }
          }
      

      Generates the following error :

      :-1: erreur : Conflicting rules for producing D:/path/build-toolsplugin-Release/qtc_Qt_5_7_0_b48a8df6-release/project.qtc-Qt-5-7-0-b48a8df6.88d1d133/project.pdb [debuginfo]
      while trying to apply: C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:198:18 [obj] -> [debuginfo]
      was already defined in: C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:234:18 [obj] -> [debuginfo]

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            djicquel Dorian Jicquel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes