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

CMake is adding un-wanted parameters unconditionally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 6.2, 6.3
    • Build System: CMake
    • None
    • CMake 3.22.0, ninja 1.10.2, MSVC 2022
    • Windows

      I was building QtBase myself from the latest dev branch, after configuring Qt, I opened the generated impl-Release.ninja and found that CMake is adding some un-wanted parameters such as /GR and /EHsc unconditionally. If I recall correctly, there exists some CMake scripts in Qt to remove such parameters from CMAKE_xxx_FLAGS, now it seems it doesn't work as expected?

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

            qtbuildsystem Qt Build System Team
            wangwenx190 赵 宇航
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes