Skip to content

Commit

Permalink
Attempt to fix Win10 crash (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 authored Sep 20, 2024
1 parent dadc014 commit 4c79344
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Config.pri
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ CONFIG -= debug_and_release debug_and_release_target
# Controls if we want to define our own regex engine using QRegularExpression
DEFINES += SCI_OWNREGEX

# Build ADS package as static
DEFINES += ADS_STATIC

# https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio
msvc {
DEFINES += _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
}

msvc:QMAKE_CXXFLAGS += /guard:cf
msvc:QMAKE_LFLAGS += /guard:cf

0 comments on commit 4c79344

Please sign in to comment.