Skip to content

Attempt to fix Win10 crash #639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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