diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index a631404..f0b967b 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -340,7 +340,11 @@ void QCMake::interrupt() bool QCMake::interruptCallback() { +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) return this->InterruptFlag.load(); +#else + return this->InterruptFlag.loadRelaxed(); +#endif } void QCMake::progressCallback(const std::string& msg, float percent) |