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

build system: make features available in .pro files

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0 RC1
    • None
    • Build System
    • None
    • 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

              buddenha Oswald Buddenhagen
              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