aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-17 15:28:01 +0200
committerGitHub <noreply@github.com>2022-06-17 15:28:01 +0200
commit621dfbf39f9d08be5a24070d9e222e4c3e522728 (patch)
treef2ecc0ee612c79fff81339c353311f5df8a15f00 /CONTRIBUTING.md
parentcc69883ef7219ec42cb7bdb2e3d66256c17a6532 (diff)
parent3581b9d03fe2f169909b3977606abd3b459c0529 (diff)
downloadlibquotient-621dfbf39f9d08be5a24070d9e222e4c3e522728.tar.gz
libquotient-621dfbf39f9d08be5a24070d9e222e4c3e522728.zip
Merge #562: Build with Qt 5.15 and Qt 6
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md9
1 files changed, 1 insertions, 8 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index bc65abf3..7a5ee079 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -154,14 +154,7 @@ just don't bankrupt us with it. Refactoring is welcome.
### Code style and formatting
-As of Quotient 0.7, the C++ standard for newly written code is C++20 with a few
-restrictions, notably:
-* enumerators and slots cannot have `[[attributes]]` because moc from Qt 5.12
- chokes on them - this will be lifted when we move on to Qt 5.13 for the oldest
- supported version, in the meantime use `Q_DECL_DEPRECATED` and similar Qt
- macros - they expand to nothing when the code is passed to moc.
-* explicit lists in lambda captures are preferred over `[=]`; note that C++20
- deprecates implicit `this` capture in `[=]`.
+As of Quotient 0.7, the C++ standard for newly written code is C++20.
The code style is defined by `.clang-format`, and in general, all C++ files
should follow it. Files with minor deviations from the defined style are still