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

Strange behaviour of PkgConfigProbe in Product

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.4.2
    • 1.3.3, 1.4.1
    • General
    • None
    • Ubuntu 15.04, Qt 5.4/5.5, QBS 1.3.3 and 1.4.1 from QtCreator

    Description

      Product with PkgConfigProbe is not working as expected.
      If I create Product with PkgConfigProbe and connect probeId.found with "condition" property of Product, this would happen:
      1.) probeId.found == false, so condition is false and Product is disabled by qbs during resolve.
      2.) After that PkgConfigProbe reports that library is found and at that moment probeId.found == true
      3.) Nevertheless, condition is unaffected, so Product would be disabled during build.

      Simple example: https://gist.github.com/nico-izo/1593e0a0d6d938dd2599
      I asked one user with the same QBS 1.4.1, but he cannot confirm that strange behaviour (sample_output2.txt)

      Latest affected version: qbs 1.4.1 from qtcreator

      Version from master branch is unaffected and working as expected.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            nico-izo Nicolay Izoderov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes