Skip to content

Commit

Permalink
add /permissive- for Qt 6.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Apr 16, 2022
1 parent de79c42 commit f5ee46f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Module {
cpp.cxxFlags: ["-Wno-deprecated-copy", "-Wno-constant-logical-operand"]
}

Properties {
condition: qbs.toolchain.contains("msvc")
cpp.cxxFlags: ["/permissive-"]
}

priority: 1

property bool enableUnitTests: false
Expand Down

0 comments on commit f5ee46f

Please sign in to comment.