diff --git a/CMakeLists.txt b/CMakeLists.txt index bdecbafc0bbd..fec50143f06b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ option(QT6 "Build with Qt6" OFF) if(APPLE) if(QT6) # Minimum macOS version supported by Qt 6 - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE) + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE) else() # Minimum macOS version supported by Qt 5.12 set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE) diff --git a/src/util/db/sqlstringformatter.cpp b/src/util/db/sqlstringformatter.cpp index 2d55190d8a44..56c31dabb7d0 100644 --- a/src/util/db/sqlstringformatter.cpp +++ b/src/util/db/sqlstringformatter.cpp @@ -14,7 +14,7 @@ QString SqlStringFormatter::format( return value; // unformatted } #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) - QSqlField stringField(QString(), QMetaType(QMetaType::QString)); + QSqlField stringField{QString(), QMetaType(QMetaType::QString)}; #else QSqlField stringField(QString(), QVariant::String); #endif