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

Improve module version check

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 2.6.0
    • None
    • General
    • None
    • 7dae1ed0fb98f37acaf7c8bb905b43e47c62aad4

      For instance, if I have Qt5 and Qt6 in the search path (in this order) and my product has a dependency on Qt >= 6, then Qt5 will be loaded and trigger an error in the end.
      Instead, we should handle the version requirement like the priority, where we evaluate all candidates and choose the best one.
      Note that this won't work in cases where the version is determined by a Probe (e.g. cpp), so we should not make the version a hard requirement at the point of loading, but only use it as a tie breaker to prevent cases like the Qt one, where we clearly can do better.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes