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

Disable omitting frame pointer optimization(Oy-), the compiled version is abnormal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.13, 5.15.7
    • Build System
    • None
    • windows 10 / Visual studio 2019 / 2022
    • Windows

    Description

      Modify file : qt-everywhere-src/qtbase/mkspecs/win32-msvc/qmake.conf 

      like this : 

      #
      # qmake configuration for win32-msvc
      #
      # Written for Microsoft C/C++ Optimizing Compiler (all desktop versions)
      #
      
      include(../common/msvc-desktop.conf)
      QMAKE_CFLAGS           +=
      QMAKE_CXXFLAGS          +=
      
      QMAKE_CFLAGS_RELEASE       += -Oy-              #add
      QMAKE_CXXFLAGS_RELEASE      += -Oy-              #add
      QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO   +=  -Oy-  #add
      QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO +=  -Oy-  #add
      
      load(qt_config)
      
      
       

      The compiled version has an abnormal result:

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            zengjr zeng jinrong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: