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

TargetArtifact class needs methods to check if is installable and where it will be installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 1.7.0
    • 1.5.0
    • General
    • None
    • a6680038451246455b49f1d367002be0a940aeac

    Description

      TargetArtifact::filePath is not enough when a project needs to be installed before it's executed.
      I suggest to add the following methods:

      • bool isInstallable() const; // true if the target is installable otherwise false
      • const QString & installPath(const InstallOptions &opts) const; // computes and returns the path where the target will be after installation.

      Attachments

        For Gerrit Dashboard: QBS-906
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            taipan BogDan Vatra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes