Commit 771ed0c4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Fix git builds against Qt 5.14

Summary:
It's not really acceptable to just error on everything since some of the
solutions (like in this case) might not be retrocompatible.

The error was:
kdecoration/src/decoration.cpp:386:37: error: no member named 'posF' in 'QWheelEvent'

Test Plan: Builds now

Reviewers: #frameworks, vkrause

Reviewed By: vkrause

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25671
parent a2851338
......@@ -42,7 +42,7 @@ endif()
set(KDECORATION2_INCLUDEDIR "${KDE_INSTALL_INCLUDEDIR}/KDecoration2")
find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment