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

qdoc generated output test doesn't handle multi-config generators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0.0 Beta5
    • Build System: CMake

    Description

      When configuring with CMake and using a multi-config generator (Ninja Multi-Config in my case), CMake's generation phase fails with error messages like the following:

      CMake Error in qttools/tests/auto/qdoc/generatedoutput/CMakeLists.txt:
        Evaluation file to be written multiple times with different content.  This
        is generally caused by the content evaluating the configuration type,
        language, or location of object files:
      
         /Users/craig/Projects/build/qt5/qttools/tests/auto/qdoc/generatedoutput/qdocincludepaths.inc
      

      The framework header search paths contain a config-specific path, which makes the contents of the generated qdocincludepaths.inc file config-specific. This file needs to be changed to a set of config-specific files and the generated tst_generatedoutput.cpp file also needs to use the right one for the active build config instead of assuming a single file for all configs.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              crscott Craig Scott
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes