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

qmake does not warn when incorrect scope contructs are used

    XMLWordPrintable

Details

    Description

      Community contribution on this issue is invited. For the guidelines on code contribution to Qt see
      http://qt.gitorious.org/qt/pages/QtContributionGuidelines

      Test case:
      Given the testcase.pro shown below
      running
      make "CONFIG+=test1"
      will lead to the printing of
      test1 test matched
      however running
      make "CONFIG+=test2"
      will NOT lead to the printing of
      test2 test matched

      Ideally qmake would warn for incorrect useage of scopes.

      testcase.pro
      =========snip =========
      test1 {
      message(test1 test matched)
      } else test2 {
      message(test2 test matched)
      }
      =======================

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            isdale Keith Isdale (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes