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

Reg->6.6/MSVC/WIndows: Cannot build with debug due to compiler flag clash in syncqt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.5.3, 6.7.0 FF
    • 6.6.0 Beta4
    • Build System: CMake
    • None
    • Windows
    • 49ce71179 (dev), ec77e5305 (6.5)

      When building qtbase with

       C:\Qt\Tools\CMake_64\bin\cmake.exe -DCMAKE_INSTALL_PREFIX=c:\dev\qt-66\install-qt-66
            -GNinja -DQT_BUILD_TESTS=OFF -DQT_BUILD_EXAMPLES=OFF 
           -DCMAKE_BUILD_TYPE=Debug -Hc:\dev\qt-66\qt-66\qtbase
      

      I get

      \tools\syncqt\CMakeFiles\syncqt.dir\main.cpp.obj /Fdsrc\tools\syncqt\CMakeFiles\syncqt.dir\ 
           /FS -c C:\dev\qt-66\qt-66\qtbase\src\tools\syncqt\main.cpp
      cl : Command line error D8016 : '/RTC1' and '/O2' command-line options are incompatible
      
      Microsoft (R) C/C++ Optimizing Compiler Version 19.36.32535 for x64
      

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

            semlanik Alexey Edelev
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes