Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail Account Wizard
Commits
34ca474c
Commit
34ca474c
authored
Mar 25, 2019
by
Laurent Montel
😁
Browse files
Workaround qt5.13 bug
parent
9ae5a41f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
34ca474c
...
...
@@ -91,7 +91,12 @@ find_package(KF5NewStuff ${KF5_MIN_VERSION} CONFIG REQUIRED)
set
(
SharedMimeInfo_MINIMUM_VERSION
"1.3"
)
find_package
(
SharedMimeInfo
${
SharedMimeInfo_MINIMUM_VERSION
}
REQUIRED
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
# workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 reevaluate it)
if
(
${
Qt5Widgets_VERSION
}
STRGREATER
"5.13"
)
MESSAGE
(
STATUS
"Qt version:
${
Qt5Widgets_VERSION
}
DISABLE compile without deprecated methods. bug QTBUG-74665"
)
else
()
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
endif
()
# allow to disable GHNS support on resource-constrained systems
option
(
ACCOUNTWIZARD_NO_GHNS
"Disable GHNS support in the account wizard"
FALSE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment