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

C++11 not enabled for all projects of a Qt build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.2.0
    • 5.1.0 RC1
    • None
    • Mac OS X 10.8.2
    • d0d158f0921fbcc67ac33eedc69684c1b3b389a7

      C++11 is enabled though qt_common.prf, which is included from eg qt_module.prf, qt_tool.prf, etc. But some parts of the Qt build do not load either of these, eg:

      qtlocation/src/3rdparty/poly2tri/poly2tri.pro

      We should build all of Qt with C++11 if enabled by configure, so perhaps the

      contains(QT_CONFIG, c++11): CONFIG += c++11
      

      part should be in qt_build_config.prf?

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

            vestbo Tor Arne Vestbø
            liaqi Liang Qi
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes