Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Weilbach <felix.weilbach@nextcloud.com>2021-09-10 16:59:47 +0300
committerFelix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de>2021-09-17 16:32:26 +0300
commit0074d6c40ab38f5c4cb1318d711ee1b15dbb1bce (patch)
tree650aecf6e52b2081db624fd2a9c5f6306625b84b /CMakeLists.txt
parentfb1b3481d19c860f7ff5a22663822cdf38d636bc (diff)
Disable Qt deprecation warnings
They don't help us during regular development and some of them are not fixable (e.g. QNetworkMangerConfiguration) in the open source variant of Qt5. Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 156c4e747..c73a620d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,9 +77,9 @@ include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
add_definitions(
+ -DQT_DISABLE_DEPRECATED_BEFORE=0x000000
-DQT_USE_QSTRINGBUILDER
-DQT_MESSAGELOGCONTEXT #enable function name and line number in debug output
- -DQT_DEPRECATED_WARNINGS
)
# if we cannot get it from git, directly try .tag (packages)