Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ff865d96 authored by Nikita Sirgienko's avatar Nikita Sirgienko Committed by Albert Astals Cid

Specify Qt version in CMakeLists.txt

Summary:
In `CMakeLists.txt` Qt version don't set, so when I have tried to build `Cantor` with my `Qt 5.5`, I have had compilation errors.
So I suggest to set minimal Qt version (`5.6.0`, I have compiled with this version without errors).

Reviewers: #cantor, aacid

Reviewed By: aacid

Subscribers: #cantor, #kde_edu

Tags: #kde_edu, #cantor

Differential Revision: https://phabricator.kde.org/D11465
parent 46acb9e8
......@@ -15,7 +15,7 @@ set(KF5_MIN_VERSION "5.15.0")
find_package(ECM 5.15.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${cantor_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 CONFIG REQUIRED
find_package(Qt5 5.6.0 CONFIG REQUIRED
Core
Widgets
PrintSupport
......
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