From ffd1cd5da5071be195a9208118a4241a3cec8409 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Mon, 12 Feb 2018 17:53:10 +0100
Subject: [PATCH] Fix compilation for Qt >= 5.5.1

---
 src/gui/main.cc.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gui/main.cc.in b/src/gui/main.cc.in
index e30af19..45803e6 100644
--- a/src/gui/main.cc.in
+++ b/src/gui/main.cc.in
@@ -14,7 +14,9 @@
 
 using namespace gepetto::gui;
 
+#if (QT_VERSION <= QT_VERSION_CHECK(5,5,1))
 Q_DECLARE_METATYPE(QItemSelection)
+#endif // USE_QT4
 
 void setupApplication ()
 {
-- 
GitLab