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

unsatisfied requires() should cause QT to be ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Windows
    • Commits:
      ab4cc83d5249ea0baed66ef86bff3c29c36e8c7d

      Description

      Adding requires(NonExistingModule) to a TEMPLATE = subdirs project skips the entire project when NonExistingModule is not available, as expected:

      "Some of the required modules (NonExistingModule) are not available."
      "Skipped."

      Adding requires(NonExistingModule) to a regular project produces

      Project ERROR: Unknown module(s) in QT: NonExistingModule

        Attachments

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

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            koen.poppe koen.poppe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes