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

Not possible to call base implementation of configure in a Probe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • some future version
    • 1.2.0
    • General
    • None
    • Linux, Qt 5.1, Qbs 1.2.0 git(dbb39fc1fce3686a5161d68e89e96086fc664556)

    Description

      It's not possible to call the base implementation of
      configure in a Probe Item:

              Probes.PathProbe {
                  id: systemcertPath
                  names: ["/etc/ssl/certs/ca-certificates.crt"
                      ,"/usr/share/ssl/cert.pem"
                      ,"/usr/share/ssl/certs/ca-bundle.crt"
                      ,"/etc/pki/tls/cert.pem"
                      ,"/etc/ssl/ca-bundle.pem"
                      ,"/usr/share/curl/curl-ca-bundle.crt"
                  ]
                  configure:{
                      var result = base.configure();
                      if(!found)
                          throw "No certstore found";
                      else
                          print("Using certstore in: "+systemcertPath.path);
                  }
              }
      

      Gives the error: "ReferenceError: Can't find variable: base"

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            zbenjamin Benjamin Zeller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes