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

configure adds -DBUILD_*=ON entries to config.opt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.10
    • Build System: CMake
    • None
    • Linux/X11

    Description

      I ran

      ~/work/Qt-dev/configure -developer-build -no-optimize-debug \
          -submodules qtbase,qtdeclarative \
          -- -DQT_BUILD_TESTS_BY_DEFAULT=OFF -Wno-dev --log-level=NOTICE
      

      (well, actually, without the backslash-linebreaks, added here to save a scroll-bar).
      What landed in config.opt, however, was

      -developer-build
      -no-optimize-debug
      -submodules
      qtbase,qtdeclarative
      --
      -DBUILD_qtbase=ON
      -DBUILD_qtdeclarative=ON
      -DQT_BUILD_TESTS_BY_DEFAULT=OFF
      -Wno-dev
      --log-level=NOTICE
      

      The two -DBUILD_*=ON lines were not present in the command-line I ran; they are presumably artefacts of the implementation of -submodules, but this file should surely contain a faithful record if what was actually on the command-line.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            Eddy Edward Welbourne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes