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

build system: make features available in .pro files

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.2.0 RC1
    • None
    • Build System
    • None
    • 3b6b615334713cbfeb43409ff104244b55f4ce1f

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes