Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96936

qt features do not re-evaluate correctly on re-configure

    XMLWordPrintable

Details

    • c1d235685 (dev), 65e04162d (dev), 43326b380 (6.6), 010ab170c (6.6), b52817db1 (tqtc/lts-6.5), 26f7096bf (tqtc/lts-6.5)

    Description

      Imagine

      • qt_feature(foo)
      • qt_feature(bar LABEL "Feed kittens" PRIVATE CONDITION QT_FEATURE_foo)

      If user re-configures with FEATURE_foo=OFF and FEATURE_foo=ON, feature bar is anyway OFF , since FEATURE_bar=OFF is in cmake cache despite user never providing it. This leads to not consistent state of features if user re-configures and cmake cache was not deleted -> kittens die.

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              michal Michal Klocek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: