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

build system: make features available in .pro files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.2.0 RC1
    • Component/s: Build System
    • Labels:
      None
    • Technical Risk:
      Normal
    • Commits:
      3b6b615334713cbfeb43409ff104244b55f4ce1f

      Description

      currently, the features defined in qfeatures.h are only available for checking in the .h/.cpp files. It would be convenient if they were also available when parsing the .pro files, so one could write something like

      !contains(DEFINES, QT_NO_X): SOURCES += x.cpp
      

      instead of introducing #ifdef's in the headers / sources.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              peter-har Peter Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes