From 10eb64de812346958e6a34dca3e7165207b71b63 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Tue, 3 Sep 2019 20:24:27 +0200
Subject: [PATCH] Bump required Qt version to 5.8 to support Q_NAMESPACE

---
 .travis.yml | 4 ++--
 README.md   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 305bafc86..078611a0a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,8 +42,8 @@ matrix:
           env:
               - CXX_COMPILER=g++-8
               - C_COMPILER=gcc-8
-              - QT_VERSION=571
-              - QT_PKG=57
+              - QT_VERSION=58
+              - QT_PKG=58
               - USE_BUNDLED_BOOST=1
               - USE_BUNDLED_CMARK=1
               - USE_BUNDLED_JSON=1
diff --git a/README.md b/README.md
index 4dd4c1212..efa37e89e 100644
--- a/README.md
+++ b/README.md
@@ -89,8 +89,9 @@ sudo port install nheko
 
 ### Build Requirements
 
-- Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with
-  Freetype, which is essential to properly support emoji.
+- Qt5 (5.8 or greater). Qt 5.7 adds support for color font rendering with
+  Freetype, which is essential to properly support emoji, 5.8 adds some features
+  to make interopability with Qml easier.
 - CMake 3.1 or greater.
 - [mtxclient](https://github.com/Nheko-Reborn/mtxclient)
 - [LMDB](https://symas.com/lightning-memory-mapped-database/)
-- 
GitLab